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: PGO.02 derivation: constraint name: Zib AdvanceDirective type: Consent elements: patient: type: Reference refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-patient'] index: 15 category: array: true min: 2 index: 5 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: 6 elements: coding: index: 7 elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 8 code: pattern: {type: Code, value: '11341000146107'} index: 9 display: pattern: {type: String, value: Living will and advance directive record (record artifact)} index: 10 required: [system, code] required: [coding] typeOfLivingWill: match: coding: {system: null} schema: short: TypeOfLivingWill _required: true index: 11 elements: coding: index: 12 elements: system: {index: 13} code: {index: 14} 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/Group', 'http://nictiz.nl/fhir/StructureDefinition/zib-MedicalDeviceProduct'] index: 22 organization: type: Reference refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-organization'] index: 19 source: short: LivingWillDocument choices: [] index: 21 dateTime: {short: LivingWillDate, index: 16} 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 elements: valueReference: index: 2 slicing: slices: valueReference: match: {} schema: {index: 2} comment: match: {url: null} schema: type: Extension short: Comment url: h index: 3 elements: valueString: index: 4 slicing: slices: valueString: match: {} schema: {index: 4} consentingParty: short: Representative refers: ['http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson'] type: Reference index: 17 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/Group', 'http://nictiz.nl/fhir/StructureDefinition/zib-MedicalDeviceProduct'] index: 18 package_version: 1.02.1 extensions: disorder: url: h type: Extension short: Disorder index: 1 elements: valueReference: index: 2 slicing: slices: valueReference: match: {} schema: {index: 2} comment: url: h type: Extension short: Comment index: 3 elements: valueString: index: 4 slicing: slices: valueString: match: {} schema: {index: 4} class: profile kind: resource url: http://nictiz.nl/fhir/StructureDefinition/zib-AdvanceDirective base: http://hl7.org/fhir/StructureDefinition/Consent version: 2.0.2 required: [dateTime]