description: 'AdvanceDirective (formerly know as LivingWill) as defined by the Dutch Health and Care Information models (Dutch: Zorginformatiebouwsteen or ZIB) version 3.1.\r\nA 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.stu3.zib2017 derivation: constraint name: Zib AdvanceDirective type: Consent elements: patient: type: Reference refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-patient'] index: 11 category: array: true min: 2 index: 4 slicing: rules: open discriminator: - {path: $this, type: value} min: 2 slices: livingWill: match: coding: - {code: '11341000146107', system: 'http://snomed.info/sct'} schema: short: Living will and advance directive record pattern: type: CodeableConcept value: coding: - {code: '11341000146107', system: 'http://snomed.info/sct'} _required: true index: 5 elements: coding: elements: display: {defaultValueString: Living will and advance directive record (record artifact), index: 6} typeOfLivingWill: match: {} schema: short: TypeOfLivingWill _required: true index: 7 elements: coding: index: 8 elements: system: {index: 9} code: {index: 10} required: [system, code] required: [coding] except: elements: actor: elements: reference: type: Reference refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-organization', 'http://fhir.nl/fhir/StructureDefinition/nl-core-patient', 'http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner', 'http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson', 'http://hl7.org/fhir/StructureDefinition/CareTeam', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group'] index: 20 extensions: practitionerRole: {url: h, max: 1, type: Extension, index: 22} elements: extension: index: 21 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: practitionerRole: match: {url: null} schema: {type: Extension, url: h, index: 22} max: 1 organization: type: Reference refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-organization'] index: 17 source: short: LivingWillDocument choices: [] index: 19 dateTime: {short: LivingWillDate, index: 12} extension: index: 0 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: disorder: match: {url: null} schema: {type: Extension, short: Disorder, url: h, index: 1} comment: match: {url: null} schema: {type: Extension, url: h, index: 2} max: 1 consentingParty: short: Representative refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson'] type: Reference index: 13 identifier: {index: 3} actor: elements: reference: type: Reference refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-organization', 'http://fhir.nl/fhir/StructureDefinition/nl-core-patient', 'http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner', 'http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson', 'http://hl7.org/fhir/StructureDefinition/CareTeam', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group'] index: 14 extensions: practitionerRole: {url: h, max: 1, type: Extension, index: 16} elements: extension: index: 15 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: practitionerRole: match: {url: null} schema: {type: Extension, url: h, index: 16} max: 1 package_version: 2.1.7 extensions: disorder: {url: h, type: Extension, short: Disorder, index: 1} comment: {url: h, max: 1, type: Extension, index: 2} class: profile kind: resource url: http://nictiz.nl/fhir/StructureDefinition/zib-AdvanceDirective base: http://hl7.org/fhir/StructureDefinition/Consent version: 2.1.2 required: [dateTime]