Profile Comparison between http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus vs http://hl7.org/fhir/us/ph-library/StructureDefinition/lib-copy-us-ph-characteristics-of-home-environment

Left:US Core Smoking Status Observation Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus)
Right:US Public Health Characteristics of Home Environment (http://hl7.org/fhir/us/ph-library/StructureDefinition/lib-copy-us-ph-characteristics-of-home-environment)

Messages

ErrorStructureDefinition.urlValues for url differ: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus' vs 'http://hl7.org/fhir/us/ph-library/StructureDefinition/lib-copy-us-ph-characteristics-of-home-environment'
ErrorStructureDefinition.versionValues for version differ: '5.0.0' vs '0.0.1'
InformationStructureDefinition.nameValues for name differ: 'USCoreSmokingStatusProfile' vs 'USPublicHealthCharacteristicsOfHomeEnvironment'
InformationStructureDefinition.titleValues for title differ: 'US Core Smoking Status Observation Profile' vs 'US Public Health Characteristics of Home Environment'
InformationStructureDefinition.dateValues for date differ: '2022-04-20' vs '2022-06-09T01:12:10+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 Characteristics of Home Environment'
WarningObservationElements differ in definition: '\-' vs 'Measurements and simple assertions made about a patient, device or other subject.'
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.statusElements differ in definition for mustSupport: 'true' vs 'false'
WarningObservation.categoryElements differ in definition for mustSupport: 'true' vs 'false'
InformationObservation.categoryElement minimum cardinalities differ: '1' vs '0'
WarningObservation.codeElements differ in short: 'Smoking Status' vs 'Type of observation (code / type)'
InformationObservation.effective[x]Element minimum cardinalities differ: '1' vs '0'
WarningObservation.value[x]Elements differ in short: 'Actual result' vs 'Characteristic of home environment'
WarningObservation.value[x]Elements differ in definition: 'The information determined as a result of making the observation, if the information has a simple value.' vs 'Characteristic of home environment'
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-06-09T01:12:10+00:00
      • Values Differ
      .descriptionThe US Core Smoking Status Observation Profile is based upon the core FHIR Observation Resource and implementers the U.S. Core Data for Interoperability (USCDI) v2 Smoking status' requirements. This profile sets minimum expectations for the Observation resource to record, search, and fetch smoking status data 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 characteristics of the patient's home environment. Such characteristics include, but are not limited to, type of residence (trailer, single family home, assisted living), living arrangement (e.g., alone, with parents), and housing status (e.g., evicted, homeless, home owner). Congregate living situations would be represented in this profile - such shared housing includes a broad range of settings, such as apartments, condominiums, student or faculty housing, national and state park staff housing, transitional housing, and domestic violence and abuse shelters.
      • Values Differ
      .experimentalfalse
        .fhirVersion4.0.1
          .jurisdiction
            ..jurisdiction[0]urn:iso:std:iso:3166#US
              .kindresource
                .nameUSCoreSmokingStatusProfileUSPublicHealthCharacteristicsOfHomeEnvironment
                • 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 Smoking Status Observation ProfileUS Public Health Characteristics of Home Environment
                    • Values Differ
                    .typeObservation
                      .urlhttp://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatushttp://hl7.org/fhir/us/ph-library/StructureDefinition/lib-copy-us-ph-characteristics-of-home-environment
                      • Values Differ
                      .version5.0.00.0.1
                      • Values Differ

                      Structure

                      NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.L TypeL Description & ConstraintsCommentsdoco
                      .. Observation I0..*ObservationMeasurements and simple assertions
                      I0..*ObservationUS Public Health Characteristics of Home Environment
                      • Elements differ in short: 'Measurements and simple assertions' vs 'US Public Health Characteristics of Home Environment'
                      • Elements differ in definition: '\-' vs 'Measurements and simple assertions made about a patient, device or other subject.'
                      • 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
                                  ... 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: US Core Status for Smoking Status Observation (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'
                                            ... Slices for category S1..*CodeableConceptClassification of type of observation
                                            Slice: Unordered, Open by pattern:$this
                                            Binding: ObservationCategoryCodes (preferred): Codes for high level observation categories.


                                            0..*CodeableConceptClassification of type of observation
                                            Binding: ObservationCategoryCodes (preferred): Codes for high level observation categories.


                                            • Elements differ in definition for mustSupport: 'true' vs 'false'
                                            • Element minimum cardinalities differ: '1' vs '0'
                                            ... code SΣ1..1CodeableConceptSmoking Status
                                            Binding: US Core Smoking Status Observation Codes (extensible)
                                            SΣ1..1CodeableConceptType of observation (code / type)
                                            Binding: LOINCCodes (example): Codes identifying names of simple observations.


                                            Required Pattern: {"coding":[{"system":"http://loinc.org","code":"75274-1","display":"Characteristics of residence"}]}
                                            • Elements differ in short: 'Smoking Status' vs 'Type of observation (code / 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
                                              Σ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
                                                  ... Slices for effective[x] Σ1..1dateTimeClinically relevant time/time-period for observation
                                                  Slice: Unordered, Closed by type:$this
                                                  Σ0..1dateTime, Period, Timing, instantClinically relevant time/time-period for observation
                                                  • Element minimum cardinalities differ: '1' vs '0'
                                                  ... 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] ΣI1..1CodeableConceptActual result
                                                      Slice: Unordered, Closed by type:$this
                                                      SΣI1..1CodeableConceptCharacteristic of home environment
                                                      Binding: Residence and Accommodation Type (extensible): Residence and Accommodation Type


                                                      Example Example for "homeless": {"coding":[{"system":"http://snomed.info/sct","code":"32911000","display":"Homeless"}]}
                                                      • Elements differ in short: 'Actual result' vs 'Characteristic of home environment'
                                                      • Elements differ in definition: 'The information determined as a result of making the observation, if the information has a simple value.' vs 'Characteristic of home environment'
                                                      • 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