Profile Comparison between http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation vs http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-comorbidities-parent

Left:US Core Sexual Orientation Observation Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation)
Right:Comorbidities Parent Abstract Profile (http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-comorbidities-parent)

Messages

ErrorStructureDefinition.urlValues for url differ: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation' vs 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-comorbidities-parent'
ErrorStructureDefinition.versionValues for version differ: '4.1.0' vs '2.0.0'
InformationStructureDefinition.nameValues for name differ: 'USCoreSexualOrientationObservationProfile' vs 'ComorbiditiesParent'
InformationStructureDefinition.titleValues for title differ: 'US Core Sexual Orientation Observation Profile' vs 'Comorbidities Parent Abstract Profile'
InformationStructureDefinition.dateValues for date differ: '2022-01-15' vs '2022-01-18T03:17:40+00:00'
InformationStructureDefinition.publisherValues for publisher differ: 'HL7 International - Cross-Group Projects' vs 'HL7 International Clinical Interoperability Council'
WarningStructureDefinition.abstractValues for abstract differ: 'false' vs 'true'
WarningObservationElements differ in definition: 'This profile is created to support recording Sexual Orientation per the ONC definition in USCDI v2.' vs 'Measurements and simple assertions made about a patient, device or other subject.'
WarningObservation.statusElements differ in definition for mustSupport: 'true' vs 'false'
WarningObservation.codeElements differ in short: 'Sexual Orientation' vs 'Type of observation (code / type)'
WarningObservation.codeElements differ in definition for mustSupport: 'true' vs 'false'
WarningObservation.subjectElements differ in definition: 'The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.' vs 'The patient whose comorbidities are recorded.'
WarningObservation.subjectElements differ in definition for mustSupport: 'true' vs 'false'
InformationObservation.subjectElement minimum cardinalities differ: '1' vs '0'
WarningObservation.focusElements differ in short: 'What the observation is about, when it is not about the subject of record' vs 'The Index Condition'
WarningObservation.focusElements differ in definition: 'The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.' vs 'The comorbid conditions may be defined with respect to a specific 'index' condition. For example, the US Centers for Disease Control (CDC) has a list of comorbid conditions important to COVID-19. In this case, the focus would be COVID-19 and the comorbid condition categories would be those called out by CDC, namely obesity, renal disease, respiratory disease, etc.'
WarningObservation.effective[x]Elements differ in definition: 'This records the time during which the patient had identified their emotional, romantic, sexual, or affectional attraction to another person.' vs 'The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the 'physiologically relevant time'. This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself.'
WarningObservation.effective[x]Elements differ in definition for mustSupport: 'true' vs 'false'
WarningObservation.bodySiteElements differ in short: 'Observed body part' vs 'Not used in this profile'
WarningObservation.bodySiteElements differ in definition: 'Indicates the site on the subject's body where the observation was made (i.e. the target site).' vs 'Not used in this profile'
WarningObservation.specimenElements differ in short: 'Specimen used for this observation' vs 'Not used in this profile'
WarningObservation.specimenElements differ in definition: 'The specimen that was used when this observation was made.' vs 'Not used in this profile'
WarningObservation.deviceElements differ in short: '(Measurement) Device' vs 'Not used in this profile'
WarningObservation.deviceElements differ in definition: 'The device used to generate the observation data.' vs 'Not used in this profile'
WarningObservation.componentElements differ in definition: 'Some observations have multiple component observations. These component observations are expressed as separate code value pairs that share the same attributes. Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.' vs 'Component representing the presence or absence of the named comorbidity, with optional condition code(s) or reference to the actual condition(s).'
WarningObservation.component.extensionElements differ in short: 'Additional content defined by implementations' vs 'Extensions to capture specific conditions that fall into the given category.'
WarningObservation.component.extensionElements differ in definition: 'May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.' vs 'If more detail about the comorbid condition is desired, elements in this extension can be populated with a specific condition code or a reference to a Condition resource. The extension elements SHALL be used only if the comorbidity category is present.'
WarningObservation.component.modifierExtensionElements differ in short: 'Extensions that cannot be ignored even if unrecognized' vs 'Extension'
WarningObservation.component.modifierExtensionElements differ in definition: 'May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).' vs 'An Extension'
InformationObservation.component.modifierExtensionElement maximum cardinalities differ: '2147483647' vs '0'
WarningObservation.component.codeElements differ in short: 'Type of component observation (code / type)' vs 'Code representing the comorbidity category'
WarningObservation.component.codeElements differ in definition: 'Describes what was observed. Sometimes this is called the observation 'code'.' vs 'The code identifying category of comorbidity, for example, congestive heart failure or severe renal disease. The category typically represents a set of specific diagnosis codes.'

Metadata

NameValueComments
.abstractfalsetrue
  • Values Differ
.baseDefinitionhttp://hl7.org/fhir/StructureDefinition/Observation
    .copyrightUsed by permission of HL7 International, all rights reserved Creative Commons License
    • Removed the item 'Used by permission of HL7 International, all rights reserved Creative Commons License'
    .date2022-01-152022-01-18T03:17:40+00:00
    • Values Differ
    .descriptionDefines constraints and extensions on the Observation resource for the minimal set of data to query and retrieve a Patient's Sexual Orientation.General structure for capturing comorbid conditions with respect to a primary ('index') condition. The specific set of comorbidities of interest in a given context are defined by slicing the components array. The same general approach can be applied to any comorbidity category checklist.
    • Values Differ
    .experimentalfalse
    • Removed the item 'false'
    .fhirVersion4.0.1
      .jurisdiction
        ..jurisdiction[0]urn:iso:std:iso:3166#US
          .kindresource
            .nameUSCoreSexualOrientationObservationProfileComorbiditiesParent
            • Values Differ
            .publisherHL7 International - Cross-Group ProjectsHL7 International Clinical Interoperability Council
            • Values Differ
            .purpose
              .statusactive
                .titleUS Core Sexual Orientation Observation ProfileComorbidities Parent Abstract Profile
                • Values Differ
                .typeObservation
                  .urlhttp://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientationhttp://hl7.org/fhir/us/mcode/StructureDefinition/mcode-comorbidities-parent
                  • Values Differ
                  .version4.1.02.0.0
                  • Values Differ

                  Structure

                  NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.L TypeL Description & ConstraintsCommentsdoco
                  .. Observation I0..*ObservationMeasurements and simple assertions
                  us-core-2: If there is no component or hasMember element then either a value[x] or a data absent reason must be present
                  I0..*ObservationThis is an abstract profile
                  Measurements and simple assertions
                  • Elements differ in definition: 'This profile is created to support recording Sexual Orientation per the ONC definition in USCDI v2.' vs 'Measurements and simple assertions made about a patient, device or other subject.'
                  ... id Σ0..1stringLogical id of this artifactΣ0..1stringLogical id of this artifact
                    ... meta Σ0..1MetaMetadata about the resourceΣ0..1MetaMetadata about the resource
                      ... implicitRules ?!Σ0..1uriA set of rules under which this content was created?!Σ0..1uriA set of rules under which this content was created
                        ... language 0..1codeLanguage of the resource content
                        Binding: CommonLanguages (preferred)
                        Max Binding: AllLanguages: A human language.

                        0..1codeLanguage of the resource content
                        Binding: CommonLanguages (preferred)
                        Max Binding: AllLanguages: A human language.

                          ... text 0..1NarrativeText summary of the resource, for human interpretation0..1NarrativeText summary of the resource, for human interpretation
                            ... contained 0..*ResourceContained, inline Resources
                            0..*ResourceContained, inline Resources
                              ... extension 0..*ExtensionAdditional content defined by implementations
                              0..*ExtensionAdditional content defined by implementations
                                ... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
                                ?!0..*ExtensionExtensions that cannot be ignored
                                  ... identifier Σ0..*IdentifierBusiness Identifier for observation
                                  Σ0..*IdentifierBusiness Identifier for observation
                                    ... basedOn Σ0..*Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest)Fulfills plan, proposal or order
                                    Σ0..*Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest)Fulfills plan, proposal or order
                                      ... partOf Σ0..*Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Immunization | ImagingStudy)Part of referenced event
                                      Σ0..*Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Immunization | ImagingStudy)Part of referenced event
                                        ... status ?!SΣ1..1coderegistered | preliminary | final | amended +
                                        Binding: ObservationStatus (required)
                                        ?!Σ1..1coderegistered | preliminary | final | amended +
                                        Binding: ObservationStatus (required): Codes providing the status of an observation.

                                        • Elements differ in definition for mustSupport: 'true' vs 'false'
                                        ... category 0..*CodeableConceptClassification of type of observation
                                        Binding: ObservationCategoryCodes (preferred): Codes for high level observation categories.


                                        0..*CodeableConceptClassification of type of observation
                                        Binding: ObservationCategoryCodes (preferred): Codes for high level observation categories.


                                          ... code SΣ1..1CodeableConceptSexual Orientation
                                          Binding: LOINCCodes (example): Codes identifying names of simple observations.


                                          Required Pattern: {"coding":[{"system":"http://loinc.org","code":"76690-7"}]}
                                          Σ1..1CodeableConceptType of observation (code / type)
                                          Binding: LOINCCodes (example): Codes identifying names of simple observations.

                                          • Elements differ in short: 'Sexual Orientation' vs 'Type of observation (code / type)'
                                          • Elements differ in definition for mustSupport: 'true' vs 'false'
                                          ... subject SΣ1..1Reference(US Core Patient Profile)Who and/or what the observation is aboutΣ0..1Reference(Cancer Patient Profile)Who and/or what the observation is about
                                          • Elements differ in definition: 'The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.' vs 'The patient whose comorbidities are recorded.'
                                          • Elements differ in definition for mustSupport: 'true' vs 'false'
                                          • Element minimum cardinalities differ: '1' vs '0'
                                          ... focus Σ0..*Reference(Resource)What the observation is about, when it is not about the subject of record
                                          Σ0..*Reference(Condition)The Index Condition
                                          • Elements differ in short: 'What the observation is about, when it is not about the subject of record' vs 'The Index Condition'
                                          • Elements differ in definition: 'The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.' vs 'The comorbid conditions may be defined with respect to a specific 'index' condition. For example, the US Centers for Disease Control (CDC) has a list of comorbid conditions important to COVID-19. In this case, the focus would be COVID-19 and the comorbid condition categories would be those called out by CDC, namely obesity, renal disease, respiratory disease, etc.'
                                          ... encounter Σ0..1Reference(Encounter)Healthcare event during which this observation is madeΣ0..1Reference(Encounter)Healthcare event during which this observation is made
                                            ... effective[x] SΣI0..1dateTime S, Period, Timing, instantClinically relevant time/time-period for observation
                                            us-core-1: Datetime must be at least to day.
                                            Σ0..1dateTime, Period, Timing, instantClinically relevant time/time-period for observation
                                            • Elements differ in definition: 'This records the time during which the patient had identified their emotional, romantic, sexual, or affectional attraction to another person.' vs 'The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the "physiologically relevant time". This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself.'
                                            • Elements differ in definition for mustSupport: 'true' vs 'false'
                                            ... issued Σ0..1instantDate/Time this version was made availableΣ0..1instantDate/Time this version was made available
                                              ... performer Σ0..*Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | RelatedPerson)Who is responsible for the observation
                                              Σ0..*Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | RelatedPerson)Who is responsible for the observation
                                                ... Slices for value[x] ΣI0..1CodeableConceptActual result
                                                Slice: Unordered, Closed by type:$this
                                                ΣI0..1Quantity, CodeableConcept, string, boolean, integer, Range, Ratio, SampledData, time, dateTime, PeriodActual result
                                                  ... dataAbsentReason I0..1CodeableConceptWhy the result is missing
                                                  Binding: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing.

                                                  I0..1CodeableConceptWhy the result is missing
                                                  Binding: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing.

                                                    ... interpretation 0..*CodeableConceptHigh, low, normal, etc.
                                                    Binding: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations.


                                                    0..*CodeableConceptHigh, low, normal, etc.
                                                    Binding: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations.


                                                      ... note 0..*AnnotationComments about the observation
                                                      0..*AnnotationComments about the observation
                                                        ... bodySite 0..1CodeableConceptObserved body part
                                                        Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.

                                                        0..1CodeableConceptNot used in this profile
                                                        Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.

                                                        • Elements differ in short: 'Observed body part' vs 'Not used in this profile'
                                                        • Elements differ in definition: 'Indicates the site on the subject's body where the observation was made (i.e. the target site).' vs 'Not used in this profile'
                                                        ... method 0..1CodeableConceptHow it was done
                                                        Binding: ObservationMethods (example): Methods for simple observations.

                                                        0..1CodeableConceptHow it was done
                                                        Binding: ObservationMethods (example): Methods for simple observations.

                                                          ... specimen 0..1Reference(Specimen)Specimen used for this observation0..1Reference(Specimen)Not used in this profile
                                                          • Elements differ in short: 'Specimen used for this observation' vs 'Not used in this profile'
                                                          • Elements differ in definition: 'The specimen that was used when this observation was made.' vs 'Not used in this profile'
                                                          ... device 0..1Reference(Device | DeviceMetric)(Measurement) Device0..1Reference(Device | DeviceMetric)Not used in this profile
                                                          • Elements differ in short: '(Measurement) Device' vs 'Not used in this profile'
                                                          • Elements differ in definition: 'The device used to generate the observation data.' vs 'Not used in this profile'
                                                          ... referenceRange I0..*BackboneElementProvides guide for interpretation
                                                          obs-3: Must have at least a low or a high or text
                                                          I0..*BackboneElementProvides guide for interpretation
                                                          obs-3: Must have at least a low or a high or text
                                                            .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                              .... extension 0..*ExtensionAdditional content defined by implementations
                                                              0..*ExtensionAdditional content defined by implementations
                                                                .... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                  .... low I0..1SimpleQuantityLow Range, if relevantI0..1SimpleQuantityLow Range, if relevant
                                                                    .... high I0..1SimpleQuantityHigh Range, if relevantI0..1SimpleQuantityHigh Range, if relevant
                                                                      .... type 0..1CodeableConceptReference range qualifier
                                                                      Binding: ObservationReferenceRangeMeaningCodes (preferred): Code for the meaning of a reference range.

                                                                      0..1CodeableConceptReference range qualifier
                                                                      Binding: ObservationReferenceRangeMeaningCodes (preferred): Code for the meaning of a reference range.

                                                                        .... appliesTo 0..*CodeableConceptReference range population
                                                                        Binding: ObservationReferenceRangeAppliesToCodes (example): Codes identifying the population the reference range applies to.


                                                                        0..*CodeableConceptReference range population
                                                                        Binding: ObservationReferenceRangeAppliesToCodes (example): Codes identifying the population the reference range applies to.


                                                                          .... age 0..1RangeApplicable age range, if relevant0..1RangeApplicable age range, if relevant
                                                                            .... text 0..1stringText based reference range in an observation0..1stringText based reference range in an observation
                                                                              ... hasMember Σ0..*Reference(Observation | QuestionnaireResponse | MolecularSequence)Related resource that belongs to the Observation group
                                                                              Σ0..*Reference(Observation | QuestionnaireResponse | MolecularSequence)Related resource that belongs to the Observation group
                                                                                ... derivedFrom Σ0..*Reference(DocumentReference | ImagingStudy | Media | QuestionnaireResponse | Observation | MolecularSequence)Related measurements the observation is made from
                                                                                Σ0..*Reference(DocumentReference | ImagingStudy | Media | QuestionnaireResponse | Observation | MolecularSequence)Related measurements the observation is made from
                                                                                  ... component Σ0..*BackboneElementComponent results
                                                                                  Σ0..*BackboneElementComponent results
                                                                                  • Elements differ in definition: 'Some observations have multiple component observations. These component observations are expressed as separate code value pairs that share the same attributes. Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.' vs 'Component representing the presence or absence of the named comorbidity, with optional condition code(s) or reference to the actual condition(s).'
                                                                                  .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                    .... extension 0..*ExtensionAdditional content defined by implementations
                                                                                    0..*ExtensionExtensions to capture specific conditions that fall into the given category.
                                                                                    Slice: Unordered, Open by value:url
                                                                                    • Elements differ in short: 'Additional content defined by implementations' vs 'Extensions to capture specific conditions that fall into the given category.'
                                                                                    • Elements differ in definition: 'May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.' vs 'If more detail about the comorbid condition is desired, elements in this extension can be populated with a specific condition code or a reference to a Condition resource. The extension elements SHALL be used only if the comorbidity category is present.'
                                                                                    .... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                    ?!Σ0..0
                                                                                    • Elements differ in short: 'Extensions that cannot be ignored even if unrecognized' vs 'Extension'
                                                                                    • Elements differ in definition: 'May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).' vs 'An Extension'
                                                                                    • Element maximum cardinalities differ: '2147483647' vs '0'
                                                                                    .... code Σ1..1CodeableConceptType of component observation (code / type)
                                                                                    Binding: LOINCCodes (example): Codes identifying names of simple observations.

                                                                                    Σ1..1CodeableConceptCode representing the comorbidity category
                                                                                    Binding: LOINCCodes (example): Codes identifying names of simple observations.

                                                                                    • Elements differ in short: 'Type of component observation (code / type)' vs 'Code representing the comorbidity category'
                                                                                    • Elements differ in definition: 'Describes what was observed. Sometimes this is called the observation "code".' vs 'The code identifying category of comorbidity, for example, congestive heart failure or severe renal disease. The category typically represents a set of specific diagnosis codes.'
                                                                                    .... value[x] Σ0..1Quantity, CodeableConcept, string, boolean, integer, Range, Ratio, SampledData, time, dateTime, PeriodActual component resultΣ0..1CodeableConceptActual component result
                                                                                      .... dataAbsentReason I0..1CodeableConceptWhy the component result is missing
                                                                                      Binding: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing.

                                                                                      I0..1CodeableConceptWhy the component result is missing
                                                                                      Binding: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing.

                                                                                        .... interpretation 0..*CodeableConceptHigh, low, normal, etc.
                                                                                        Binding: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations.


                                                                                        0..*CodeableConceptHigh, low, normal, etc.
                                                                                        Binding: ObservationInterpretationCodes (extensible): Codes identifying interpretations of observations.


                                                                                          .... referenceRange 0..*See referenceRange (Observation)Provides guide for interpretation of component result
                                                                                          0..*See referenceRange (Observation)Provides guide for interpretation of component result

                                                                                            doco Documentation for this format