PackagesCanonicalsLogsProblems
    Packages
    nictiz.fhir.nl.r4.zib2020@0.2.0-beta1
    http://nictiz.nl/fhir/StructureDefinition/zib-AdvanceDirective
description: A living will is a verbal or written description of the patient’s wishes with regard to future medical action or end of their life. A living will is mainly used for situations in which the patient is no longer able to speak about these decisions with their healthcare provider.
package_name: nictiz.fhir.nl.r4.zib2020
derivation: constraint
name: ZibAdvanceDirective
abstract: true
type: Consent
elements:
  category:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: acd, system: 'http://terminology.hl7.org/CodeSystem/consentcategorycodes'}
    index: 7
  provision:
    elements:
      actor:
        index: 16
        slicing:
          rules: open
          discriminator:
          - {path: role, type: value}
          min: null
          slices:
            representative:
              match:
                role:
                  coding:
                  - {code: RESPRSN, system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'}
              schema:
                index: 17
                elements:
                  role:
                    pattern:
                      type: CodeableConcept
                      value:
                        coding:
                        - {code: RESPRSN, system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'}
                    index: 18
                  reference:
                    type: Reference
                    short: Representative
                    refers: ['http://hl7.org/fhir/StructureDefinition/CareTeam', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'http://nictiz.nl/fhir/StructureDefinition/zib-ContactPerson']
                    index: 19
      code:
        short: LivingWillType
        binding: {strength: required, valueSet: 'http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.7.15.1--20200901000000'}
        index: 20
  sourceAttachment:
    type: Attachment
    choiceOf: source
    index: 13
    slicing:
      slices:
        sourceAttachment:
          match: {}
          schema: {type: Attachment, choiceOf: source, index: 13}
  source:
    choices: []
    index: 10
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        sourceAttachment:
          match: {}
          schema:
            choices: [sourceAttachment]
            index: 12
  scope:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: adr, system: 'http://terminology.hl7.org/CodeSystem/consentscope'}
    index: 6
  policy:
    elements:
      uri: {index: 15}
  dateTime: {short: LivingWillDate, index: 8}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        disorder:
          match: {url: null}
          schema: {type: Extension, url: 'http://nictiz.nl/fhir/StructureDefinition/ext-AdvanceDirective.Disorder', index: 1}
          min: 0
        comment:
          match: {url: null}
          schema:
            type: Extension
            url: http://nictiz.nl/fhir/StructureDefinition/ext-Comment
            index: 2
            elements:
              value:
                short: Comment
                choices: []
                index: 4
  status: {index: 5}
  source[x]:
    elements:
      data: {short: LivingWillDocument, index: 14}
package_version: 0.2.0-beta1
extensions:
  disorder: {url: 'http://nictiz.nl/fhir/StructureDefinition/ext-AdvanceDirective.Disorder', min: 0, type: Extension, index: 1}
  comment:
    url: http://nictiz.nl/fhir/StructureDefinition/ext-Comment
    type: Extension
    index: 2
    elements:
      value:
        short: Comment
        choices: []
        index: 4
class: profile
kind: resource
url: http://nictiz.nl/fhir/StructureDefinition/zib-AdvanceDirective
base: http://hl7.org/fhir/StructureDefinition/Consent
version: null