description: An AdvanceDirective is a verbal or written description of the patient’s wishes with regard to future medical action or end of their life. An advanceDirective is mainly used for situations in which the patient is no longer able to speak about these decisions with their healthcare provider. package_name: healthdata.be.r4.cbb derivation: constraint name: HdBeAdvanceDirective 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', 'https://fhir.healthdata.be/StructureDefinition/HdBe-ContactPerson'] index: 19 code: short: LivingWillType binding: {strength: extensible, valueSet: 'https://fhir.healthdata.be/ValueSet/TypeOfLivingWill'} index: 20 provision: elementReference: ['https://fhir.healthdata.be/StructureDefinition/HdBe-AdvanceDirective', elements, org/fhir/StructureDefinition/Consent#Consent, elements, provision] index: 21 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: 'https://fhir.healthdata.be/StructureDefinition/ext-AdvanceDirective.Disorder', index: 1} min: 0 comment: match: {url: null} schema: type: Extension url: https://fhir.healthdata.be/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.7.0-alpha extensions: disorder: {url: 'https://fhir.healthdata.be/StructureDefinition/ext-AdvanceDirective.Disorder', min: 0, type: Extension, index: 1} comment: url: https://fhir.healthdata.be/StructureDefinition/ext-Comment type: Extension index: 2 elements: value: short: Comment choices: [] index: 4 class: profile kind: resource url: https://fhir.healthdata.be/StructureDefinition/HdBe-AdvanceDirective base: http://hl7.org/fhir/StructureDefinition/Consent version: null