PackagesCanonicalsLogsProblems
    Packages
    hl7.cda.us.ccda@3.0.0-ballot
    http://hl7.org/cda/us/ccda/StructureDefinition/AdvanceDirectiveOrganizer
description: 'This clinical statement groups a set of advance directive observations documented together at a single point in time, and relevant during the episode of care being documented.\nThe effectiveTime of the organizer (TS) indicates the point in time when the advance directive observations were reviewed/verified. Or, if not reviewed/verified, then the time when the advance directive observations were made. The time element of the author indicates when the advance directive observations were recorded in the patient''s record. The effectiveTime of the organizer and the time element of the associated author element may often be the same. Note also for clarity: the effectiveTime of the individual advance directive observations indicates the interval in time when the directive went into effect (effectiveTime/low) and out of effect (effectiveTime/high). The author time element on an advance directive observation indicates the time when the observation was documented.'
package_name: hl7.cda.us.ccda
derivation: constraint
name: AdvanceDirectiveOrganizer
type: http://hl7.org/cda/stds/core/StructureDefinition/Organizer
elements:
  sdtcText:
    short: SHOULD reference the portion of section narrative text corresponding to this entry
    index: 10
    elements:
      reference:
        constraint:
          value-starts-octothorpe: {human: 'If reference/@value is present, it SHALL begin with a ''#'' and SHALL point to its corresponding narrative', source: 'http://hl7.org/cda/us/ccda/StructureDefinition/AdvanceDirectiveOrganizer', severity: error, expression: value.exists() implies value.startsWith('#')}
        index: 11
  participant: {short: SHOULD contain participant, index: 16}
  component:
    index: 17
    slicing:
      rules: open
      discriminator:
      - {path: observation, type: profile}
      min: 1
      slices:
        component1:
          match: {}
          schema:
            array: true
            min: 1
            _required: true
            index: 18
            elements:
              observation: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Observation', index: 19}
            required: [observation]
  classCode:
    pattern: {type: Code, value: CLUSTER}
    index: 4
  author: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Author', index: 14}
  id: {index: 6}
  code:
    short: Advance directive - living will
    index: 7
    elements:
      code:
        pattern: {type: Code, value: 45473-6}
        index: 8
      codeSystem:
        short: LOINC
        pattern: {type: String, value: 2.16.840.1.113883.6.1}
        index: 9
    required: [codeSystem, code]
  moodCode: {index: 5}
  templateId:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: root, type: value}
      - {path: extension, type: value}
      min: 1
      slices:
        advance-directive-org:
          match: {root: 2.16.840.1.113883.10.20.22.4.108, extension: '2022-02-14'}
          schema:
            _required: true
            index: 1
            elements:
              root:
                pattern: {type: String, value: 2.16.840.1.113883.10.20.22.4.108}
                index: 2
              extension:
                pattern: {type: String, value: '2022-02-14'}
                index: 3
            required: [root, extension]
            extensions: {}
  statusCode:
    index: 12
    elements:
      code:
        pattern: {type: Code, value: completed}
        index: 13
    required: [code]
  informant: {short: SHOULD contain informant, index: 15}
package_version: 3.0.0-ballot
class: logical
kind: logical
url: http://hl7.org/cda/us/ccda/StructureDefinition/AdvanceDirectiveOrganizer
base: http://hl7.org/cda/stds/core/StructureDefinition/Organizer
version: 3.0.0-ballot
required: [component, id, templateId, code]