description: Whether the patient has somone with lasting power of attorney to make decisions on their behalf when unable to do so themselves. package_name: NHSD.Assets.STU3 derivation: constraint name: EOL-LPA-Flag-1 type: Flag elements: category: {index: 13} encounter: type: Reference refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Encounter-1'] index: 24 author: type: Reference refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1'] index: 25 extension: index: 0 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: RelatedPerson: match: {url: null} schema: {type: Extension, short: Person who has been granted Lating Power of Attorney, url: h, index: 1} min: 0 status: pattern: {type: Code, value: active} index: 12 code: short: SNOMED Code indicating patient has a lasting power of attorney in place index: 14 elements: coding: index: 15 elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 16 version: {index: 17} code: {index: 18} display: {index: 19} userSelected: {index: 20} required: [display, system, code] text: {index: 21} required: [coding] identifier: index: 2 elements: type: elements: coding: elements: system: {index: 3} version: {index: 4} code: {index: 5} userSelected: {index: 6} required: [system, code] text: {index: 7} system: {index: 8} value: {index: 9} period: {index: 10} assigner: type: Reference refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1'] index: 11 period: {index: 23} subject: type: Reference refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/EOL-Patient-1'] index: 22 package_version: 1.0.0 extensions: RelatedPerson: {url: h, min: 0, type: Extension, short: Person who has been granted Lating Power of Attorney, index: 1} class: profile kind: resource url: https://fhir.nhs.uk/STU3/StructureDefinition/EOL-LPA-Flag-1 base: http://hl7.org/fhir/StructureDefinition/Flag version: 1.0.0