Profile Comparison between http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation vs http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-exposure-contact-information

Left:US Core Observation Sexual Orientation Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation)
Right:US Public Health Exposure Contact Information (http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-exposure-contact-information)

Messages

ErrorStructureDefinition.urlValues for url differ: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation' vs 'http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-exposure-contact-information'
ErrorStructureDefinition.versionValues for version differ: '5.0.1' vs '1.0.0-ballot'
InformationStructureDefinition.nameValues for name differ: 'USCoreObservationSexualOrientationProfile' vs 'USPublicHealthExposureContactInformation'
InformationStructureDefinition.titleValues for title differ: 'US Core Observation Sexual Orientation Profile' vs 'US Public Health Exposure Contact Information'
InformationStructureDefinition.dateValues for date differ: '2022-04-20' vs '2022-08-05T18:57:38+00:00'
InformationStructureDefinition.publisherValues for publisher differ: 'HL7 International - Cross-Group Projects' vs 'HL7 Public Health Work Group (http://www.hl7.org/Special/committees/pher/index.cfm)'
WarningObservationElements differ in short: 'Measurements and simple assertions' vs 'US Public Health Exposure Contact Information'
WarningObservationElements differ in definition: '\-' vs 'This profile represents patient exposure information.'
WarningObservationElements differ in comments: '\-' vs '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.'
WarningObservation.extensionElements differ in short: 'Additional content defined by implementations' vs 'Exposure/contact address'
WarningObservation.extensionElements differ in definition: '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 'If an address where the exposure/contact took place is known then it can be contained in the address-extension.'
WarningObservation.extensionElements differ in definition for mustSupport: 'false' vs 'true'
InformationObservation.extensionElement maximum cardinalities differ: '2147483647' vs '1'
WarningObservation.statusElements differ in definition for mustSupport: 'true' vs 'false'
WarningObservation.categoryElements differ in short: 'Classification of type of observation' vs 'Exposure'
WarningObservation.categoryElements differ in definition for mustSupport: 'false' vs 'true'
InformationObservation.categoryElement minimum cardinalities differ: '0' vs '1'
InformationObservation.categoryElement maximum cardinalities differ: '2147483647' vs '1'
WarningObservation.codeElements differ in short: 'Sexual Orientation' vs 'The type of exposure/contact (environmental, activity, event, location, person, animal, etc.). Suggested value sets:[Exposure Setting (COVID-19)], [Exposure Location], [Social History Type]'
WarningObservation.focusElements differ in short: 'What the observation is about, when it is not about the subject of record' vs 'Contact with an entity (person, animal) or at a location.'
WarningObservation.focusElements differ in definition: 'The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.' vs 'Contact with an entity (person, animal) or at a location.'
WarningObservation.focusElements differ in definition for mustSupport: 'false' vs 'true'
WarningObservation.effective[x]Elements differ in definition: 'This records the time during which the patient had identified their emotional, romantic, sexual, or affectional attraction to another person.' vs 'The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the 'physiologically relevant time'. This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself.'
WarningObservation.value[x]Elements differ in definition for mustSupport: 'false' vs 'true'

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'
      .date2022-04-202022-08-05T18:57:38+00:00
      • Values Differ
      .descriptionThe US Core Observation Sexual Orientation Profile meets the U.S. Core Data for Interoperability (USCDI) v2 'Sexual Orientation' requirements. this profile sets minimum expectations for the Observation resource to record, search, and fetch sexual orientation observations associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.This Observation profile represents potential patient exposure and contact information. The type of exposure/contact is contained in Observation.code (environmental, activity, event, location, person, animal, etc.). If the exposure/contact is an entity (person, animal, location) then it is represented in Observation.focus which is a reference to a Patient, RelatedPerson, Location, Group, etc.. (An animal would be represented by a RelatedPerson that contains the Extension Practitioner Animal Species. Free text information about the exposure/contact can be recorded in Observation.valueString and the date or period of exposure is held in Observation.effective[x]. If an address where the exposure/contact took place is known then it can be contained in the address-extension. The following are some exposures that might be captured in this profile: * Environmental exposures * Living facilities * Work facilities * School facilities * Contact exposures * Person * Animal * Event Exposures * Sporting event * Rally * Wedding * Activity
      • Values Differ
      .experimentalfalse
        .fhirVersion4.0.1
          .jurisdiction
            ..jurisdiction[0]urn:iso:std:iso:3166#US
              .kindresource
                .nameUSCoreObservationSexualOrientationProfileUSPublicHealthExposureContactInformation
                • Values Differ
                .publisherHL7 International - Cross-Group ProjectsHL7 Public Health Work Group (http://www.hl7.org/Special/committees/pher/index.cfm)
                • Values Differ
                .purpose
                  .statusactive
                    .titleUS Core Observation Sexual Orientation ProfileUS Public Health Exposure Contact Information
                    • Values Differ
                    .typeObservation
                      .urlhttp://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientationhttp://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-exposure-contact-information
                      • Values Differ
                      .version5.0.11.0.0-ballot
                      • Values Differ

                      Structure

                      NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.L TypeL Description & ConstraintsCommentsdoco
                      .. Observation I0..*ObservationMeasurements and simple assertions
                      us-core-2: If there is no component or hasMember element then either a value[x] or a data absent reason must be present
                      I0..*ObservationUS Public Health Exposure Contact Information
                      • Elements differ in short: 'Measurements and simple assertions' vs 'US Public Health Exposure Contact Information'
                      • Elements differ in definition: '\-' vs 'This profile represents patient exposure information.'
                      • Elements differ in comments: '\-' vs '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.'
                      ... id Σ0..1stringLogical id of this artifactΣ0..1stringLogical id of this artifact
                        ... meta Σ0..1MetaMetadata about the resourceΣ0..1MetaMetadata about the resource
                          ... implicitRules ?!Σ0..1uriA set of rules under which this content was created?!Σ0..1uriA set of rules under which this content was created
                            ... language 0..1codeLanguage of the resource content
                            Binding: CommonLanguages (preferred): A human language.

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

                            Additional BindingsPurpose
                            AllLanguagesMax 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
                                  ... us-ph-address-extension 0..*ExtensionAdditional content defined by implementations
                                  S0..1AddressExposure/contact address
                                  URL: http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-address-extension
                                  • Elements differ in short: 'Additional content defined by implementations' vs 'Exposure/contact address'
                                  • Elements differ in definition: '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 'If an address where the exposure/contact took place is known then it can be contained in the address-extension.'
                                  • Elements differ in definition for mustSupport: 'false' vs 'true'
                                  • Element maximum cardinalities differ: '2147483647' vs '1'
                                  ... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
                                  ?!0..*ExtensionExtensions that cannot be ignored
                                    ... identifier Σ0..*IdentifierBusiness Identifier for observation
                                    Σ0..*IdentifierBusiness Identifier for observation
                                      ... basedOn Σ0..*Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest)Fulfills plan, proposal or order
                                      Σ0..*Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest)Fulfills plan, proposal or order
                                        ... partOf Σ0..*Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Immunization | ImagingStudy)Part of referenced event
                                        Σ0..*Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Immunization | ImagingStudy)Part of referenced event
                                          ... status ?!SΣ1..1coderegistered | preliminary | final | amended +
                                          Binding: ObservationStatus (required)
                                          ?!Σ1..1coderegistered | preliminary | final | amended +
                                          Binding: ObservationStatus (required): Codes providing the status of an observation.

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


                                          S1..1CodeableConceptExposure
                                          Binding: ObservationCategoryCodes (preferred): Codes for high level observation categories.



                                          Required Pattern: {"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v3-ActClass","code":"EXPOS"}]}
                                          • Elements differ in short: 'Classification of type of observation' vs 'Exposure'
                                          • Elements differ in definition for mustSupport: 'false' vs 'true'
                                          • Element minimum cardinalities differ: '0' vs '1'
                                          • Element maximum cardinalities differ: '2147483647' vs '1'
                                          ... code SΣ1..1CodeableConceptSexual Orientation
                                          Binding: LOINCCodes (example): Codes identifying names of simple observations.


                                          Required Pattern: {"coding":[{"system":"http://loinc.org","code":"76690-7"}]}
                                          SΣ1..1CodeableConceptThe type of exposure/contact (environmental, activity, event, location, person, animal, etc.). Suggested value sets:[Exposure Setting (COVID-19)](https://phinvads.cdc.gov/vads/ViewValueSet.action?id=FA5D6D86-C7B2-EA11-818F-005056ABE2F0), [Exposure Location](https://phinvads.cdc.gov/vads/ViewValueSet.action?id=9BE75E17-176B-DE11-9B52-0015173D1785), [Social History Type](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.88.12.80.60/expansion)
                                          Binding: LOINCCodes (example): Codes identifying names of simple observations.

                                          • Elements differ in short: 'Sexual Orientation' vs 'The type of exposure/contact (environmental, activity, event, location, person, animal, etc.). Suggested value sets:[Exposure Setting (COVID-19)], [Exposure Location], [Social History Type]'
                                          ... subject SΣ1..1Reference(US Core Patient Profile)Who and/or what the observation is aboutSΣ1..1Reference(US Public Health Patient)Who and/or what the observation is about
                                            ... focus Σ0..*Reference(Resource)What the observation is about, when it is not about the subject of record
                                            SΣ0..*Reference(US Public Health Patient | RelatedPerson | Group | US Public Health Location)Contact with an entity (person, animal) or at a location.
                                            • Elements differ in short: 'What the observation is about, when it is not about the subject of record' vs 'Contact with an entity (person, animal) or at a location.'
                                            • Elements differ in definition: 'The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.' vs 'Contact with an entity (person, animal) or at a location.'
                                            • Elements differ in definition for mustSupport: 'false' vs 'true'
                                            ... encounter Σ0..1Reference(Encounter)Healthcare event during which this observation is madeΣ0..1Reference(Encounter)Healthcare event during which this observation is made
                                              ... effective[x] SΣI0..1dateTime S, Period, Timing, instantClinically relevant time/time-period for observation
                                              us-core-1: Datetime must be at least to day.
                                              SΣ0..1dateTime, Period, Timing, instantClinically relevant time/time-period for observation
                                              • Elements differ in definition: 'This records the time during which the patient had identified their emotional, romantic, sexual, or affectional attraction to another person.' vs 'The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the "physiologically relevant time". This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself.'
                                              ... issued Σ0..1instantDate/Time this version was made availableΣ0..1instantDate/Time this version was made available
                                                ... performer Σ0..*Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | RelatedPerson)Who is responsible for the observation
                                                Σ0..*Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | RelatedPerson)Who is responsible for the observation
                                                  ... Slices for value[x] ΣI0..1CodeableConceptActual result
                                                  Slice: Unordered, Closed by type:$this
                                                  SΣI0..1CodeableConcept, stringActual result
                                                  • Elements differ in definition for mustSupport: 'false' vs 'true'
                                                  ... dataAbsentReason I0..1CodeableConceptWhy the result is missing
                                                  Binding: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing.

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

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


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


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

                                                        0..1CodeableConceptObserved body part
                                                        Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.

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

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

                                                            ... specimen 0..1Reference(Specimen)Specimen used for this observation0..1Reference(Specimen)Specimen used for this observation
                                                              ... device 0..1Reference(Device | DeviceMetric)(Measurement) Device0..1Reference(Device | DeviceMetric)(Measurement) Device
                                                                ... referenceRange I0..*BackboneElementProvides guide for interpretation
                                                                I0..*BackboneElementProvides guide for interpretation
                                                                  .... id 0..1stringUnique id for inter-element referencing0..1stringUnique id for inter-element referencing
                                                                    .... extension 0..*ExtensionAdditional content defined by implementations
                                                                    0..*ExtensionAdditional content defined by implementations
                                                                      .... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                      ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
                                                                        .... low I0..1SimpleQuantityLow Range, if relevantI0..1SimpleQuantityLow Range, if relevant
                                                                          .... high I0..1SimpleQuantityHigh Range, if relevantI0..1SimpleQuantityHigh Range, if relevant
                                                                            .... type 0..1CodeableConceptReference range qualifier
                                                                            Binding: ObservationReferenceRangeMeaningCodes (preferred): Code for the meaning of a reference range.

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

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


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


                                                                                .... age 0..1RangeApplicable age range, if relevant0..1RangeApplicable age range, if relevant
                                                                                  .... text 0..1stringText based reference range in an observation0..1stringText based reference range in an observation
                                                                                    ... hasMember Σ0..*Reference(Observation | QuestionnaireResponse | MolecularSequence)Related resource that belongs to the Observation group
                                                                                    Σ0..*Reference(Observation | QuestionnaireResponse | MolecularSequence)Related resource that belongs to the Observation group
                                                                                      ... derivedFrom Σ0..*Reference(DocumentReference | ImagingStudy | Media | QuestionnaireResponse | Observation | MolecularSequence)Related measurements the observation is made from
                                                                                      Σ0..*Reference(DocumentReference | ImagingStudy | Media | QuestionnaireResponse | Observation | MolecularSequence)Related measurements the observation is made from
                                                                                        ... component Σ0..*BackboneElementComponent results
                                                                                        Σ0..*BackboneElementComponent results
                                                                                          .... 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: LOINCCodes (example): Codes identifying names of simple observations.

                                                                                                Σ1..1CodeableConceptType of component observation (code / type)
                                                                                                Binding: LOINCCodes (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 I0..1CodeableConceptWhy the component result is missing
                                                                                                    Binding: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing.

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

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


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


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

                                                                                                          doco Documentation for this format