Profile Comparison between http://hl7.org/cda/us/ccda/StructureDefinition/ResultObservation vs http://hl7.org/cda/us/ccda/StructureDefinition/ResultObservation

Left:Result Observation (http://hl7.org/cda/us/ccda/StructureDefinition/ResultObservation)
Right:Result Observation (http://hl7.org/cda/us/ccda/StructureDefinition/ResultObservation)

Messages

ErrorStructureDefinition.versionValues for version differ: '3.0.0' vs '4.0.0'
InformationStructureDefinition.dateValues for date differ: '2024-05-18T00:16:25-05:00' vs '2024-10-19T22:19:38+00:00'

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://hl7.org/cda/stds/core/StructureDefinition/Observation
      .copyright
        .date2024-05-18T00:16:25-05:002024-10-19T22:19:38+00:00
        • Values Differ
        .descriptionThis template represents the results of a laboratory, radiology, or other study performed on a patient. The result observation includes a statusCode to allow recording the status of an observation. Pending results (e.g., a test has been run but results have not been reported yet) should be represented as active ActStatus. If code contains a valid non-null LOINC then the xsi:type value SHOULD match the LOINC Scale Part based on the table below: | LOINC Scale Part | Value xsi:type | | -------- | ------- | | Qn - Quantitative | INT, IVL_INT, MO, IVL_MO, REAL, IVL_REAL, PQ, IVL_PQ, RTO, TS, IVL_TS | | Ord - Ordinal | CD | | Nom - Nominal | CD | | Nar - Narrative | ED, ST | | OrdQn - Quantitative or Ordinal | CD, INT, IVL_INT, MO, IVL_MO, REAL, IVL_REAL, PQ, IVL_PQ, RTO, TS, IVL_TS | | Multi - Multi | ED | | Doc - Document | ED | This template represents the results of a laboratory, radiology, or other study performed on a patient. The result observation includes a statusCode to allow recording the status of an observation. Pending results (e.g., a test has been run but results have not been reported yet) should be represented as active ActStatus. If code contains a valid non-null LOINC then the xsi:type value SHOULD match the LOINC Scale Part based on the table below: | LOINC Scale Part | Value xsi:type | | -------- | ------- | | Qn - Quantitative | INT, IVL_INT, MO, IVL_MO, REAL, IVL_REAL, PQ, IVL_PQ, RTO, TS, IVL_TS | | Ord - Ordinal | CD | | Nom - Nominal | CD | | Nar - Narrative | ED, ST | | OrdQn - Quantitative or Ordinal | CD, INT, IVL_INT, MO, IVL_MO, REAL, IVL_REAL, PQ, IVL_PQ, RTO, TS, IVL_TS | | Multi - Multi | ED | | Doc - Document | ED | - **Laboratory** - For laboratory test codes include codes from [LOINC](http://loinc.org) where CLASSTYPE = 1. Please see [US Core Laboratory Test Codes](https://hl7.org/fhir/us/core/ValueSet-us-core-laboratory-test-codes.html) used in US Core which has a partial expansion of the 61,898 codes. - **Common Lab Result** - To retrieve a list of the most commonly used LOINC lab codes (20,000), in "[Search LOINC](loinc.org/search/)" enter: "CommonLabResult:true" - **Radiology** - To retrieve a list of Radiology LOINC codes, in "[Search LOINC](loinc.org/search/)" enter: "Radiology: true"
        • Values Differ
        .experimental
          .fhirVersion5.0.0
            .jurisdiction
              ..jurisdiction[0]urn:iso:std:iso:3166#US
                .kindlogical
                  .nameResultObservation
                    .publisherHealth Level Seven
                      .purpose
                        .statusdraft
                          .titleResult Observation
                            .typehttp://hl7.org/cda/stds/core/StructureDefinition/Observation
                              .urlhttp://hl7.org/cda/us/ccda/StructureDefinition/ResultObservation
                                .version3.0.04.0.0
                                • Values Differ

                                Structure

                                NameL FlagsL Card.L TypeL Description & ConstraintsR FlagsR Card.R TypeR Description & ConstraintsCommentsdoco
                                .. Observation C1..1ObservationBase for all types and resources
                                Instance of this type are validated by templateId
                                Logical Container: ClinicalDocument (CDA Class)
                                should-text-ref-value: SHOULD contain text/reference/@value
                                should-interpretationCode: SHOULD contain interpretationCode
                                should-author: SHOULD contain author
                                should-referenceRange: SHOULD contain referenceRange
                                C1..1ObservationBase for all types and resources
                                Instance of this type are validated by templateId
                                Logical Container: ClinicalDocument (CDA Class)
                                should-text-ref-value: SHOULD contain text/reference/@value
                                should-interpretationCode: SHOULD contain interpretationCode
                                should-author: SHOULD contain author
                                should-referenceRange: SHOULD contain referenceRange
                                  ... nullFlavor 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                    ... realmCode 0..*CS0..*CS
                                      ... typeId 0..1II0..1II
                                        .... nullFlavor 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                          .... assigningAuthorityName 0..1??0..1??
                                            .... displayable 0..1??0..1??
                                              .... root 1..1??, ??, ??Fixed Value: 2.16.840.1.113883.1.31..1??, ??, ??Fixed Value: 2.16.840.1.113883.1.3
                                                .... st-simple 1..1stringPrimitive Type string
                                                URL: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
                                                1..1stringPrimitive Type string
                                                URL: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
                                                  ... Slices for templateId 1..*IISlice: Unordered, Open by value:root, value:extension
                                                  1..*IISlice: Unordered, Open by value:root, value:extension
                                                    ... classCode 1..1??Binding: ?? (required)
                                                    Fixed Value: OBS
                                                    1..1??Binding: ?? (required)
                                                    Fixed Value: OBS
                                                      ... moodCode 1..1??Binding: ?? (required)
                                                      Fixed Value: EVN
                                                      1..1??Binding: ?? (required)
                                                      Fixed Value: EVN
                                                        ... negationInd 0..1??0..1??
                                                          ... id 1..*II1..*II
                                                            ... code C1..1CD(USCDI) Tests
                                                            Binding: ?? (example)
                                                            shall-code-or-nullflavor: SHALL contain either a @code attribute or a @nullFlavor attribute, but not both.
                                                            4537-19212: This code **SHOULD** be a code from the LOINC that identifies the result observation. If an appropriate LOINC code does not exist, then the local code for this result **SHALL** be sent (CONF:4537-19212).
                                                            C1..1CD(USCDI) Tests
                                                            Binding: ?? (example)
                                                            shall-code-or-nullflavor: SHALL contain either a @code attribute or a @nullFlavor attribute, but not both.
                                                            4537-19212: This code **SHOULD** be a code from the LOINC that identifies the result observation. If an appropriate LOINC code does not exist, then the local code for this result **SHALL** be sent (CONF:4537-19212).
                                                              .... nullFlavor 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                                .... code 0..1??0..1??
                                                                  .... codeSystem 0..1??, ??, ??0..1??, ??, ??
                                                                    .... codeSystemName 0..1??0..1??
                                                                      .... codeSystemVersion 0..1??0..1??
                                                                        .... displayName 0..1??0..1??
                                                                          .... sdtcValueSet 0..1??XML: valueSet (urn:hl7-org:sdtc)0..1??XML: valueSet (urn:hl7-org:sdtc)
                                                                            .... sdtcValueSetVersion 0..1??XML: valueSetVersion (urn:hl7-org:sdtc)0..1??XML: valueSetVersion (urn:hl7-org:sdtc)
                                                                              .... originalText 0..1ED0..1ED
                                                                                .... qualifier 0..*CR0..*CR
                                                                                  .... translation 0..*CD0..*CD
                                                                                    ... derivationExpr 0..1ST0..1ST
                                                                                      ... text 0..1EDSHOULD reference the portion of section narrative text corresponding to this entry0..1EDSHOULD reference the portion of section narrative text corresponding to this entry
                                                                                        .... nullFlavor 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                                                          .... compression 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                                                            .... integrityCheck 0..1??0..1??
                                                                                              .... integrityCheckAlgorithm 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                                                                .... language 0..1??0..1??
                                                                                                  .... mediaType 0..1??Binding: ?? (example)0..1??Binding: ?? (example)
                                                                                                    .... representation 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                                                                      .... xmlText 0..1??Allows for mixed text content. If @representation='B64', this SHALL be a base64binary string.0..1??Allows for mixed text content. If @representation='B64', this SHALL be a base64binary string.
                                                                                                        .... reference C0..1TELvalue-starts-octothorpe: If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrativeC0..1TELvalue-starts-octothorpe: If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative
                                                                                                          .... thumbnail 0..1ED0..1ED
                                                                                                            ... statusCode 1..1CS(USCDI) Result Status
                                                                                                            Binding: ?? (required)
                                                                                                            1..1CS(USCDI) Result Status
                                                                                                            Binding: ?? (required)
                                                                                                              .... nullFlavor 0..00..0
                                                                                                                .... code 1..1??Binding: ?? (required)1..1??Binding: ?? (required)
                                                                                                                  .... codeSystem 0..00..0
                                                                                                                    .... codeSystemName 0..00..0
                                                                                                                      .... codeSystemVersion 0..00..0
                                                                                                                        .... displayName 0..00..0
                                                                                                                          .... sdtcValueSet 0..1??XML: valueSet (urn:hl7-org:sdtc)0..1??XML: valueSet (urn:hl7-org:sdtc)
                                                                                                                            .... sdtcValueSetVersion 0..1??XML: valueSetVersion (urn:hl7-org:sdtc)0..1??XML: valueSetVersion (urn:hl7-org:sdtc)
                                                                                                                              .... originalText 0..00..0
                                                                                                                                .... qualifier 0..00..0
                                                                                                                                  .... translation 0..00..0
                                                                                                                                    ... effectiveTime 1..1IVL_TSRepresents the clinically relevant time of the measurement (e.g., the time a blood pressure reading is obtained, the time the blood sample was obtained for a chemistry test).1..1IVL_TSRepresents the clinically relevant time of the measurement (e.g., the time a blood pressure reading is obtained, the time the blood sample was obtained for a chemistry test).
                                                                                                                                      ... priorityCode 0..1CEBinding: ?? (example)0..1CEBinding: ?? (example)
                                                                                                                                        ... repeatNumber 0..1IVL_INT0..1IVL_INT
                                                                                                                                          ... languageCode 0..1CSBinding: ?? (required)0..1CSBinding: ?? (required)
                                                                                                                                            ... Slices for value 1..1ANY, BL, ED, ST, CD, CV, CE, CO, SC, II, TEL, AD, EN, INT, REAL, PQ, MO, TS, IVL_PQ, IVL_TS, PIVL_TS, EIVL_TS, SXPR_TS, RTO_PQ_PQ(USCDI) Values/Results - Value can be any type, but certain types have additional rules.
                                                                                                                                            Slice: Unordered, Open by type:$this
                                                                                                                                            1..1ANY, BL, ED, ST, CD, CV, CE, CO, SC, II, TEL, AD, EN, INT, REAL, PQ, MO, TS, IVL_PQ, IVL_TS, PIVL_TS, EIVL_TS, SXPR_TS, RTO_PQ_PQ(USCDI) Values/Results - Value can be any type, but certain types have additional rules.
                                                                                                                                            Slice: Unordered, Open by type:$this
                                                                                                                                              ... interpretationCode 0..*CE(USCDI) Result Interpretation
                                                                                                                                              Binding: ?? (required)
                                                                                                                                              0..*CE(USCDI) Result Interpretation
                                                                                                                                              Binding: ?? (required)
                                                                                                                                                ... methodCode 0..1CEBinding: ?? (example)
                                                                                                                                                0..1CEBinding: ?? (example)
                                                                                                                                                  ... targetSiteCode 0..1CD0..1CD
                                                                                                                                                    ... subject 0..1Subject0..1Subject
                                                                                                                                                      ... specimen 0..*Specimen0..*Specimen
                                                                                                                                                        ... performer 0..*Performer20..*Performer2
                                                                                                                                                          ... author 0..*??Base for all types and resources
                                                                                                                                                          0..*??Base for all types and resources
                                                                                                                                                            ... informant 0..*Informant0..*Informant
                                                                                                                                                              ... participant 0..*Participant20..*Participant2
                                                                                                                                                                ... entryRelationship 0..*EntryRelationship0..*EntryRelationship
                                                                                                                                                                  ... reference 0..*Reference0..*Reference
                                                                                                                                                                    ... precondition 0..*Precondition0..*Precondition
                                                                                                                                                                      ... sdtcPrecondition2 0..*Precondition2XML: precondition2 (urn:hl7-org:sdtc)
                                                                                                                                                                      0..*Precondition2XML: precondition2 (urn:hl7-org:sdtc)
                                                                                                                                                                        ... referenceRange 0..*InfrastructureRoot(USCDI) Result Reference Range
                                                                                                                                                                        0..*InfrastructureRoot(USCDI) Result Reference Range
                                                                                                                                                                          .... nullFlavor 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                                                                                                                                            .... realmCode 0..*CS0..*CS
                                                                                                                                                                              .... typeId 0..1II0..1II
                                                                                                                                                                                ..... nullFlavor 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                                                                                                                                                  ..... assigningAuthorityName 0..1??0..1??
                                                                                                                                                                                    ..... displayable 0..1??0..1??
                                                                                                                                                                                      ..... root 1..1??, ??, ??Fixed Value: 2.16.840.1.113883.1.31..1??, ??, ??Fixed Value: 2.16.840.1.113883.1.3
                                                                                                                                                                                        ..... st-simple 1..1stringPrimitive Type string
                                                                                                                                                                                        URL: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
                                                                                                                                                                                        1..1stringPrimitive Type string
                                                                                                                                                                                        URL: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
                                                                                                                                                                                          .... templateId 0..*II0..*II
                                                                                                                                                                                            .... typeCode 0..1??Binding: ?? (required)
                                                                                                                                                                                            Fixed Value: REFV
                                                                                                                                                                                            0..1??Binding: ?? (required)
                                                                                                                                                                                            Fixed Value: REFV
                                                                                                                                                                                              .... observationRange 1..1ObservationRange1..1ObservationRange
                                                                                                                                                                                                ..... nullFlavor 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                                                                                                                                                                  ..... realmCode 0..*CS0..*CS
                                                                                                                                                                                                    ..... typeId 0..1II0..1II
                                                                                                                                                                                                      ...... nullFlavor 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                                                                                                                                                                        ...... assigningAuthorityName 0..1??0..1??
                                                                                                                                                                                                          ...... displayable 0..1??0..1??
                                                                                                                                                                                                            ...... root 1..1??, ??, ??Fixed Value: 2.16.840.1.113883.1.31..1??, ??, ??Fixed Value: 2.16.840.1.113883.1.3
                                                                                                                                                                                                              ...... st-simple 1..1stringPrimitive Type string
                                                                                                                                                                                                              URL: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
                                                                                                                                                                                                              1..1stringPrimitive Type string
                                                                                                                                                                                                              URL: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
                                                                                                                                                                                                                ..... templateId 0..*II0..*II
                                                                                                                                                                                                                  ..... classCode 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                                                                                                                                                                                    ..... moodCode 0..1??Binding: ?? (required)
                                                                                                                                                                                                                    Fixed Value: EVN.CRT
                                                                                                                                                                                                                    0..1??Binding: ?? (required)
                                                                                                                                                                                                                    Fixed Value: EVN.CRT
                                                                                                                                                                                                                      ..... code 0..1CDBinding: ?? (example)0..1CDBinding: ?? (example)
                                                                                                                                                                                                                        ..... text 0..1ED0..1ED
                                                                                                                                                                                                                          ..... value 1..1BL, ED, ST, CD, CV, CE, CO, SC, II, TEL, AD, EN, INT, REAL, PQ, MO, TS, IVL_PQ, IVL_TS, PIVL_TS, EIVL_TS, SXPR_TSWhen the value is a quantity, then the unit SHOULD be selected from ValueSet UnitsOfMeasureCaseSensitive.1..1BL, ED, ST, CD, CV, CE, CO, SC, II, TEL, AD, EN, INT, REAL, PQ, MO, TS, IVL_PQ, IVL_TS, PIVL_TS, EIVL_TS, SXPR_TSWhen the value is a quantity, then the unit SHOULD be selected from ValueSet UnitsOfMeasureCaseSensitive.
                                                                                                                                                                                                                            ..... interpretationCode 0..1CEBinding: ?? (required)0..1CEBinding: ?? (required)
                                                                                                                                                                                                                              ..... sdtcPrecondition1 0..*InfrastructureRootXML: precondition1 (urn:hl7-org:sdtc)
                                                                                                                                                                                                                              0..*InfrastructureRootXML: precondition1 (urn:hl7-org:sdtc)
                                                                                                                                                                                                                                ...... nullFlavor 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                                                                                                                                                                                                  ...... realmCode 0..*CS0..*CS
                                                                                                                                                                                                                                    ...... typeId 0..1II0..1II
                                                                                                                                                                                                                                      ....... nullFlavor 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                                                                                                                                                                                                        ....... assigningAuthorityName 0..1??0..1??
                                                                                                                                                                                                                                          ....... displayable 0..1??0..1??
                                                                                                                                                                                                                                            ....... root 1..1??, ??, ??Fixed Value: 2.16.840.1.113883.1.31..1??, ??, ??Fixed Value: 2.16.840.1.113883.1.3
                                                                                                                                                                                                                                              ....... st-simple 1..1stringPrimitive Type string
                                                                                                                                                                                                                                              URL: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
                                                                                                                                                                                                                                              1..1stringPrimitive Type string
                                                                                                                                                                                                                                              URL: http://hl7.org/cda/stds/core/StructureDefinition/st-simple
                                                                                                                                                                                                                                                ...... templateId 0..*II0..*II
                                                                                                                                                                                                                                                  ...... typeCode 0..1??Binding: ?? (required)
                                                                                                                                                                                                                                                  Fixed Value: PRCN
                                                                                                                                                                                                                                                  0..1??Binding: ?? (required)
                                                                                                                                                                                                                                                  Fixed Value: PRCN
                                                                                                                                                                                                                                                    ...... conjunctionCode 1..1CSXML Namespace: urn:hl7-org:sdtc
                                                                                                                                                                                                                                                    Binding: ?? (required)
                                                                                                                                                                                                                                                    1..1CSXML Namespace: urn:hl7-org:sdtc
                                                                                                                                                                                                                                                    Binding: ?? (required)
                                                                                                                                                                                                                                                      ...... criterion1 1..1CriterionXML Namespace: urn:hl7-org:sdtc1..1CriterionXML Namespace: urn:hl7-org:sdtc
                                                                                                                                                                                                                                                        ... sdtcInFulfillmentOf1 0..*InFulfillmentOf1XML: inFulfillmentOf1 (urn:hl7-org:sdtc)
                                                                                                                                                                                                                                                        0..*InFulfillmentOf1XML: inFulfillmentOf1 (urn:hl7-org:sdtc)

                                                                                                                                                                                                                                                          doco Documentation for this format