Profile Comparison between http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation vs http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-UponDeathPreferences

Left:US Core Observation Sexual Orientation Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation)
Right:ADI Upon Death Preferences (http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-UponDeathPreferences)

Messages

ErrorStructureDefinition.urlValues for url differ: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation' vs 'http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-UponDeathPreferences'
ErrorStructureDefinition.versionValues for version differ: '9.0.0' vs '2.0.0'
InformationStructureDefinition.nameValues for name differ: 'USCoreObservationSexualOrientationProfile' vs 'ADIUponDeathPreference'
InformationStructureDefinition.titleValues for title differ: 'US Core Observation Sexual Orientation Profile' vs 'ADI Upon Death Preferences'
InformationStructureDefinition.dateValues for date differ: '2023-10-17' vs '2026-10-15T19:33:19+00:00'
InformationStructureDefinition.publisherValues for publisher differ: 'HL7 International / Cross-Group Projects' vs 'HL7 International / Patient Empowerment'
WarningObservation.textElements differ in definition for mustSupport: 'false' vs 'true'
InformationObservation.textElement minimum cardinalities differ: '0' vs '1'
WarningObservation.statusElements differ in definition for mustSupport: 'true' vs 'false'
InformationStructureDefinition.shortValues for short differ: 'Sexual Orientation' vs 'Type of observation (code / type)'
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.'
WarningObservation.effective[x]Elements differ in definition for mustSupport: 'true' vs 'false'
WarningObservation.value[x]Elements differ in definition for mustSupport: 'false' vs 'true'
InformationObservation.value[x]Element minimum cardinalities differ: '0' vs '1'

Metadata

NameValueComments
abstractfalse
    baseDefinitionhttp://hl7.org/fhir/StructureDefinition/Observation
      copyright
        date2023-10-172026-10-15T19:33:19+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 it for scope and usage definitions. This Profile 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.This profile is used to represent the author's thoughts about preferences upon death.
        • Values Differ
        experimentalfalse
        • Removed the item 'false'
        fhirVersion4.0.1
          jurisdiction
            jurisdiction / jurisdiction[0]urn:iso:std:iso:3166#US
              kindresource
                nameUSCoreObservationSexualOrientationProfileADIUponDeathPreference
                • Values Differ
                publisherHL7 International / Cross-Group ProjectsHL7 International / Patient Empowerment
                • Values Differ
                purpose
                  statusactive
                    titleUS Core Observation Sexual Orientation ProfileADI Upon Death Preferences
                    • Values Differ
                    typeObservation
                      urlhttp://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientationhttp://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-UponDeathPreferences
                      • Values Differ
                      version9.0.02.0.0
                      • Values Differ

                      Structure

                      NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.R TypeR Description & ConstraintsCommentsdoco
                      Observation C0..*ObservationMeasurements and simple assertions
                      Constraints: us-core-2
                      C0..*ObservationMeasurements and simple assertions
                        Observation.id This element is included in summaries. 0..1idLogical id of this artifact This element is included in summaries. 0..1idLogical id of this artifact
                          Observation.meta This element is included in summaries. 0..1MetaMetadata about the resource This element is included in summaries. 0..1MetaMetadata about the resource
                            Observation.implicitRules This element is a modifier element. This element is included in summaries. 0..1uriA set of rules under which this content was created This element is a modifier element. This element is included in summaries. 0..1uriA set of rules under which this content was created
                              Observation.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
                                Observation.text 0..1NarrativeText summary of the resource, for human interpretation
                                This profile does not constrain the narrative in regard to content, language, or traceability to data elements
                                This element must be supported. 1..1NarrativeText summary of the resource, for human interpretation
                                This profile does not constrain the narrative in regard to content, language, or traceability to data elements
                                • Elements differ in definition for mustSupport: 'false' vs 'true'
                                • Element minimum cardinalities differ: '0' vs '1'
                                Observation.contained 0..*ResourceContained, inline Resources
                                0..*ResourceContained, inline Resources
                                  Observation.extension 0..*ExtensionAdditional content defined by implementations
                                  0..*ExtensionAdditional content defined by implementations
                                    Observation.modifierExtension This element is a modifier element. 0..*ExtensionExtensions that cannot be ignored
                                    This element is a modifier element. 0..*ExtensionExtensions that cannot be ignored
                                      Observation.identifier This element is included in summaries. 0..*IdentifierBusiness Identifier for observation
                                      This element is included in summaries. 0..*IdentifierBusiness Identifier for observation
                                        Observation.basedOn This element is included in summaries. 0..*Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest)Fulfills plan, proposal or order
                                        This element is included in summaries. 0..*Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest)Fulfills plan, proposal or order
                                          Observation.partOf This element is included in summaries. 0..*Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Immunization | ImagingStudy)Part of referenced event
                                          This element is included in summaries. 0..*Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Immunization | ImagingStudy)Part of referenced event
                                            Observation.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1coderegistered | preliminary | final | amended +
                                            Binding: ?? (required)
                                            This element is a modifier element. This element is included in summaries. 1..1coderegistered | preliminary | final | amended +
                                            Binding: ?? (required): Codes providing the status of an observation.
                                            Required Pattern: final (extensions allowed)
                                            • Elements differ in definition for mustSupport: 'true' vs 'false'
                                            Observation.category 0..*CodeableConceptClassification of type of observation
                                            Binding: ?? (preferred): Codes for high level observation categories.
                                            0..*CodeableConceptClassification of type of observation
                                            Binding: ?? (preferred): Codes for high level observation categories.

                                            Required Pattern:
                                            {
                                              "coding" : [
                                                {
                                                  "system" : "http://hl7.org/fhir/us/pacio-adi/CodeSystem/ADIPreferenceCategoryCS",
                                                  "code" : "care-experience-preference"
                                                }
                                              ]
                                            }
                                              Observation.code This element must be supported. This element is included in summaries. 1..1CodeableConceptSexual Orientation
                                              Binding: ?? (example): Codes identifying names of simple observations.
                                              Required Pattern:
                                              {
                                                "coding" : [
                                                  {
                                                    "system" : "http://loinc.org",
                                                    "code" : "76690-7"
                                                  }
                                                ]
                                              }
                                              This element must be supported. This element is included in summaries. 1..1CodeableConceptType of observation (code / type)
                                              Binding: ?? (extensible)
                                                Observation.code.id 0..1stringUnique id for inter-element referencing
                                                • Added this element
                                                Observation.code.Slices for extension 0..*ExtensionAdditional content defined by implementations
                                                Slice: Unordered, Open by value:url
                                                • Added this element
                                                Observation.code.coding This element is included in summaries. 0..*CodingCode defined by a terminology system
                                                • Added this element
                                                Observation.code.text This element must be supported. This element is included in summaries. 0..1stringPlain text representation of the concept
                                                • Added this element
                                                Observation.subject This element must be supported. This element is included in summaries. 1..1Reference(US Core Patient Profile)Who and/or what the observation is about This element must be supported. This element is included in summaries. 1..1Reference(US Core Patient Profile)Who and/or what the observation is about
                                                  Observation.focus This element is included in summaries. 0..*Reference(Resource)What the observation is about, when it is not about the subject of record
                                                  This element is included in summaries. 0..*Reference(Resource)What the observation is about, when it is not about the subject of record
                                                    Observation.encounter This element is included in summaries. 0..1Reference(Encounter)Healthcare event during which this observation is made This element is included in summaries. 0..1Reference(Encounter)Healthcare event during which this observation is made
                                                      Observation.effective[x] This element must be supported. This element is included in summaries. 0..1dateTime This type must be supported. , Period, Timing, instantClinically relevant time/time-period for observation This element is included in summaries. 0..1dateTime, Period, Timing, instantClinically relevant time/time-period for observation
                                                      • Elements differ in definition for mustSupport: 'true' vs 'false'
                                                      Observation.issued This element is included in summaries. 0..1instantDate/Time this version was made available This element is included in summaries. 0..1instantDate/Time this version was made available
                                                        Observation.performer This element is included in summaries. 0..*Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | RelatedPerson)Who is responsible for the observation
                                                        This element is included in summaries. 0..*Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | RelatedPerson)Who is responsible for the observation
                                                          Observation.Slices for value[x] This element is included in summaries. C0..1Quantity, CodeableConcept, string, boolean, integer, Range, Ratio, SampledData, time, dateTime, PeriodActual result
                                                          Slice: Unordered, Open by type:$this
                                                          This element must be supported. This element is included in summaries. C1..1stringActual result
                                                          • Elements differ in definition for mustSupport: 'false' vs 'true'
                                                          • Element minimum cardinalities differ: '0' vs '1'
                                                          Observation.dataAbsentReason C0..1CodeableConceptWhy the result is missing
                                                          Binding: ?? (extensible): Codes specifying why the result (Observation.value[x]) is missing.
                                                          C0..1CodeableConceptWhy the result is missing
                                                          Binding: ?? (extensible): Codes specifying why the result (Observation.value[x]) is missing.
                                                            Observation.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.
                                                              Observation.note 0..*AnnotationComments about the observation
                                                              0..*AnnotationComments about the observation
                                                                Observation.bodySite 0..1CodeableConceptObserved body part
                                                                Binding: ?? (example): Codes describing anatomical locations. May include laterality.
                                                                0..1CodeableConceptObserved body part
                                                                Binding: ?? (example): Codes describing anatomical locations. May include laterality.
                                                                  Observation.method 0..1CodeableConceptHow it was done
                                                                  Binding: ?? (example): Methods for simple observations.
                                                                  0..1CodeableConceptHow it was done
                                                                  Binding: ?? (example): Methods for simple observations.
                                                                    Observation.specimen 0..1Reference(Specimen)Specimen used for this observation0..1Reference(Specimen)Specimen used for this observation
                                                                      Observation.device 0..1Reference(Device | DeviceMetric)(Measurement) Device0..1Reference(Device | DeviceMetric)(Measurement) Device
                                                                        Observation.referenceRange C0..*BackboneElementProvides guide for interpretation
                                                                        C0..*BackboneElementProvides guide for interpretation
                                                                          Observation.referenceRange.id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                            Observation.referenceRange.extension 0..*ExtensionAdditional content defined by implementations
                                                                            0..*ExtensionAdditional content defined by implementations
                                                                              Observation.referenceRange.modifierExtension This element is a modifier element. This element is included in summaries. 0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                              This element is a modifier element. This element is included in summaries. 0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                Observation.referenceRange.low C0..1?? The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as wellLow Range, if relevantC0..1??Low Range, if relevant
                                                                                  Observation.referenceRange.high C0..1?? The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as wellHigh Range, if relevantC0..1??High Range, if relevant
                                                                                    Observation.referenceRange.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.
                                                                                      Observation.referenceRange.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.
                                                                                        Observation.referenceRange.age 0..1RangeApplicable age range, if relevant0..1RangeApplicable age range, if relevant
                                                                                          Observation.referenceRange.text 0..1stringText based reference range in an observation0..1stringText based reference range in an observation
                                                                                            Observation.hasMember This element is included in summaries. 0..*Reference(Observation | QuestionnaireResponse | MolecularSequence)Related resource that belongs to the Observation group
                                                                                            This element is included in summaries. 0..*Reference(Observation | QuestionnaireResponse | MolecularSequence)Related resource that belongs to the Observation group
                                                                                              Observation.derivedFrom This element is included in summaries. 0..*Reference(DocumentReference | ImagingStudy | Media | QuestionnaireResponse | Observation | MolecularSequence)Related measurements the observation is made from
                                                                                              This element is included in summaries. 0..*Reference(DocumentReference | ImagingStudy | Media | QuestionnaireResponse | Observation | MolecularSequence)Related measurements the observation is made from
                                                                                                Observation.component This element is included in summaries. 0..*BackboneElementComponent results
                                                                                                This element is included in summaries. 0..*BackboneElementComponent results
                                                                                                  Observation.component.id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                                                    Observation.component.extension 0..*ExtensionAdditional content defined by implementations
                                                                                                    0..*ExtensionAdditional content defined by implementations
                                                                                                      Observation.component.modifierExtension This element is a modifier element. This element is included in summaries. 0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                      This element is a modifier element. This element is included in summaries. 0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                                                        Observation.component.code This element is included in summaries. 1..1CodeableConceptType of component observation (code / type)
                                                                                                        Binding: ?? (example): Codes identifying names of simple observations.
                                                                                                        This element is included in summaries. 1..1CodeableConceptType of component observation (code / type)
                                                                                                        Binding: ?? (example): Codes identifying names of simple observations.
                                                                                                          Observation.component.value[x] This element is included in summaries. 0..1Quantity, CodeableConcept, string, boolean, integer, Range, Ratio, SampledData, time, dateTime, PeriodActual component result This element is included in summaries. 0..1Quantity, CodeableConcept, string, boolean, integer, Range, Ratio, SampledData, time, dateTime, PeriodActual component result
                                                                                                            Observation.component.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.
                                                                                                              Observation.component.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.
                                                                                                                Observation.component.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