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: 14 category: array: true min: 2 index: 4 slicing: rules: open discriminator: - {path: coding.system, type: value} min: 2 slices: livingWill: match: coding: {system: 'http://snomed.info/sct'} schema: short: Living will and advance directive record _required: true index: 5 elements: coding: index: 6 elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 7 code: pattern: {type: Code, value: '11341000146107'} index: 8 display: {defaultValueString: Living will and advance directive record (record artifact), index: 9} required: [system, code] required: [coding] typeOfLivingWill: match: coding: {system: null} schema: short: TypeOfLivingWill _required: true index: 10 elements: coding: index: 11 elements: system: {index: 12} code: {index: 13} 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: 23 extensions: practitionerRole: {url: h, max: 1, type: Extension, index: 25} elements: extension: index: 24 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: practitionerRole: match: {url: null} schema: {type: Extension, url: h, index: 25} max: 1 organization: type: Reference refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-organization'] index: 20 source: short: LivingWillDocument choices: [] index: 22 dateTime: {short: LivingWillDate, index: 15} 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: 16 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: 17 extensions: practitionerRole: {url: h, max: 1, type: Extension, index: 19} elements: extension: index: 18 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: practitionerRole: match: {url: null} schema: {type: Extension, url: h, index: 19} max: 1 package_version: 1.1.0 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.0 required: [dateTime]