PackagesCanonicalsLogsProblems
    Packages
    hl7.cda.us.ccda@4.0.0-ballot
    http://hl7.org/cda/us/ccda/StructureDefinition/GoalsSection
description: This template represents patient Goals. A goal is a defined outcome or condition to be achieved in the process of patient care. Goals include patient-defined over-arching goals (e.g., alleviation of health concerns, desired/intended positive outcomes from interventions, longevity, function, symptom management, comfort) and health concern-specific or intervention-specific goals to achieve desired outcomes.
package_name: hl7.cda.us.ccda
derivation: constraint
name: GoalsSection
type: http://hl7.org/cda/stds/core/StructureDefinition/Section
elements:
  nullFlavor: {short: 'If a required section contains no information, the @nullFlavor MAY be set to NI', index: 0}
  templateId:
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: root, type: value}
      min: 1
      slices:
        section:
          match: {root: 2.16.840.1.113883.10.20.22.2.60}
          schema:
            _required: true
            index: 2
            elements:
              root:
                pattern: {type: String, value: 2.16.840.1.113883.10.20.22.2.60}
                index: 3
              extension: {index: 4}
            required: [root]
            extensions: {}
  code:
    short: Goals Narrative
    index: 5
    elements:
      code:
        pattern: {type: Code, value: 61146-7}
        index: 6
      codeSystem:
        pattern: {type: String, value: 2.16.840.1.113883.6.1}
        index: 7
    required: [codeSystem, code]
  title: {index: 8}
  text: {index: 9}
  entry:
    short: 'If section/@nullFlavor is not present:'
    index: 10
    slicing:
      rules: open
      discriminator:
      - {path: observation, type: profile}
      min: null
      slices:
        goal:
          match: {}
          schema:
            array: true
            index: 11
            elements:
              observation: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Observation', index: 12}
            required: [observation]
package_version: 4.0.0-ballot
class: logical
kind: logical
url: http://hl7.org/cda/us/ccda/StructureDefinition/GoalsSection
base: http://hl7.org/cda/stds/core/StructureDefinition/Section
version: 4.0.0-ballot
required: [text, title, templateId, code]