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

Left:Treatment Intervention Preference (http://hl7.org/cda/us/ccda/StructureDefinition/TreatmentInterventionPreference)
Right:Treatment Intervention Preference (http://hl7.org/cda/us/ccda/StructureDefinition/TreatmentInterventionPreference)

Messages

ErrorStructureDefinition.versionValues for version differ: '3.0.0-ballot' vs '3.0.0'
InformationStructureDefinition.dateValues for date differ: '2023-12-21T01:13:10+10:00' vs '2024-05-18T00:42:57-05:00'
InformationStructureDefinition.shortValues for short differ: 'Goals, preferences, and priorities for medical treatment' vs 'Goals, preferences, and priorities for medical treatment [Reported]'
InformationObservation.sdtcPrecondition2Element minimum cardinalities differ: '1' vs '0'
InformationObservation.sdtcPrecondition2Element maximum cardinalities differ: '1' vs '2147483647'
InformationObservation.sdtcPrecondition2StructureDefinition TreatmentInterventionPreference has added constraint that is not found in TreatmentInterventionPreference and it is uncertain whether they are compatible (criterion.exists())
InformationStructureDefinition.definitionValues for definition differ: 'A code specifying the logical conjunction of the criteria among all the condition-links of Acts (e.g., and, or, exclusive-or). All AND criteria must be true. If OR and AND criteria occur together, one criterion out of the OR-group must be true and all AND criteria must be true also. If XOR criteria occur together with OR and AND criteria, exactly one of the XOR criteria must be true, and at least one of the OR criteria and all AND criteria must be true. In other words, the sets of AND, OR, and XOR criteria are in turn combined by a logical AND operator (all AND criteria and at least one OR criterion and exactly one XOR criterion).' vs 'A code specifying the logical conjunction of the criteria among all the condition-links of Acts (e.g., and, or, exclusive-or). All AND criteria must be true. If OR and AND criteria occur together, one criterion out of the OR-group must be true and all AND criteria must be true also. If XOR criteria occur together with OR and AND criteria, exactly one of the XOR criteria must be true, and at least one of the OR criteria and all AND criteria must be true. In other words, the sets of AND, OR, and XOR criteria are in turn combined by a logical AND operator (all AND criteria and at least one OR criterion and exactly one XOR criterion).'
InformationObservation.sdtcPrecondition2.criterionElement minimum cardinalities differ: '1' vs '0'
InformationObservation.sdtcPrecondition2.criterion.classCodeElement minimum cardinalities differ: '1' vs '0'

Metadata

NameValueComments
.abstractfalse
    .baseDefinitionhttp://hl7.org/cda/stds/core/StructureDefinition/Observation
      .copyright
        .date2023-12-21T01:13:10+10:002024-05-18T00:42:57-05:00
        • Values Differ
        .descriptionThis Treatment Intervention Preference template represents personal health goals, preferences, and priorities for medical treatments or interventions in the event of a future health scenario where a person is unable to make medical decisions because of a serious illness or injury. This does not represent actual orders or formal advance directives, but holds observations about wishes. These observations may inform the placement of future orders or creation of advance directives. While observation.code is encoded to support system queries, the answers represented at observation.value are likley to be text. Precondition.Criterion is required to represent the situation when a person would prefer the stated intervention preferences. This template may be used directly in any section, such as Care Plan Document Sections, Social History, or Advance Directives, and may be used inside any entry such as Procedure or Medication Activity.This Treatment Intervention Preference template represents personal health goals, preferences, and priorities for medical treatments or interventions in the event of a future health scenario where a person is unable to make medical decisions because of a serious illness or injury. This does not represent actual orders or formal advance directives, but holds observations about wishes. These observations may inform the placement of future orders or creation of advance directives. While observation.code is encoded to support system queries, the answers represented at observation.value are likley to be text. Precondition.Criterion is recommended to represent the situation when a person would prefer the stated intervention preferences. This template may be used directly in any section, such as Care Plan Document Sections, Social History, or Advance Directives, and may be used inside any entry such as Procedure or Medication Activity.
        • Values Differ
        .experimental
          .fhirVersion5.0.0
            .jurisdiction
              ..jurisdiction[0]urn:iso:std:iso:3166#US
                .kindlogical
                  .nameTreatmentInterventionPreference
                    .publisherHealth Level Seven
                      .purpose
                        .statusdraft
                          .titleTreatment Intervention Preference
                            .typehttp://hl7.org/cda/stds/core/StructureDefinition/Observation
                              .urlhttp://hl7.org/cda/us/ccda/StructureDefinition/TreatmentInterventionPreference
                                .version3.0.0-ballot3.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
                                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-sdtcPrecondition2: SHOULD contain sdtc:Precondition2
                                  ... 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: INT
                                                      1..1??Binding: ?? (required)
                                                      Fixed Value: INT
                                                        ... negationInd 0..00..0
                                                          ... id 1..*II1..*II
                                                            ... code 1..1CDGoals, preferences, and priorities for medical treatment
                                                            Binding: ?? (example)
                                                            1..1CDGoals, preferences, and priorities for medical treatment [Reported]
                                                            Binding: ?? (example)
                                                              .... nullFlavor 0..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                                .... code 1..1??Required Pattern: 75773-21..1??Required Pattern: 75773-2
                                                                  .... codeSystem 1..1??, ??, ??LOINC
                                                                  Required Pattern: 2.16.840.1.113883.6.1
                                                                  1..1??, ??, ??LOINC
                                                                  Required Pattern: 2.16.840.1.113883.6.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 0..1CSBinding: ?? (required)0..1CSBinding: ?? (required)
                                                                                                              ... effectiveTime 0..1IVL_TS0..1IVL_TS
                                                                                                                ... priorityCode 0..1CEBinding: ?? (example)0..1CEBinding: ?? (example)
                                                                                                                  ... repeatNumber 0..1IVL_INT0..1IVL_INT
                                                                                                                    ... languageCode 0..1CSBinding: ?? (required)0..1CSBinding: ?? (required)
                                                                                                                      ... value 1..1ED, CDMost of the time, the value will be a string representing the person's words.
                                                                                                                      1..1ED, CDMost of the time, the value will be a string representing the person's words.
                                                                                                                        ... interpretationCode 0..*CEBinding: ?? (required)
                                                                                                                        0..*CEBinding: ?? (required)
                                                                                                                          ... methodCode 0..*CEBinding: ?? (example)
                                                                                                                          0..*CEBinding: ?? (example)
                                                                                                                            ... targetSiteCode 0..*CD0..*CD
                                                                                                                              ... subject 0..1Subject0..1Subject
                                                                                                                                ... specimen 0..*Specimen0..*Specimen
                                                                                                                                  ... performer 0..*Performer20..*Performer2
                                                                                                                                    ... author 0..*Author0..*Author
                                                                                                                                      ... informant 0..*Informant0..*Informant
                                                                                                                                        ... participant 0..*Participant20..*Participant2
                                                                                                                                          ... entryRelationship 0..*EntryRelationship0..*EntryRelationship
                                                                                                                                            ... reference 0..*Reference0..*Reference
                                                                                                                                              ... precondition 0..*Precondition0..*Precondition
                                                                                                                                                ... sdtcPrecondition2 1..1Precondition2XML: precondition2 (urn:hl7-org:sdtc)
                                                                                                                                                C0..*Precondition2XML: precondition2 (urn:hl7-org:sdtc)
                                                                                                                                                should-criterion: SHOULD contain criterion
                                                                                                                                                • Element minimum cardinalities differ: '1' vs '0'
                                                                                                                                                • Element maximum cardinalities differ: '1' vs '2147483647'
                                                                                                                                                • StructureDefinition TreatmentInterventionPreference has added constraint that is not found in TreatmentInterventionPreference and it is uncertain whether they are compatible (criterion.exists())
                                                                                                                                                .... 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
                                                                                                                                                                    .... negationInd 0..1??0..1??
                                                                                                                                                                      .... conjunctionCode 1..1CSXML Namespace: urn:hl7-org:sdtc
                                                                                                                                                                      Binding: ?? (required)
                                                                                                                                                                      1..1CSXML Namespace: urn:hl7-org:sdtc
                                                                                                                                                                      Binding: ?? (required)
                                                                                                                                                                        .... allTrue 0..1PreconditionBaseXML Namespace: urn:hl7-org:sdtc0..1PreconditionBaseXML Namespace: urn:hl7-org:sdtc
                                                                                                                                                                          .... allFalse 0..1PreconditionBaseXML Namespace: urn:hl7-org:sdtc0..1PreconditionBaseXML Namespace: urn:hl7-org:sdtc
                                                                                                                                                                            .... atLeastOneTrue 0..1PreconditionBaseXML Namespace: urn:hl7-org:sdtc0..1PreconditionBaseXML Namespace: urn:hl7-org:sdtc
                                                                                                                                                                              .... atLeastOneFalse 0..1PreconditionBaseXML Namespace: urn:hl7-org:sdtc0..1PreconditionBaseXML Namespace: urn:hl7-org:sdtc
                                                                                                                                                                                .... onlyOneTrue 0..1PreconditionBaseXML Namespace: urn:hl7-org:sdtc0..1PreconditionBaseXML Namespace: urn:hl7-org:sdtc
                                                                                                                                                                                  .... onlyOneFalse 0..1PreconditionBaseXML Namespace: urn:hl7-org:sdtc0..1PreconditionBaseXML Namespace: urn:hl7-org:sdtc
                                                                                                                                                                                    .... criterion 1..1CriterionXML Namespace: urn:hl7-org:sdtc0..1CriterionXML Namespace: urn:hl7-org:sdtc
                                                                                                                                                                                    • Element minimum cardinalities differ: '1' vs '0'
                                                                                                                                                                                    ..... 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 1..1??Binding: ?? (required)0..1??Binding: ?? (required)
                                                                                                                                                                                                      • Element minimum cardinalities differ: '1' vs '0'
                                                                                                                                                                                                      ..... moodCode 0..1??Binding: ?? (required)
                                                                                                                                                                                                      Fixed Value: EVN.CRT
                                                                                                                                                                                                      0..1??Binding: ?? (required)
                                                                                                                                                                                                      Fixed Value: EVN.CRT
                                                                                                                                                                                                        ..... code 1..1CDBinding: ?? (preferred)1..1CDBinding: ?? (preferred)
                                                                                                                                                                                                          ..... text 0..1ED0..1ED
                                                                                                                                                                                                            ..... value 0..1BL, ED, ST, CD, CV, CE, SC, II, TEL, AD, EN, INT, REAL, PQ, MO, TS, IVL_PQ, IVL_TS, PIVL_TS, EIVL_TS, SXPR_TS0..1BL, ED, ST, CD, CV, CE, SC, II, TEL, AD, EN, INT, REAL, PQ, MO, TS, IVL_PQ, IVL_TS, PIVL_TS, EIVL_TS, SXPR_TS
                                                                                                                                                                                                              ... referenceRange 0..*InfrastructureRoot0..*InfrastructureRoot
                                                                                                                                                                                                                .... 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
                                                                                                                                                                                                                                      ... sdtcInFulfillmentOf1 0..*InFulfillmentOf1XML: inFulfillmentOf1 (urn:hl7-org:sdtc)
                                                                                                                                                                                                                                      0..*InFulfillmentOf1XML: inFulfillmentOf1 (urn:hl7-org:sdtc)

                                                                                                                                                                                                                                        doco Documentation for this format