{ "description": "Handles information about the redeem of the prescription and the submited medication from the EU.", "_filename": "StructureDefinition-GEM-ERP-PR-MedicationDispense-EU.json", "package_name": "de.gematik.erezept-workflow.r4", "date": "2025-01-01", "derivation": "constraint", "publisher": null, "fhirVersion": "4.0.1", "name": "GEM_ERP_PR_MedicationDispense_EU", "abstract": false, "type": "MedicationDispense", "experimental": null, "resourceType": "StructureDefinition", "title": "Dispensation of the Prescription from the EU", "package_version": "1.5.0-beta10", "status": "draft", "id": "f220cac9-ac1f-4275-9a32-d3b433a940a2", "kind": "resource", "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_EU", "version": "1.5", "differential": { "element": [ { "id": "MedicationDispense.meta", "min": 1, "path": "MedicationDispense.meta" }, { "id": "MedicationDispense.meta.profile", "max": "1", "min": 1, "path": "MedicationDispense.meta.profile", "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_EU|1.5" }, { "id": "MedicationDispense.extension:rxPrescriptionProcessIdentifier", "max": "1", "min": 0, "path": "MedicationDispense.extension", "type": [ { "code": "Extension", "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/rx-prescription-process-identifier-extension" ] } ], "sliceName": "rxPrescriptionProcessIdentifier" }, { "id": "MedicationDispense.identifier", "min": 1, "path": "MedicationDispense.identifier", "short": "ePrescription identifier", "slicing": { "rules": "open", "ordered": false, "discriminator": [ { "path": "$this", "type": "pattern" } ] } }, { "id": "MedicationDispense.identifier:RxOriginatorProcessIdentifier", "max": "1", "min": 0, "path": "MedicationDispense.identifier", "type": [ { "code": "Identifier", "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/rx-originator-process-identifier" ] } ], "sliceName": "RxOriginatorProcessIdentifier", "patternIdentifier": { "system": "https://gematik.de/fhir/epa-medication/sid/rx-originator-process-identifier" } }, { "id": "MedicationDispense.identifier:EPADispensationIdentifier", "max": "1", "min": 0, "path": "MedicationDispense.identifier", "type": [ { "code": "Identifier", "profile": [ "https://gematik.de/fhir/epa-medication/StructureDefinition/dispensation-identifier" ] } ], "sliceName": "EPADispensationIdentifier", "patternIdentifier": { "system": "https://gematik.de/fhir/epa-medication/sid/dispensation-identifier" } }, { "id": "MedicationDispense.identifier:prescriptionID", "max": "1", "min": 1, "path": "MedicationDispense.identifier", "type": [ { "code": "Identifier", "profile": [ "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PrescriptionId" ] } ], "sliceName": "prescriptionID", "patternIdentifier": { "system": "https://gematik.de/fhir/erp/NamingSystem/GEM_ERP_NS_PrescriptionId" } }, { "id": "MedicationDispense.status", "path": "MedicationDispense.status", "short": "completed", "binding": { "strength": "required", "valueSet": "https://gematik.de/fhir/epa-medication/ValueSet/epa-medication-dispense-status-vs" }, "fixedCode": "completed" }, { "id": "MedicationDispense.category", "path": "MedicationDispense.category", "short": "Missing value indicates a prescription dispense.", "binding": { "strength": "required", "valueSet": "https://gematik.de/fhir/epa-medication/ValueSet/epa-medication-dispense-category-vs", "description": "Defines the context of a Dispensation: prescription or non-prescription" }, "mustSupport": true }, { "id": "MedicationDispense.medication[x]", "path": "MedicationDispense.medication[x]", "type": [ { "code": "Reference", "targetProfile": [ "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Medication" ] } ], "definition": "The MedicationDispense references a medication which was dispensed", "mustSupport": true }, { "id": "MedicationDispense.subject", "min": 1, "path": "MedicationDispense.subject", "type": [ { "code": "Reference", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Patient" ] } ], "mustSupport": true }, { "id": "MedicationDispense.subject.identifier", "min": 1, "path": "MedicationDispense.subject.identifier", "type": [ { "code": "Identifier", "profile": [ "http://fhir.de/StructureDefinition/identifier-kvid-10" ] } ], "mustSupport": true }, { "id": "MedicationDispense.performer", "max": "1", "min": 1, "path": "MedicationDispense.performer", "mustSupport": true }, { "id": "MedicationDispense.performer.actor", "path": "MedicationDispense.performer.actor", "type": [ { "code": "Reference", "targetProfile": [ "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PractitionerRole_EU" ] } ] }, { "id": "MedicationDispense.authorizingPrescription.reference", "min": 1, "path": "MedicationDispense.authorizingPrescription.reference", "mustSupport": true }, { "id": "MedicationDispense.quantity", "path": "MedicationDispense.quantity", "short": "Number of dispensed packages/ units", "mustSupport": true }, { "id": "MedicationDispense.quantity.value", "path": "MedicationDispense.quantity.value", "mustSupport": true }, { "id": "MedicationDispense.quantity.unit", "path": "MedicationDispense.quantity.unit", "mustSupport": true }, { "id": "MedicationDispense.whenPrepared", "path": "MedicationDispense.whenPrepared", "constraint": [ { "key": "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" } ] }, { "id": "MedicationDispense.whenHandedOver", "min": 1, "path": "MedicationDispense.whenHandedOver", "constraint": [ { "key": "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 }, { "id": "MedicationDispense.dosageInstruction", "path": "MedicationDispense.dosageInstruction", "mustSupport": true }, { "id": "MedicationDispense.substitution", "path": "MedicationDispense.substitution", "mustSupport": true } ] }, "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationDispense" }