description: An extension to indicate the patient's legal capability regarding medical treatment decisions, and to provide a comment on this capability. package_name: iknl.fhir.stu3.pzp derivation: constraint name: ExtLegallyCapableMedicalTreatmentDecisions type: Extension elements: extension: index: 0 slicing: slices: legallyCapable: match: {} schema: index: 0 extensions: {} elements: extension: {index: 1} url: pattern: {type: Uri, value: legallyCapable} index: 2 value: short: LegallyCapable choices: [valueBoolean] index: 4 valueBoolean: {type: boolean, short: LegallyCapable, choiceOf: value, index: 5} legallyCapableComment: match: {} schema: index: 6 extensions: {} elements: extension: {index: 7} url: pattern: {type: Uri, value: legallyCapableComment} index: 8 value: short: LegallyCapableComment choices: [valueString] index: 10 valueString: {type: string, short: LegallyCapableComment, choiceOf: value, index: 11} url: pattern: {type: Uri, value: 'https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ext-LegallyCapable-MedicalTreatmentDecisions'} index: 12 value: choices: [] index: 14 package_version: 1.0.0-rc1 extensions: legallyCapable: url: null index: 0 extensions: {} elements: extension: {index: 1} url: pattern: {type: Uri, value: legallyCapable} index: 2 value: short: LegallyCapable choices: [valueBoolean] index: 4 valueBoolean: {type: boolean, short: LegallyCapable, choiceOf: value, index: 5} legallyCapableComment: url: null index: 6 extensions: {} elements: extension: {index: 7} url: pattern: {type: Uri, value: legallyCapableComment} index: 8 value: short: LegallyCapableComment choices: [valueString] index: 10 valueString: {type: string, short: LegallyCapableComment, choiceOf: value, index: 11} class: extension kind: complex-type url: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ext-LegallyCapable-MedicalTreatmentDecisions base: http://hl7.org/fhir/StructureDefinition/Extension version: 1.0.0-rc1