description: Records the consent of the patient for an operation in the context of ePrescription. package_name: de.gematik.erezept derivation: constraint name: GEM_ERP_PR_Consent type: Consent elements: meta: index: 0 elements: profile: pattern: {type: Canonical, value: 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Consent|1.5'} index: 1 required: [profile] status: pattern: {type: Code, value: active} index: 2 scope: elements: coding: index: 3 elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/consentscope'} index: 4 code: pattern: {type: Code, value: patient-privacy} index: 5 display: pattern: {type: String, value: Privacy Consent} index: 6 required: [coding] category: binding: {strength: required, valueSet: 'https://gematik.de/fhir/erp/ValueSet/GEM_ERP_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/ValueSet/GEM_ERP_VS_Consent_PolicyRule'} mustSupport: true index: 13 package_version: workflow.r4-1.5.0-beta10 class: profile kind: resource url: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Consent base: http://hl7.org/fhir/StructureDefinition/Consent version: '1.5' required: [meta, patient]