{
"description": "Handles information about the redeem of the prescription and the submited medication.",
"_filename": "StructureDefinition-GEM-ERP-PR-MedicationDispense.json",
"package_name": "de.gematik.erezept",
"date": "2025-01-01",
"derivation": "constraint",
"publisher": null,
"fhirVersion": "4.0.1",
"name": "GEM_ERP_PR_MedicationDispense",
"abstract": false,
"type": "MedicationDispense",
"experimental": null,
"resourceType": "StructureDefinition",
"title": "Dispensation of the Prescription",
"package_version": "workflow.r4-1.5.0-beta6",
"status": "draft",
"id": "bb8ecaed-8300-4776-90a8-9062f140f90f",
"kind": "resource",
"url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense",
"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|1.5"
}, {
"id": "MedicationDispense.identifier",
"min": 1,
"path": "MedicationDispense.identifier",
"short": "ePrescription 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",
"fixedCode": "completed"
}, {
"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"
}, {
"id": "MedicationDispense.performer.actor.identifier",
"min": 1,
"path": "MedicationDispense.performer.actor.identifier",
"type": [ {
"code": "Identifier",
"profile": [ "http://fhir.de/StructureDefinition/identifier-telematik-id" ]
} ]
}, {
"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",
"severity": "error",
"expression": "toString().length()=10"
} ],
"mustSupport": false
}, {
"id": "MedicationDispense.whenHandedOver",
"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",
"severity": "error",
"expression": "toString().length()=10"
} ]
} ]
},
"baseDefinition": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"
}