Profile Comparison between http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test vs http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tumor-size

Left:US Core Clinical Test Result Observation Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test)
Right:Tumor Size Profile (http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tumor-size)

Messages

ErrorStructureDefinition.urlValues for url differ: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test' vs 'http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tumor-size'
ErrorStructureDefinition.versionValues for version differ: '4.1.0' vs '2.0.0'
InformationStructureDefinition.nameValues for name differ: 'USCoreClinicalTestResultObservationProfile' vs 'TumorSize'
InformationStructureDefinition.titleValues for title differ: 'US Core Clinical Test Result Observation Profile' vs 'Tumor Size Profile'
InformationStructureDefinition.dateValues for date differ: '2021-11-09' vs '2022-01-18T03:17:40+00:00'
InformationStructureDefinition.publisherValues for publisher differ: 'HL7 International - Cross-Group Projects' vs 'HL7 International Clinical Interoperability Council'
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: 'Clinical Test Name' vs 'Type of observation (code / type)'
WarningObservation.codeElements differ in definition: 'The name of the non-imaging or non-laboratory test performed on a patient. 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.subjectElements differ in short: 'Who and/or what the observation is about' vs 'The patient whose tumor was measured.'
WarningObservation.subjectElements differ in definition: '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 patient whose tumor was measured. SHALL be a `Patient` resource conforming to `CancerPatient`.'
WarningObservation.focusElements differ in short: 'What the observation is about, when it is not about the subject of record' vs 'Identifies a tumor that has NOT been removed from the body'
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 'Reference to a BodyStructure resource conforming to Tumor.'
WarningObservation.focusElements differ in comments: 'Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., 'Blood Glucose') and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode].' vs 'Use **only** when the tumor **has not** been removed from the body. If the tumor has been removed, use `specimen` instead and leave `focus` empty.'
WarningObservation.focusElements differ in definition for mustSupport: 'false' vs 'true'
InformationObservation.focusElement maximum cardinalities differ: '2147483647' vs '1'
WarningObservation.value[x]Elements differ in short: 'Result Value' vs 'Actual result'
WarningObservation.value[x]Elements differ in definition for mustSupport: 'true' vs 'false'
WarningObservation.dataAbsentReasonElements differ in definition for mustSupport: 'true' vs 'false'
WarningObservation.methodElements differ in short: 'How it was done' vs 'Method for measuring the tumor'
WarningObservation.methodElements differ in definition: 'Indicates the mechanism used to perform the observation.' vs 'Method for measuring the tumor'
WarningObservation.methodElements differ in comments: 'Only used if not implicit in code for Observation.code.' vs 'Tumors are typically measured via gross pathology after excision, or via diagnostic imaging or physical exam prior to removal. If `specimen` is set, `method` is expected to be a 'gross pathology' code. If `focus` is set, `method` is expected to be a type of diagnostic imaging or physical exam.'
WarningObservation.methodElements differ in definition for mustSupport: 'false' vs 'true'
WarningObservation.specimenElements differ in short: 'Specimen used for this observation' vs 'Identifies a tumor that has been removed from the body'
WarningObservation.specimenElements differ in definition: 'The specimen that was used when this observation was made.' vs 'Reference to a Specimen resource conforming to TumorSpecimen.'
WarningObservation.specimenElements differ in comments: 'Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).' vs 'Use **only** when the tumor **has** been removed from the body. If the tumor has been not removed, use `focus` instead and leave `specimen` empty.'
WarningObservation.specimenElements differ in definition for mustSupport: 'false' vs 'true'
WarningObservation.componentElements differ in definition for mustSupport: 'false' vs 'true'
InformationObservation.componentElement minimum cardinalities differ: '0' vs '1'

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'
      .date2021-11-092022-01-18T03:17:40+00:00
      • Values Differ
      .descriptionDefines constraints and extensions on the Observation resource for the minimal set of data to query and retrieve clinical test resultsRecords the dimensions of a tumor
      • Values Differ
      .experimental
        .fhirVersion4.0.1
          .jurisdiction
            ..jurisdiction[0]urn:iso:std:iso:3166#US
              .kindresource
                .nameUSCoreClinicalTestResultObservationProfileTumorSize
                • Values Differ
                .publisherHL7 International - Cross-Group ProjectsHL7 International Clinical Interoperability Council
                • Values Differ
                .purpose
                  .statusactive
                    .titleUS Core Clinical Test Result Observation ProfileTumor Size Profile
                    • Values Differ
                    .typeObservation
                      .urlhttp://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-testhttp://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tumor-size
                      • 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..*ObservationMeasurements and simple assertions
                      must-have-focus-or-specimen-invariant: Either `focus` OR `specimen` MUST be populated
                        ... 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
                                    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: ObservationStatus (required): Codes providing the status of an observation.

                                              ?!Σ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..1CodeableConceptClinical Test Name
                                              Binding: US Core DiagnosticReport Report And Note 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":"21889-1"}]}
                                              • Elements differ in short: 'Clinical Test Name' vs 'Type of observation (code / type)'
                                              • Elements differ in definition: 'The name of the non-imaging or non-laboratory test performed on a patient. 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.'
                                              ... subject SΣ1..1Reference(US Core Patient Profile)Who and/or what the observation is aboutSΣ1..1Reference(Cancer Patient Profile)The patient whose tumor was measured.
                                              • Elements differ in short: 'Who and/or what the observation is about' vs 'The patient whose tumor was measured.'
                                              • Elements differ in definition: '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 patient whose tumor was measured. SHALL be a `Patient` resource conforming to `CancerPatient`.'
                                              ... focus Σ0..*Reference(Resource)What the observation is about, when it is not about the subject of record
                                              SΣ0..1Reference(Tumor Profile)Identifies a tumor that has NOT been removed from the body
                                              • Elements differ in short: 'What the observation is about, when it is not about the subject of record' vs 'Identifies a tumor that has NOT been removed from the body'
                                              • 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 'Reference to a BodyStructure resource conforming to Tumor.'
                                              • Elements differ in comments: 'Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., "Blood Glucose") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode].' vs 'Use **only** when the tumor **has not** been removed from the body. If the tumor has been removed, use `specimen` instead and leave `focus` empty.'
                                              • Elements differ in definition for mustSupport: 'false' vs 'true'
                                              • Element maximum cardinalities differ: '2147483647' vs '1'
                                              ... 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
                                                  ... 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-3: SHALL use UCUM for coded quantity units.
                                                      ΣI0..1Quantity, CodeableConcept, string, boolean, integer, Range, Ratio, SampledData, time, dateTime, PeriodActual result
                                                      • Elements differ in short: 'Result Value' vs 'Actual result'
                                                      • Elements differ in definition for mustSupport: 'true' vs 'false'
                                                      ... dataAbsentReason SI0..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.

                                                      • 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..1CodeableConceptMethod for measuring the tumor
                                                            Binding: Tumor Size Method Value Set (extensible)
                                                            • Elements differ in short: 'How it was done' vs 'Method for measuring the tumor'
                                                            • Elements differ in definition: 'Indicates the mechanism used to perform the observation.' vs 'Method for measuring the tumor'
                                                            • Elements differ in comments: 'Only used if not implicit in code for Observation.code.' vs 'Tumors are typically measured via gross pathology after excision, or via diagnostic imaging or physical exam prior to removal. If `specimen` is set, `method` is expected to be a "gross pathology" code. If `focus` is set, `method` is expected to be a type of diagnostic imaging or physical exam.'
                                                            • Elements differ in definition for mustSupport: 'false' vs 'true'
                                                            ... specimen 0..1Reference(Specimen)Specimen used for this observationS0..1Reference(Tumor Specimen Profile)Identifies a tumor that has been removed from the body
                                                            • Elements differ in short: 'Specimen used for this observation' vs 'Identifies a tumor that has been removed from the body'
                                                            • Elements differ in definition: 'The specimen that was used when this observation was made.' vs 'Reference to a Specimen resource conforming to TumorSpecimen.'
                                                            • Elements differ in comments: 'Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).' vs 'Use **only** when the tumor **has** been removed from the body. If the tumor has been not removed, use `focus` instead and leave `specimen` empty.'
                                                            • Elements differ in definition for mustSupport: 'false' vs 'true'
                                                            ... 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Σ1..*BackboneElementComponent results
                                                                                      Slice: Unordered, Open by pattern:code
                                                                                      • Elements differ in definition for mustSupport: 'false' vs 'true'
                                                                                      • Element minimum cardinalities differ: '0' vs '1'
                                                                                      .... 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