description: Handles information about the redeem of the prescription and the submited medication from the EU. package_name: de.gematik.erezept-workflow.r4 derivation: constraint name: GEM_ERP_PR_MedicationDispense_EU type: MedicationDispense elements: category: short: Missing value indicates a prescription dispense. binding: {strength: required, valueSet: 'https://gematik.de/fhir/epa-medication/ValueSet/epa-medication-dispense-category-vs'} mustSupport: true index: 8 whenHandedOver: constraint: workflow-abgabeDatumsFormat: {human: 'Wert muss ein Datum in der Form: YYYY-MM-DD sein.', source: 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_EU', severity: error, expression: toString().length()=10} mustSupport: true index: 18 whenPrepared: constraint: workflow-abgabeDatumsFormat: {human: 'Wert muss ein Datum in der Form: YYYY-MM-DD sein.', source: 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_EU', severity: error, expression: toString().length()=10} index: 17 meta: index: 0 elements: profile: pattern: {type: Canonical, value: 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_EU|1.5'} index: 1 required: [profile] substitution: {mustSupport: true, index: 20} extension: type: Extension url: https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension index: 2 slicing: slices: rxPrescriptionProcessIdentifier: match: {} schema: {type: Extension, url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension', index: 2} min: 0 max: 1 status: short: completed binding: {strength: required, valueSet: 'https://gematik.de/fhir/epa-medication/ValueSet/epa-medication-dispense-status-vs'} pattern: {type: Code, value: completed} index: 7 dosageInstruction: {mustSupport: true, index: 19} identifier: short: ePrescription identifier index: 3 slicing: rules: open ordered: false discriminator: - {path: $this, type: pattern} min: 1 slices: RxOriginatorProcessIdentifier: match: {system: 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier'} schema: type: Identifier pattern: type: Identifier value: {system: 'https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier'} index: 4 min: 0 max: 1 EPADispensationIdentifier: match: {system: 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier'} schema: type: Identifier pattern: type: Identifier value: {system: 'https://gematik.de/fhir/epa-medication/sid/dispensation-identifier'} index: 5 min: 0 max: 1 prescriptionID: match: {system: 'https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId'} schema: type: Identifier pattern: type: Identifier value: {system: 'https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId'} _required: true index: 6 min: 1 max: 1 medicationReference: type: Reference mustSupport: true choiceOf: medication refers: ['https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication'] index: 11 authorizingPrescription: elements: reference: {mustSupport: true, index: 16} required: [reference] subject: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/StructureDefinition/Patient'] index: 12 elements: identifier: {type: Identifier, mustSupport: true, index: 13} required: [identifier] performer: mustSupport: true index: 14 elements: actor: type: Reference refers: ['https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_EUPractitionerRole'] index: 15 medication: mustSupport: true choices: [medicationReference] index: 10 package_version: 1.5.0-beta6 extensions: rxPrescriptionProcessIdentifier: {url: 'https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension', min: 0, max: 1, type: Extension, index: 2} class: profile kind: resource url: https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_EU base: http://hl7.org/fhir/StructureDefinition/MedicationDispense version: '1.5' required: [whenHandedOver, identifier, subject, meta, performer]