description: This profile constrains the Consent resource for the purpose representing Advance Directives in the scope of the European Patient Summary. package_name: hl7.fhir.eu.eps derivation: constraint name: ConsentEuEps type: Consent elements: extension: index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: note: match: {url: null} schema: {type: Extension, short: Comment, url: 'http://hl7.org/fhir/StructureDefinition/note', index: 1} min: 0 relatedCondition: match: {url: null} schema: type: Extension url: http://hl7.eu/fhir/StructureDefinition/consent-relatedCondition index: 2 elements: value: short: Related conditions choices: [] index: 4 status: {short: The current state of this will., index: 5} scope: pattern: type: CodeableConcept value: coding: - {code: adr, system: 'http://terminology.hl7.org/CodeSystem/consentscope'} index: 6 category: {short: Living will type, index: 7} dateTime: {short: When this Living will was created or indexed, index: 8} performer: {short: Who is agreeing to this policy and rules, index: 9} source: short: Living will document choices: [] index: 11 package_version: 1.0.0-ballot extensions: note: {url: 'http://hl7.org/fhir/StructureDefinition/note', min: 0, type: Extension, short: Comment, index: 1} relatedCondition: url: http://hl7.eu/fhir/StructureDefinition/consent-relatedCondition type: Extension index: 2 elements: value: short: Related conditions choices: [] index: 4 class: profile kind: resource url: http://hl7.eu/fhir/eps/StructureDefinition/consent-eu-eps base: http://hl7.org/fhir/StructureDefinition/Consent version: 1.0.0-ballot