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

Left:Goal Observation (http://hl7.org/cda/us/ccda/StructureDefinition/GoalObservation)
Right:Goal Observation (http://hl7.org/cda/us/ccda/StructureDefinition/GoalObservation)

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:16:25-05:00'
InformationStructureDefinition.shortValues for short differ: 'When the Goal is a Social Determinant of Health Goal, use @code="8689-2" (History of Social function), @codeSystem="2.16.840.1.113883.6.1" (LOINC)' vs 'When the Goal is Social Determinant of Health Goal, the observation/code SHOULD contain exactly one [1..1] code, which SHOULD contain exactly one [1..1] @code='8689-2 'History of Social function'
InformationStructureDefinition.commentValues for comment differ: 'SHALL contain exactly one [1..1] code, which SHOULD be selected from CodeSystem LOINC (urn:oid:2.16.840.1.113883.6.1) (CONF:4515-30784).' vs 'This code SHALL contain exactly one [1..1] @codeSystem='2.16.840.1.113883.6.1' (CodeSystem: LOINC 2.16.840.1.113883.6.1).'
InformationObservation.statusCode.nullFlavorElement maximum 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:16:25-05:00
        • Values Differ
        .descriptionThis template represents a patient health goal. A Goal Observation template may have related components that are acts, encounters, observations, procedures, substance administrations, or supplies. A goal identifies a future desired condition or state. Goals are often related to physical or mental health conditions or diseases, but also may be related to a Social Determinant of Health (SDOH) risks or states. For example, to have adequate quality meals and snacks, gain transportation security - able to access health and social needs). SDOH data relate to conditions in which people live, learn, work, and play and their effects on health risks and outcomes. A Goal is established by the patient or provider. A goal may be a patient or provider goal. If the author is set to the recordTarget (patient), this is a patient goal. If the author is set to a provider, this is a provider goal. If both patient and provider are set as authors, this is a negotiated goal. A goal usually has a related health concern and/or risk. A goal may have components consisting of other goals (milestones). These milestones are related to the overall goal through entryRelationships.This template represents a patient health goal. A Goal Observation template may have related components that are acts, encounters, observations, procedures, substance administrations, or supplies. A goal identifies a future desired condition or state. Goals are often related to physical or mental health conditions or diseases, but also may be related to a Social Determinant of Health (SDOH) risks or states. For example, to have adequate quality meals and snacks, gain transportation security - able to access health and social needs). SDOH data relate to conditions in which people live, learn, work, and play and their effects on health risks and outcomes. A Goal is established by the patient or provider or both. A goal may be a patient or provider goal. If the author is set to the recordTarget (patient), this is a patient goal. If the author is set to a provider, this is a provider goal. If both patient and provider are set as authors, this is called a negotiated or shared goal. A goal usually has a related health concern and/or risk. A goal may have components consisting of other goals (milestones). These milestones are related to the overall goal through entryRelationships.
        • Values Differ
        .experimental
          .fhirVersion5.0.0
            .jurisdiction
              ..jurisdiction[0]urn:iso:std:iso:3166#US
                .kindlogical
                  .nameGoalObservation
                    .publisherHealth Level Seven
                      .purpose
                        .statusdraft
                          .titleGoal Observation
                            .typehttp://hl7.org/cda/stds/core/StructureDefinition/Observation
                              .urlhttp://hl7.org/cda/us/ccda/StructureDefinition/GoalObservation
                                .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
                                should-effectiveTime: SHOULD contain effectiveTime
                                should-author: SHOULD contain author
                                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-effectiveTime: SHOULD contain effectiveTime
                                should-author: SHOULD contain author
                                  ... 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: GOL
                                                      1..1??Binding: ?? (required)
                                                      Fixed Value: GOL
                                                        ... negationInd 0..1??0..1??
                                                          ... id 1..*II1..*II
                                                            ... code 1..1CDWhen the Goal is a Social Determinant of Health Goal, use @code="8689-2" (History of Social function), @codeSystem="2.16.840.1.113883.6.1" (LOINC)
                                                            Binding: ?? (example)
                                                            1..1CDWhen the Goal is Social Determinant of Health Goal, the observation/code SHOULD contain exactly one [1..1] code, which SHOULD contain exactly one [1..1] @code="8689-2 "History of Social function
                                                            Binding: ?? (example)
                                                              ... 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..1CSBinding: ?? (required)1..1CSBinding: ?? (required)
                                                                                        .... nullFlavor 0..1??Binding: ?? (required)0..0
                                                                                        • Element maximum cardinalities differ: '1' vs '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 0..1IVL_TS0..1IVL_TSeffectiveTime/low represents when to start working on the goal. effectiveTime/high or effectiveTime/value represents when the goal should be met (i.e. a due date)
                                                                                                              ... priorityCode 0..1CEBinding: ?? (example)0..1CEBinding: ?? (example)
                                                                                                                ... repeatNumber 0..1IVL_INT0..1IVL_INT
                                                                                                                  ... languageCode 0..1CSBinding: ?? (required)0..1CSBinding: ?? (required)
                                                                                                                    ... value 0..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_PQWhen the Goal is Social Determinant of Health Goal, the observation/value **SHOULD** be selected from ValueSet [Social Determinant of Health Goals](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1247.71/expansion) **DYNAMIC** (CONF:4515-32963).
                                                                                                                    0..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_PQSlice: Unordered, Open by type:$this
                                                                                                                      ... 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..*??If the author is the recordTarget (patient), this is a patient goal. If the author is a provider, this is a provider goal. If both patient and provider are authors, this is a negotiated goal. If no author is present, it is assumed the document or section author(s) is the author of this goal.
                                                                                                                                  0..*??If the author is the recordTarget (patient), this is a patient goal. If the author is a provider, this is a provider goal. If both patient and provider are authors, this is a negotiated goal. If no author is present, it is assumed the document or section author(s) is the author of this goal.
                                                                                                                                    ... informant 0..*Informant0..*Informant
                                                                                                                                      ... participant 0..*Participant20..*Participant2
                                                                                                                                        ... Slices for entryRelationship 0..*EntryRelationshipSlice: Unordered, Open by profile:act, profile:observation, value:typeCode
                                                                                                                                        0..*EntryRelationshipSlice: Unordered, Open by profile:act, profile:observation, value:typeCode
                                                                                                                                          ... reference 0..*ReferenceWhere it is necessary to reference an external clinical document such a Referral document, Discharge Summary document etc., the External Document Reference template can be used to reference this document. However, if this Care Plan document is replacing or appending another Care Plan document in the same set, that relationship is set in the header, using ClinicalDocument/relatedDocument.
                                                                                                                                          0..*ReferenceWhere it is necessary to reference an external clinical document such a Referral document, Discharge Summary document etc., the External Document Reference template can be used to reference this document. However, if this Care Plan document is replacing or appending another Care Plan document in the same set, that relationship is set in the header, using ClinicalDocument/relatedDocument.
                                                                                                                                            .... 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 1..1??Binding: ?? (required)
                                                                                                                                                              Fixed Value: REFR
                                                                                                                                                              1..1??Binding: ?? (required)
                                                                                                                                                              Fixed Value: REFR
                                                                                                                                                                .... seperatableInd 0..1BL0..1BL
                                                                                                                                                                  .... externalAct 0..1ExternalAct0..1ExternalAct
                                                                                                                                                                    .... externalObservation 0..1ExternalObservation0..1ExternalObservation
                                                                                                                                                                      .... externalProcedure 0..1ExternalProcedure0..1ExternalProcedure
                                                                                                                                                                        .... externalDocument C1..1??Base for all types and resources
                                                                                                                                                                        should-setId: SHOULD contain setId
                                                                                                                                                                        should-versionNumber: SHOULD contain versionNumber
                                                                                                                                                                        C1..1??Base for all types and resources
                                                                                                                                                                        should-setId: SHOULD contain setId
                                                                                                                                                                        should-versionNumber: SHOULD contain versionNumber
                                                                                                                                                                          ... precondition 0..*Precondition0..*Precondition
                                                                                                                                                                            ... sdtcPrecondition2 0..*Precondition2XML: precondition2 (urn:hl7-org:sdtc)
                                                                                                                                                                            0..*Precondition2XML: precondition2 (urn:hl7-org:sdtc)
                                                                                                                                                                              ... 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