Profile Comparison between http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation vs http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-ObservationRecordedSexGender

Left:US Core Observation Sexual Orientation Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation)
Right:SDOHCC Observation Recorded Sex Gender (http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-ObservationRecordedSexGender)

Messages

ErrorStructureDefinition.urlValues for url differ: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation' vs 'http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-ObservationRecordedSexGender'
ErrorStructureDefinition.versionValues for version differ: '7.0.0' vs '2.2.0'
InformationStructureDefinition.nameValues for name differ: 'USCoreObservationSexualOrientationProfile' vs 'SDOHCCObservationRecordedSexGender'
InformationStructureDefinition.titleValues for title differ: 'US Core Observation Sexual Orientation Profile' vs 'SDOHCC Observation Recorded Sex Gender'
InformationStructureDefinition.dateValues for date differ: '2023-10-17' vs '2024-08-27T17:19:22+00:00'
InformationStructureDefinition.publisherValues for publisher differ: 'HL7 International / Cross-Group Projects' vs 'HL7 International / Patient Care'
ErrorStructureDefinition.baseDefinitionValues for baseDefinition differ: 'http://hl7.org/fhir/StructureDefinition/Observation' vs 'http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-ObservationPersonalCharacteristic'
InformationStructureDefinition.shortValues for short differ: 'Measurements and simple assertions' vs 'Observation about an individual's recorded sex or gender'
InformationStructureDefinition.definitionValues for definition differ: 'Measurements and simple assertions made about a patient, device or other subject.' vs 'For observations about 'recorded sex and gender' which, in the past, have often been used interchangeably. In this context, sex is a biological construct and pertains to a person’s genetics, hormones, and anatomy.'
InformationStructureDefinition.commentValues for comment differ: 'Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc. Other resources are used to provide context for observations such as laboratory reports, etc.' vs 'For observations about the recorded sex and gender of an individual.'
InformationStructureDefinition.shortValues for short differ: 'Additional content defined by implementations' vs 'Extension'
InformationStructureDefinition.definitionValues for definition differ: 'May be used to represent additional information that is not part of the basic definition of the resource. 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 'An Extension'
InformationStructureDefinition.shortValues for short differ: 'registered | preliminary | final | amended +' vs 'final | corrected | entered-in-error | unknown'
InformationStructureDefinition.definitionValues for definition differ: 'The status of the result value.' vs 'The status of the observation value.'
InformationStructureDefinition.requirementsValues for requirements differ: 'Need to track the status of individual results. Some results are finalized before the whole report is finalized.' vs 'Further constrained to values that are relevant for personal characteristic observations.'
InformationObservation.categoryElement minimum cardinalities differ: '0' vs '1'
InformationStructureDefinition.shortValues for short differ: 'Sexual Orientation' vs 'Type of observation (code / type)'
InformationStructureDefinition.commentValues for comment differ: '*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.' vs '*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation. NOTE: In LOINC, System Patient is used in the modeling of codes referenced by the Personal Characteristics profiles (e.g., 72826-1 Race OMB.1997, 69490-1 Ethnicity OMB.1997, 76691-5 Gender identity, 76690-7 Sexual orientation, 90778-2 Personal pronouns – Reported, and 99502-7 Recorded sex or gender). If the draft profiles are adopted, new LOINC codes without System Patient would be needed since these profiles can also be used to capture characteristics of a provider (using an extension) or a related person (using focus).'
InformationObservation.subjectElement minimum cardinalities differ: '1' vs '0'
InformationObservation.focusElement maximum cardinalities differ: '2147483647' vs '1'
InformationStructureDefinition.definitionValues for definition differ: '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.'
InformationStructureDefinition.commentValues for comment differ: 'At least a date should be present unless this observation is a historical report. For recording imprecise or 'fuzzy' times (For example, a blood glucose measurement taken 'after breakfast') use the [Timing](http://hl7.org/fhir/R4/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.' vs 'At least a date should be present unless this observation is a historical report. For recording imprecise or 'fuzzy' times (For example, a blood glucose measurement taken 'after breakfast') use the [Timing](datatypes.html#timing) datatype which allow the measurement to be tied to regular life events. NOTE: dateTime is Must Support, but currently tooling does not support this.'
WarningObservation.effective[x]Elements differ in definition for mustSupport: 'true' vs 'false'
WarningObservation.performerElements differ in definition for mustSupport: 'false' vs 'true'
WarningObservation.value[x]Elements differ in definition for mustSupport: 'false' vs 'true'
InformationObservation.value[x]Element minimum cardinalities differ: '0' vs '1'
InformationObservation.dataAbsentReasonElement maximum cardinalities differ: '1' vs '0'
InformationObservation.interpretationElement maximum cardinalities differ: '2147483647' vs '0'
InformationObservation.bodySiteElement maximum cardinalities differ: '1' vs '0'
WarningObservation.methodElements differ in definition for mustSupport: 'false' vs 'true'
InformationObservation.methodElement minimum cardinalities differ: '0' vs '1'
InformationObservation.specimenElement maximum cardinalities differ: '1' vs '0'
InformationObservation.referenceRangeElement maximum cardinalities differ: '2147483647' vs '0'
WarningObservation.derivedFromElements differ in definition for mustSupport: 'false' vs 'true'
InformationObservation.derivedFromElement minimum cardinalities differ: '0' vs '1'
InformationObservation.derivedFromElement maximum cardinalities differ: '2147483647' vs '1'

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://hl7.org/fhir/StructureDefinition/Observationhttp://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-ObservationPersonalCharacteristic
    • Values Differ
    .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'
    .date2023-10-172024-08-27T17:19:22+00:00
    • Values Differ
    .descriptionThe US Core Observation Sexual Orientation Profile inherits from the FHIR [Observation](https://hl7.org/fhir/R4/observation.html) resource; refer to refer to it for scope and usage definitions. This profile meets the requirements of the U.S. Core Data for Interoperability (USCDI) *Sexual Orientation* Data Element. It sets minimum expectations for the Observation resource to record, search, and fetch sexual orientation observations associated with a patient. It specifies which core elements, extensions, vocabularies, and value sets **SHALL** be present in the resource and constrains how the elements are used. Providing the floor for standards development for specific use cases promotes interoperability and adoption.Profile for observations about "recorded sex and gender" which, in the past, were often used interchangeably. In this context, sex is a biological construct and pertains to a person’s genetics, hormones, and anatomy. This profile is intended for draft use only. For further details on this profile see [Draft Specifications for Personal Characteristics](draft_specifications_for_personal_characteristics.html).
    • Values Differ
    .experimentalfalse
    • Removed the item 'false'
    .fhirVersion4.0.1
      .jurisdiction
        ..jurisdiction[0]urn:iso:std:iso:3166#US
          .kindresource
            .nameUSCoreObservationSexualOrientationProfileSDOHCCObservationRecordedSexGender
            • Values Differ
            .publisherHL7 International / Cross-Group ProjectsHL7 International / Patient Care
            • Values Differ
            .purpose
              .statusactive
                .titleUS Core Observation Sexual Orientation ProfileSDOHCC Observation Recorded Sex Gender
                • Values Differ
                .typeObservation
                  .urlhttp://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientationhttp://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-ObservationRecordedSexGender
                  • Values Differ
                  .version7.0.02.2.0
                  • Values Differ

                  Structure

                  NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.R TypeR Description & ConstraintsCommentsdoco
                  .. Observation C0..*ObservationMeasurements and simple assertions
                  obs-6: dataAbsentReason SHALL only be present if Observation.value[x] is not present
                  obs-7: If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present
                  us-core-2: If there is no component or hasMember element then either a value[x] or a data absent reason must be present
                  C0..*SDOHCCObservationPersonalCharacteristicObservation about an individual's recorded sex or gender
                  obs-6: dataAbsentReason SHALL only be present if Observation.value[x] is not present
                  obs-7: If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present
                  SDOH-Obs-1: Either subject or extension-Observation.subject must exist but not both
                  SDOH-Obs-2: Focus is only allowed if subject is present
                  SDOH-Obs-3: Must have either performer or derivedFrom
                    ... id Σ0..1idLogical id of this artifactΣ0..1idLogical 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: ?? (preferred): A human language.

                          Additional BindingsPurpose
                          ??Max Binding
                          0..1codeLanguage of the resource content
                          Binding: ?? (preferred): A human language.

                          Additional BindingsPurpose
                          ??Max Binding
                            ... 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..*ExtensionExtension
                                Slice: Unordered, Open by value:url
                                  ... 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: ?? (required)
                                          ?!SΣ1..1codefinal | corrected | entered-in-error | unknown
                                          Binding: ?? (required)
                                            ... category 0..*CodeableConceptClassification of type of observation
                                            Binding: ?? (preferred): Codes for high level observation categories.


                                            1..*CodeableConceptClassification of type of observation
                                            Slice: Unordered, Open by value:$this
                                            Binding: ?? (preferred): Codes for high level observation categories.


                                            • Element minimum cardinalities differ: '0' vs '1'
                                            ... code SΣ1..1CodeableConceptSexual Orientation
                                            Binding: ?? (example): Codes identifying names of simple observations.


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


                                            Required Pattern: {"coding":[{"system":"http://loinc.org","code":"99502-7"}]}
                                              ... subject SΣ1..1Reference(US Core Patient Profile)Who and/or what the observation is aboutSΣC0..1Reference(US Core Patient Profile)Who and/or what the observation is about
                                              • 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
                                              ΣC0..1Reference(RelatedPerson)What the observation is about, when it is not about the subject of record
                                              • Element maximum cardinalities differ: '2147483647' vs '1'
                                              ... 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Σ0..1dateTime S, Period, Timing, instantClinically relevant time/time-period for observationΣ0..1dateTime, PeriodClinically relevant time/time-period for observation
                                                • 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
                                                  SΣC0..*Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | RelatedPerson)Who is responsible for the observation
                                                  • Elements differ in definition for mustSupport: 'false' vs 'true'
                                                  ... Slices for value[x] ΣC0..1Quantity, CodeableConcept, string, boolean, integer, Range, Ratio, SampledData, time, dateTime, PeriodActual result
                                                  Slice: Unordered, Open by type:$this
                                                  SΣC1..1CodeableConceptActual result
                                                  Binding: ?? (preferred): Codes for recorded sex and gender

                                                  • Elements differ in definition for mustSupport: 'false' vs 'true'
                                                  • Element minimum cardinalities differ: '0' vs '1'
                                                  .... id 0..1stringUnique id for inter-element referencing
                                                  • Added this element
                                                  .... Slices for extension 0..*ExtensionAdditional content defined by implementations
                                                  Slice: Unordered, Open by value:url
                                                  • Added this element
                                                  .... coding SΣ0..*CodingCode defined by a terminology system
                                                  • Added this element
                                                  .... text Σ0..1stringPlain text representation of the concept
                                                  • Added this element
                                                  ... dataAbsentReason C0..1CodeableConceptWhy the result is missing
                                                  Binding: ?? (extensible): Codes specifying why the result (Observation.value[x]) is missing.

                                                  C0..0
                                                  • Element maximum cardinalities differ: '1' vs '0'
                                                  ... interpretation 0..*CodeableConceptHigh, low, normal, etc.
                                                  Binding: ?? (extensible): Codes identifying interpretations of observations.


                                                  0..0
                                                  • Element maximum cardinalities differ: '2147483647' vs '0'
                                                  ... note 0..*AnnotationComments about the observation
                                                  0..*AnnotationComments about the observation
                                                    ... bodySite 0..1CodeableConceptObserved body part
                                                    Binding: ?? (example): Codes describing anatomical locations. May include laterality.

                                                    0..0
                                                    • Element maximum cardinalities differ: '1' vs '0'
                                                    ... method 0..1CodeableConceptHow it was done
                                                    Binding: ?? (example): Methods for simple observations.

                                                    S1..1CodeableConceptHow it was done
                                                    Binding: ?? (example): Methods for personal characteristic observations.

                                                    • Elements differ in definition for mustSupport: 'false' vs 'true'
                                                    • Element minimum cardinalities differ: '0' vs '1'
                                                    ... specimen 0..1Reference(Specimen)Specimen used for this observation0..0
                                                    • Element maximum cardinalities differ: '1' vs '0'
                                                    ... device 0..1Reference(Device | DeviceMetric)(Measurement) Device0..1Reference(Device | DeviceMetric)(Measurement) Device
                                                      ... referenceRange C0..*BackboneElementProvides guide for interpretation
                                                      obs-3: Must have at least a low or a high or text
                                                      C0..0
                                                      • Element maximum cardinalities differ: '2147483647' vs '0'
                                                      .... 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 C0..1??Low Range, if relevantC0..1??Low Range, if relevant
                                                              .... high C0..1??High Range, if relevantC0..1??High Range, if relevant
                                                                .... type 0..1CodeableConceptReference range qualifier
                                                                Binding: ?? (preferred): Code for the meaning of a reference range.

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

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


                                                                  0..*CodeableConceptReference range population
                                                                  Binding: ?? (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
                                                                          SΣC1..1Reference(DocumentReference | QuestionnaireResponse | Observation)Related measurements the observation is made from
                                                                          • Elements differ in definition for mustSupport: 'false' vs 'true'
                                                                          • Element minimum cardinalities differ: '0' vs '1'
                                                                          • Element maximum cardinalities differ: '2147483647' vs '1'
                                                                          .... id 0..1stringUnique id for inter-element referencing
                                                                          • Added this element
                                                                          .... Slices for extension 0..*ExtensionAdditional content defined by implementations
                                                                          Slice: Unordered, Open by value:url
                                                                          • Added this element
                                                                          .... reference ΣC0..1stringLiteral reference, Relative, internal or absolute URL
                                                                          • Added this element
                                                                          .... type Σ0..1uriType the reference refers to (e.g. "Patient")
                                                                          Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).

                                                                          • Added this element
                                                                          .... identifier SΣ0..1IdentifierLogical reference, when literal reference is not known
                                                                          • Added this element
                                                                          .... display Σ0..1stringText alternative for the resource
                                                                          • Added this element
                                                                          ... component Σ0..*BackboneElementComponent results
                                                                          Σ0..*BackboneElementComponent results
                                                                            .... 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
                                                                                  .... code Σ1..1CodeableConceptType of component observation (code / type)
                                                                                  Binding: ?? (example): Codes identifying names of simple observations.

                                                                                  Σ1..1CodeableConceptType of component observation (code / type)
                                                                                  Binding: ?? (example): Codes identifying names of simple observations.

                                                                                    .... value[x] Σ0..1Quantity, CodeableConcept, string, boolean, integer, Range, Ratio, SampledData, time, dateTime, PeriodActual component resultΣ0..1Quantity, CodeableConcept, string, boolean, integer, Range, Ratio, SampledData, time, dateTime, PeriodActual component result
                                                                                      .... dataAbsentReason C0..1CodeableConceptWhy the component result is missing
                                                                                      Binding: ?? (extensible): Codes specifying why the result (Observation.value[x]) is missing.

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

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


                                                                                        0..*CodeableConceptHigh, low, normal, etc.
                                                                                        Binding: ?? (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