Profile Comparison between http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation vs http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-ObservationSexualOrientation

Left:US Core Simple Observation Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation)
Right:SDOHCC Observation Sexual Orientation (http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-ObservationSexualOrientation)

Messages

ErrorStructureDefinition.urlValues for url differ: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation' vs 'http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-ObservationSexualOrientation'
ErrorStructureDefinition.versionValues for version differ: '7.0.0-ballot' vs '2.1.0'
InformationStructureDefinition.nameValues for name differ: 'USCoreSimpleObservationProfile' vs 'SDOHCCObservationSexualOrientation'
InformationStructureDefinition.titleValues for title differ: 'US Core Simple Observation Profile' vs 'SDOHCC Observation Sexual Orientation'
InformationStructureDefinition.statusValues for status differ: 'active' vs 'draft'
InformationStructureDefinition.dateValues for date differ: '2023-10-17' vs '2024-03-21T14:07:32+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: 'assessment observation' vs 'Observation about an individual's sexual orientation'
InformationStructureDefinition.definitionValues for definition differ: '\-' vs 'Defines constraints that represent the minimum requirement for personal characteristic observations which are observations that are usually self-attested but may be attested to on behalf of the subject (e.g., for a minor or incapable subject) and are generally only verifiable by the source of attestation (e.g., race, ethnicity, sexual orientation, gender identity and personal pronouns), but may sometimes be verifiable by someone other than the source of attestation (e.g., recorded sex).'
InformationStructureDefinition.commentValues for comment differ: '\-' vs 'For observations about the sexual orientation 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.'
WarningObservation.categoryElements differ in definition for mustSupport: 'true' vs 'false'
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: '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'.' 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.' 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'
InformationStructureDefinition.requirementsValues for requirements differ: 'An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.' vs 'An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations. NOTE: This is a value set is for testing purposes only and will ultimately need to be aligned with vetted value sets where terms like “asexual” and “pansexual” may be included.'
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'
InformationStructureDefinition.shortValues for short differ: '𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜: US Core Profiles or other resource the observation is made from' vs 'Related measurements the observation is made from'
InformationStructureDefinition.definitionValues for definition differ: 'US Core Observations, DocumentReference, QuestionnaireResponse or other resource from which this observation value is derived.' vs 'The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.'
WarningObservation.derivedFromElements differ in definition for mustSupport: 'false' vs 'true'
ErrorObservation.derivedFromType Mismatch: Reference([CanonicalType[http://hl7.org/fhir/StructureDefinition/Observation], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse], CanonicalType[http://hl7.org/fhir/StructureDefinition/ImagingStudy], CanonicalType[http://hl7.org/fhir/StructureDefinition/Media], CanonicalType[http://hl7.org/fhir/StructureDefinition/MolecularSequence]]) vs Reference([CanonicalType[http://hl7.org/fhir/StructureDefinition/DocumentReference], CanonicalType[http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse], CanonicalType[http://hl7.org/fhir/StructureDefinition/Observation]])

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-03-21T14:07:32+00:00
    • Values Differ
    .descriptionThis profile represents a person’s care preferences during their care and treatment. Examples include, but are not limited to religious preferences, dislikes and fears, and thoughts and feelings to be shared. To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch for a patient's care experience preferences. This profile identifies which core elements, extensions, vocabularies, and value sets **SHALL** be present in the resource and constrains the way the elements are used when using this profile. It provides the floor for standards development for specific use cases.Profile for observations about the sexual orientation of an individual. 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
    .experimental
      .fhirVersion4.0.1
        .jurisdiction
          ..jurisdiction[0]urn:iso:std:iso:3166#US
            .kindresource
              .nameUSCoreSimpleObservationProfileSDOHCCObservationSexualOrientation
              • Values Differ
              .publisherHL7 International / Cross-Group ProjectsHL7 International / Patient Care
              • Values Differ
              .purpose
                .statusactivedraft
                • Values Differ
                .titleUS Core Simple Observation ProfileSDOHCC Observation Sexual Orientation
                • Values Differ
                .typeObservation
                  .urlhttp://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observationhttp://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-ObservationSexualOrientation
                  • Values Differ
                  .version7.0.0-ballot2.1.0
                  • Values Differ

                  Structure

                  NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.L TypeL Description & ConstraintsCommentsdoco
                  .. Observation C0..*Observationassessment observation
                  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
                  C0..*SDOHCCObservationPersonalCharacteristicObservation about an individual's sexual orientation
                  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): Codes providing the status of an observation.

                                          ?!SΣ1..1codefinal | corrected | entered-in-error | unknown
                                          Binding: ?? (required)
                                            ... Slices for category S1..*CodeableConceptClassification of type of observation
                                            Slice: Unordered, Open by pattern:$this
                                            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.


                                            • Elements differ in definition for mustSupport: 'true' vs 'false'
                                            ... code SΣ1..1CodeableConceptType of observation (code / type)
                                            Binding: ?? (preferred)
                                            SΣ1..1CodeableConceptType of observation (code / type)
                                            Binding: ?? (preferred): Codes identifying names of simple observations.


                                            Required Pattern: {"coding":[{"system":"http://loinc.org","code":"76690-7"}]}
                                              ... subject SΣ1..1Reference(US Core Patient Profile S | Group | Device | US Core Location 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 SΣ0..*Reference(US Core Practitioner Profile | US Core Organization Profile | US Core Patient Profile | PractitionerRole | US Core CareTeam Profile | US Core RelatedPerson Profile)Who is responsible for the observation
                                                  SΣC0..*Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | RelatedPerson)Who is responsible for the observation
                                                    ... value[x] SΣC0..1Quantity S, CodeableConcept S, string S, boolean S, integer, Range, Ratio, SampledData, time, dateTime, PeriodActual resultSΣC1..1CodeableConceptActual result
                                                    Binding: ?? (preferred): Codes for sexual orientation

                                                    • 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: ?? (extensible): 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(Observation | US Core DocumentReference Profile | US Core QuestionnaireResponse Profile | ImagingStudy | Media | MolecularSequence)𝗔𝗗𝗗𝗜𝗧𝗜𝗢𝗡𝗔𝗟 𝗨𝗦𝗖𝗗𝗜: US Core Profiles or other resource the observation is made from
                                                                            SΣC0..*Reference(DocumentReference | QuestionnaireResponse | Observation)Related measurements the observation is made from
                                                                            • Elements differ in definition for mustSupport: 'false' vs 'true'
                                                                            • Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/StructureDefinition/Observation], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse], CanonicalType[http://hl7.org/fhir/StructureDefinition/ImagingStudy], CanonicalType[http://hl7.org/fhir/StructureDefinition/Media], CanonicalType[http://hl7.org/fhir/StructureDefinition/MolecularSequence]]) vs Reference([CanonicalType[http://hl7.org/fhir/StructureDefinition/DocumentReference], CanonicalType[http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse], CanonicalType[http://hl7.org/fhir/StructureDefinition/Observation]])
                                                                            ... 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