Profile Comparison between http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation vs http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-nonpatient-observation

Left:US Core Observation Sexual Orientation Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation)
Right:QICore NonPatient Observation (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-nonpatient-observation)

Messages

ErrorStructureDefinition.urlValues for url differ: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation' vs 'http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-nonpatient-observation'
InformationStructureDefinition.nameValues for name differ: 'USCoreObservationSexualOrientationProfile' vs 'QICoreNonPatientObservation'
InformationStructureDefinition.titleValues for title differ: 'US Core Observation Sexual Orientation Profile' vs 'QICore NonPatient Observation'
InformationStructureDefinition.dateValues for date differ: '2023-10-17' vs '2018-08-22'
InformationStructureDefinition.publisherValues for publisher differ: 'HL7 International / Cross-Group Projects' vs 'HL7 International / Clinical Quality Information'
InformationStructureDefinition.shortValues for short differ: 'registered | preliminary | final | amended +' vs '(QI) registered | prliminary | final | amended | corrected | entered-in-error | unknown'
WarningObservation.statusElements differ in definition for mustSupport: 'true' vs 'false'
InformationStructureDefinition.shortValues for short differ: 'Classification of type of observation' vs '(QI) Classification of type of observation'
InformationObservation.categoryElement minimum cardinalities differ: '0' vs '1'
InformationStructureDefinition.shortValues for short differ: 'Sexual Orientation' vs '(QI) Type of observation (code / type)'
WarningObservation.codeElements differ in definition for mustSupport: 'true' vs 'false'
InformationStructureDefinition.shortValues for short differ: 'Who and/or what the observation is about' vs '(QI) The device/location/implantable device the observation is about'
InformationStructureDefinition.definitionValues for definition differ: '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 device/location/implantable 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.'
InformationStructureDefinition.commentValues for comment differ: 'One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.' vs 'One would expect this element to be a cardinality of 1..1.'
WarningObservation.subjectElements differ in definition for mustSupport: 'true' vs 'false'
ErrorObservation.subjectType Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient]]) vs Reference([CanonicalType[http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-device], CanonicalType[http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-location], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device]])
InformationStructureDefinition.shortValues for short differ: 'Clinically relevant time/time-period for observation' vs '(QI) Clinically relevant time/time-period for observation'
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'
InformationStructureDefinition.shortValues for short differ: 'Who is responsible for the observation' vs '(QI) Who is responsible for the observation'
InformationStructureDefinition.shortValues for short differ: 'Actual result' vs '(QI) Actual result'
InformationStructureDefinition.shortValues for short differ: 'High, low, normal, etc.' vs '(QI) High, low, normal, etc.'
InformationStructureDefinition.commentValues for comment differ: 'When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](questionnaireresponse.html) into a final score and represent the score as an Observation.' vs 'When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/R4/questionnaireresponse.html) into a final score and represent the score as an Observation.'
InformationStructureDefinition.shortValues for short differ: 'Related measurements the observation is made from' vs '(QI) QI Core Profiles or other resource the observation is made from'
InformationStructureDefinition.definitionValues for definition differ: '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.' vs 'Observations, DocumentReference, QuestionnaireResponse or other resource from which this observation value is derived.'
ErrorObservation.derivedFromType Mismatch: Reference([CanonicalType[http://hl7.org/fhir/StructureDefinition/DocumentReference], CanonicalType[http://hl7.org/fhir/StructureDefinition/ImagingStudy], CanonicalType[http://hl7.org/fhir/StructureDefinition/Media], CanonicalType[http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse], CanonicalType[http://hl7.org/fhir/StructureDefinition/Observation], CanonicalType[http://hl7.org/fhir/StructureDefinition/MolecularSequence]]) vs Reference([CanonicalType[http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-simple-observation], CanonicalType[http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-questionnaireresponse], CanonicalType[http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-imagingstudy], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference], CanonicalType[http://hl7.org/fhir/StructureDefinition/Media], CanonicalType[http://hl7.org/fhir/StructureDefinition/MolecularSequence]])

Metadata

NameValueComments
.abstractfalse
    .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'
      .date2023-10-172018-08-22
      • 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 of NonPatient Observation for decision support/quality metrics evaluating resource use and availability rather than focusing on patients. Defines the core set of elements and extensions for quality rule and measure authors.
      • Values Differ
      .experimentalfalse
        .fhirVersion4.0.1
          .jurisdiction
            ..jurisdiction[0]urn:iso:std:iso:3166#US
              .kindresource
                .nameUSCoreObservationSexualOrientationProfileQICoreNonPatientObservation
                • Values Differ
                .publisherHL7 International / Cross-Group ProjectsHL7 International / Clinical Quality Information
                • Values Differ
                .purpose
                  .statusactive
                    .titleUS Core Observation Sexual Orientation ProfileQICore NonPatient Observation
                    • Values Differ
                    .typeObservation
                      .urlhttp://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientationhttp://hl7.org/fhir/us/qicore/StructureDefinition/qicore-nonpatient-observation
                      • Values Differ
                      .version7.0.0

                        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..*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
                          ... 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..*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: ?? (required)
                                                ?!Σ1..1code(QI) registered | prliminary | final | amended | corrected | entered-in-error | unknown
                                                Binding: ?? (required)
                                                • Elements differ in definition for mustSupport: 'true' vs 'false'
                                                ... category 0..*CodeableConceptClassification of type of observation
                                                Binding: ?? (preferred): Codes for high level observation categories.


                                                1..*CodeableConcept(QI) Classification of type of observation
                                                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"}]}
                                                Σ1..1CodeableConcept(QI) Type of observation (code / type)
                                                Binding: ?? (preferred): This value set specifies the type of observation

                                                • 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Σ1..1Reference(QICore Device | QICore Location | US Core Implantable Device Profile)(QI) The device/location/implantable device the observation is about
                                                • Elements differ in definition for mustSupport: 'true' vs 'false'
                                                • Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient]]) vs Reference([CanonicalType[http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-device], CanonicalType[http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-location], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device]])
                                                ... focus Σ0..*Reference(Resource)What the observation is about, when it is not about the subject of record
                                                Σ0..*Reference(Resource)What the observation is about, when it is not about the subject of record
                                                  ... 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, Period, Timing, instant(QI) Clinically 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
                                                      Σ0..*Reference(QICore Practitioner | QICore Organization | QICore Patient | QICore PractitionerRole | QICore CareTeam | QICore RelatedPerson)(QI) Who is responsible for the observation
                                                        ... Slices for value[x] ΣC0..1Quantity, CodeableConcept, string, boolean, integer, Range, Ratio, SampledData, time, dateTime, PeriodActual result
                                                        Slice: Unordered, Open by type:$this
                                                        ΣC0..1Quantity, CodeableConcept, string, boolean, integer, Range, Ratio, SampledData, time, dateTime, Period(QI) Actual result
                                                        Slice: Unordered, Open by type:$this
                                                          ... 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.

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


                                                            0..*CodeableConcept(QI) High, low, normal, etc.
                                                            Binding: ?? (extensible): Codes identifying interpretations of observations.


                                                              ... 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..1CodeableConceptObserved body part
                                                                Binding: ?? (example): Codes describing anatomical locations. May include laterality.

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

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

                                                                    ... specimen 0..1Reference(Specimen)Specimen used for this observation0..1Reference(Specimen)Specimen used for this observation
                                                                      ... 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..*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 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
                                                                                              Σ0..*Reference(QICore Simple Observation | QICore QuestionnaireResponse | QICore ImagingStudy | US Core DocumentReference Profile | Media | MolecularSequence)(QI) QI Core Profiles or other resource the observation is made from
                                                                                              • Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/StructureDefinition/DocumentReference], CanonicalType[http://hl7.org/fhir/StructureDefinition/ImagingStudy], CanonicalType[http://hl7.org/fhir/StructureDefinition/Media], CanonicalType[http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse], CanonicalType[http://hl7.org/fhir/StructureDefinition/Observation], CanonicalType[http://hl7.org/fhir/StructureDefinition/MolecularSequence]]) vs Reference([CanonicalType[http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-simple-observation], CanonicalType[http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-questionnaireresponse], CanonicalType[http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-imagingstudy], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference], CanonicalType[http://hl7.org/fhir/StructureDefinition/Media], CanonicalType[http://hl7.org/fhir/StructureDefinition/MolecularSequence]])
                                                                                              ... 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