PackagesCanonicalsLogsProblems
    Packages
    hl7.cda.us.ccda@4.0.0
    http://hl7.org/cda/us/ccda/StructureDefinition/AdvanceDirectivesSection
description: 'This section contains details about the patient’s advance healthcare directives, including references to supporting documents such as Living Wills, Healthcare Power of Attorney, Personal Advance Care Plans, DNR Orders, and Portable Medical Orders. Each type of advance directive document is represented by an individual Advance Directive Observation within a single Advance Directive Existence Observation. Each Advance Directive Observation specifies the type of advance directive and provides a unique reference for the document. Additionally, the Advance Directive Observation may include information about the document’s author and any individuals who verified the information with the patient or their healthcare agent.\n\n#### Templates Used\nAlthough open templates may contain any valid CDA content, the following templates are specifically called out by this template:\n\n**Required Entries**: [AdvanceDirectiveExistenceObservation](StructureDefinition-AdvanceDirectiveExistenceObservation.html)'
package_name: hl7.cda.us.ccda
derivation: constraint
name: AdvanceDirectivesSection
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}
      - {path: extension, type: value}
      min: 1
      slices:
        section:
          match: {root: 2.16.840.1.113883.10.20.22.2.21.1, extension: '2022-02-14'}
          schema:
            _required: true
            index: 2
            elements:
              root:
                pattern: {type: string, value: 2.16.840.1.113883.10.20.22.2.21.1}
                type: string
                index: 3
              extension:
                pattern: {type: string, value: '2022-02-14'}
                type: string
                index: 4
            required: [extension, root]
            extensions: {}
  code:
    short: Advance directives
    index: 5
    elements:
      code:
        pattern: {type: code, value: 42348-3}
        type: code
        index: 6
      codeSystem:
        pattern: {type: string, value: 2.16.840.1.113883.6.1}
        type: string
        index: 7
    required: [code, codeSystem]
  title: {index: 8}
  text: {index: 9}
  entry:
    index: 10
    slicing:
      rules: open
      discriminator:
      - {path: observation, type: profile}
      - {path: organizer, type: profile}
      min: null
      slices:
        AdvDirExistanceObservation:
          match: {}
          schema:
            array: true
            index: 11
            elements:
              observation: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Observation', short: '𝗨𝗦𝗖𝗗𝗜: Advance Directive Existence Observation', index: 12}
            required: [observation]
package_version: 4.0.0
class: logical
kind: logical
url: http://hl7.org/cda/us/ccda/StructureDefinition/AdvanceDirectivesSection
base: http://hl7.org/cda/stds/core/StructureDefinition/Section
version: 4.0.0
required: [code, templateId, text, title]