description: Records the consent of the patient for an operation in the context of ePrescription. package_name: rs/de.gematik.erezept.eu derivation: constraint name: GEM_ERPEU_PR_Consent type: Consent elements: meta: index: 0 elements: profile: pattern: {type: canonical, value: 'https://gematik.de/fhir/erp-eu/StructureDefinition/GEM_ERPEU_PR_Consent|1.5'} type: canonical index: 1 required: [profile] status: pattern: {type: code, value: active} type: code index: 2 scope: elements: coding: index: 3 elements: system: pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/consentscope'} type: uri index: 4 code: pattern: {type: code, value: patient-privacy} type: code index: 5 display: pattern: {type: string, value: Privacy Consent} type: string index: 6 required: [coding] category: binding: {strength: required, valueSet: 'https://gematik.de/fhir/erp-eu/ValueSet/GEM_ERPEU_VS_ConsentType'} index: 7 patient: index: 8 elements: identifier: type: Identifier index: 9 elements: assigner: mustSupport: true index: 10 elements: identifier: {type: Identifier, mustSupport: true, index: 11} required: [identifier] dateTime: {mustSupport: true, index: 12} policyRule: binding: {strength: required, valueSet: 'https://gematik.de/fhir/erp-eu/ValueSet/GEM_ERPEU_VS_Consent_PolicyRule'} mustSupport: true index: 13 package_version: 0.9.0-beta class: profile kind: resource url: https://gematik.de/fhir/erp-eu/StructureDefinition/GEM_ERPEU_PR_Consent base: http://hl7.org/fhir/StructureDefinition/Consent version: '1.0' required: [meta, patient]