Profile Comparison between http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab vs http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-pregnancy-status-observation

Left:US Core Laboratory Result Observation Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab)
Right:US Public Health Pregnancy Status Observation (http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-pregnancy-status-observation)

Messages

ErrorStructureDefinition.urlValues for url differ: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab' vs 'http://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-pregnancy-status-observation'
ErrorStructureDefinition.versionValues for version differ: '4.1.0' vs '2.0.0'
InformationStructureDefinition.nameValues for name differ: 'USCoreLaboratoryResultObservationProfile' vs 'USPublicHealthPregnancyStatusObservation'
InformationStructureDefinition.titleValues for title differ: 'US Core Laboratory Result Observation Profile' vs 'US Public Health Pregnancy Status Observation'
InformationStructureDefinition.dateValues for date differ: '2020-06-27' vs '2022-01-18T12:57:33+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 Pregnancy Status Observation'
WarningObservationElements differ in definition: 'This profile is created to meet the 2015 Edition Common Clinical Data Set 'Laboratory test(s) and Laboratory value(s)/result(s)' requirements.' vs 'Measurements and simple assertions made about a patient, device or other subject.'
WarningObservation.extensionElements differ in short: 'Additional content defined by implementations' vs 'Extension'
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 'An Extension'
WarningObservation.extensionElements differ in definition for mustSupport: 'false' vs 'true'
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: 'Laboratory Test Name' vs 'Type of observation (code / type)'
WarningObservation.codeElements differ in definition: 'The test that was performed. A LOINC **SHALL** be used if the concept is present in LOINC.' vs 'Describes what was observed. Sometimes this is called the observation 'name'.'
WarningObservation.codeElements differ in comments: 'The typical patterns for codes are: 1) a LOINC code either as a translation from a 'local' code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists. When using LOINC , Use either the SHORTNAME or LONG_COMMON_NAME field for the display.' vs '*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.'
WarningObservation.codeElements differ in binding.description: 'LOINC codes' vs 'Codes identifying names of simple observations.'
WarningObservation.effective[x]Elements differ in short: 'Clinically relevant time/time-period for observation' vs 'Pregnancy status date range'
WarningObservation.effective[x]Elements differ in definition: 'For lab tests this is the specimen collection date. For Ask at Order Entry Questions (AOE)'s this is the date the question was asked.' vs 'Use the effectiveTime to indicate the date range over which the patient was pregnant/possibly pregnant/not pregnant/unknown.'
WarningObservation.value[x]Elements differ in short: 'Result Value' vs 'Pregnancy Status'
WarningObservation.value[x]Elements differ in definition: 'The Laboratory result value. If a coded value, the valueCodeableConcept.code **SHOULD** be selected from [SNOMED CT] if the concept exists. If a numeric value, valueQuantity.code **SHALL** be selected from [UCUM]. A FHIR [UCUM Codes value set] that defines all UCUM codes is in the FHIR specification.' vs 'Represents the pregnancy status - whether the patient was pregnant, possibly pregnant, not pregnant or whether the pregnancy status was unknown during a particular date range.'
WarningObservation.dataAbsentReasonElements differ in definition for mustSupport: 'true' vs 'false'
WarningObservation.methodElements differ in short: 'How it was done' vs 'Pregnancy status determination method'
WarningObservation.methodElements differ in definition: 'Indicates the mechanism used to perform the observation.' vs 'Represents the method of determination of pregnancy status.'
WarningObservation.methodElements differ in definition for mustSupport: 'false' vs 'true'
WarningObservation.methodElements differ in binding.description: 'Methods for simple observations.' vs 'Pregnancy Status Determination Method'
WarningObservation.componentElements 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'
      .date2020-06-272022-01-18T12:57:33+00:00
      • Values Differ
      .descriptionDefines constraints and extensions on the Observation resource for the minimal set of data to query and retrieve laboratory test resultsThis profile represents current and/or prior pregnancy statuses and their date ranges, enabling investigators to determine if a patient was pregnant, possibly pregnant, not pregnant or whether the pregnancy status was unknown during a particular date range. The subject of this profile is the mother. This profile includes the determination method, determination date, and recorded date of the pregnancy status. Use the effectivePeriod to indicate the date range over which the patient was pregnant/possibly pregnant/not pregnant/unknown. To record the date that the pregnancy status was recorded, use the date-recorded-extension and to record the date on which the pregnancy status determination was made, use the date-determined-extension. If the effectivePeriod.end is not present it is assumed that the date range over which the pregnancy status is asserted is from effectivePeriod.start to the date in the date-recorded-extension. For example, if the effectivePeriod.start has been recorded as two months prior to the date contained in the date-recorded-extension, and there is no effectivePeriod.end recorded, no assumptions can be made about the pregnancy status after the date contained in the date-recorded-extension.
      • Values Differ
      .experimentalfalse
        .fhirVersion4.0.1
          .jurisdiction
            ..jurisdiction[0]urn:iso:std:iso:3166#US
              .kindresource
                .nameUSCoreLaboratoryResultObservationProfileUSPublicHealthPregnancyStatusObservation
                • 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 Laboratory Result Observation ProfileUS Public Health Pregnancy Status Observation
                    • Values Differ
                    .typeObservation
                      .urlhttp://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-labhttp://hl7.org/fhir/us/ecr/StructureDefinition/us-ph-pregnancy-status-observation
                      • Values Differ
                      .version4.1.02.0.0
                      • 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 Pregnancy Status Observation
                      • Elements differ in short: 'Measurements and simple assertions' vs 'US Public Health Pregnancy Status Observation'
                      • Elements differ in definition: 'This profile is created to meet the 2015 Edition Common Clinical Data Set 'Laboratory test(s) and Laboratory value(s)/result(s)' requirements.' vs 'Measurements and simple assertions made about a patient, device or other subject.'
                      ... 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)
                            Max Binding: AllLanguages: A human language.

                            0..1codeLanguage of the resource content
                            Binding: CommonLanguages (preferred)
                            Max Binding: AllLanguages: A human language.

                              ... 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
                                  S0..*ExtensionExtension
                                  Slice: Unordered, Open by value:url
                                  • Elements differ in short: 'Additional content defined by implementations' vs 'Extension'
                                  • 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 'An Extension'
                                  • Elements differ in definition for mustSupport: 'false' vs 'true'
                                  ... 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'
                                          ... 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..1CodeableConceptLaboratory Test Name
                                          Binding: LOINCCodes (extensible): LOINC codes

                                          SΣ1..1CodeableConceptType of observation (code / type)
                                          Binding: LOINCCodes (example): Codes identifying names of simple observations.


                                          Required Pattern: {"coding":[{"system":"http://loinc.org","code":"82810-3"}]}
                                          • Elements differ in short: 'Laboratory Test Name' vs 'Type of observation (code / type)'
                                          • Elements differ in definition: 'The test that was performed. A LOINC **SHALL** be used if the concept is present in LOINC.' vs 'Describes what was observed. Sometimes this is called the observation "name".'
                                          • Elements differ in comments: 'The typical patterns for codes are: 1) a LOINC code either as a translation from a "local" code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists. When using LOINC , Use either the SHORTNAME or LONG_COMMON_NAME field for the display.' vs '*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.'
                                          • Elements differ in binding.description: 'LOINC codes' vs 'Codes identifying names of simple observations.'
                                          ... 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
                                                ... 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..1PeriodPregnancy status date range
                                                • Elements differ in short: 'Clinically relevant time/time-period for observation' vs 'Pregnancy status date range'
                                                • Elements differ in definition: 'For lab tests this is the specimen collection date. For Ask at Order Entry Questions (AOE)'s this is the date the question was asked.' vs 'Use the effectiveTime to indicate the date range over which the patient was pregnant/possibly pregnant/not pregnant/unknown.'
                                                ... 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
                                                    ... value[x] SΣI0..1Quantity S, CodeableConcept S, string S, boolean, integer, Range, Ratio, SampledData, time, dateTime, PeriodResult Value
                                                    us-core-4: SHOULD use Snomed CT for coded Results
                                                    us-core-3: SHALL use UCUM for coded quantity units.
                                                    SΣI0..1CodeableConceptPregnancy Status
                                                    Binding: US Public Health Pregnancy Status (extensible): Pregnancy Status

                                                    • Elements differ in short: 'Result Value' vs 'Pregnancy Status'
                                                    • Elements differ in definition: 'The Laboratory result value. If a coded value, the valueCodeableConcept.code **SHOULD** be selected from [SNOMED CT] if the concept exists. If a numeric value, valueQuantity.code **SHALL** be selected from [UCUM]. A FHIR [UCUM Codes value set] that defines all UCUM codes is in the FHIR specification.' vs 'Represents the pregnancy status - whether the patient was pregnant, possibly pregnant, not pregnant or whether the pregnancy status was unknown during a particular date range.'
                                                    ... dataAbsentReason SI0..1CodeableConceptWhy the result is missing
                                                    Binding: DataAbsentReason (extensible)
                                                    I0..1CodeableConceptWhy the result is missing
                                                    Binding: DataAbsentReason (extensible): Codes specifying why the result (Observation.value[x]) is missing.

                                                    • Elements differ in definition for mustSupport: 'true' vs 'false'
                                                    ... 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.

                                                          S0..1CodeableConceptPregnancy status determination method
                                                          Binding: Pregnancy Status Determination Method (extensible): Pregnancy Status Determination Method

                                                          • Elements differ in short: 'How it was done' vs 'Pregnancy status determination method'
                                                          • Elements differ in definition: 'Indicates the mechanism used to perform the observation.' vs 'Represents the method of determination of pregnancy status.'
                                                          • Elements differ in definition for mustSupport: 'false' vs 'true'
                                                          • Elements differ in binding.description: 'Methods for simple observations.' vs 'Pregnancy Status Determination Method'
                                                          ... 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
                                                              obs-3: Must have at least a low or a high or text
                                                              I0..*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 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
                                                                                      SΣ0..*BackboneElementComponent results
                                                                                      Slice: Unordered, Open by type:value
                                                                                      • Elements differ in definition for mustSupport: 'false' vs 'true'
                                                                                      .... 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