{
"description": "Verarbeitet Informationen über die Dispensierung eines E-Rezepts und die abgegebenen Medikamente.",
"_filename": "StructureDefinition-GEM-ERP-PR-MedicationDispense.json",
"package_name": "de.gematik.erezept-workflow.r4",
"date": "2025-12-19",
"derivation": "constraint",
"publisher": null,
"fhirVersion": "4.0.1",
"name": "GEM_ERP_PR_MedicationDispense",
"abstract": false,
"type": "MedicationDispense",
"experimental": null,
"resourceType": "StructureDefinition",
"title": "Dispensierung eines E-Rezepts",
"package_version": "1.6.1",
"status": "active",
"id": "e3a03c26-d1fb-4128-a50e-d0e496bc3c8a",
"kind": "resource",
"url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense",
"version": "1.6.1",
"differential": {
"element": [ {
"id": "MedicationDispense",
"path": "MedicationDispense",
"constraint": [ {
"key": "workflow-dosageExtensionBeiDosierung",
"human": "Wenn eine Dosierung angegeben wurde, muss der generierte Dosierungstext, sowie die Metainformationen zur Generierung angegeben werden.",
"source": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense",
"severity": "error",
"expression": "dosageInstruction.exists() implies extension.where(url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.renderedDosageInstruction').exists() and extension.where(url = 'http://ig.fhir.de/igs/medication/StructureDefinition/GeneratedDosageInstructionsMeta').exists()"
} ]
}, {
"id": "MedicationDispense.meta",
"min": 1,
"path": "MedicationDispense.meta"
}, {
"id": "MedicationDispense.meta.profile",
"max": "1",
"min": 1,
"path": "MedicationDispense.meta.profile",
"slicing": {
"rules": "closed",
"ordered": false,
"description": "Slicing für meta profile",
"discriminator": [ {
"path": "$this",
"type": "value"
} ]
},
"mustSupport": true
}, {
"id": "MedicationDispense.meta.profile:workflowProfile",
"max": "1",
"min": 1,
"path": "MedicationDispense.meta.profile",
"sliceName": "workflowProfile",
"mustSupport": true,
"fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.6"
}, {
"id": "MedicationDispense.identifier",
"min": 1,
"path": "MedicationDispense.identifier",
"short": "E-Rezept-ID"
}, {
"id": "MedicationDispense.identifier:prescriptionID",
"max": "1",
"min": 1,
"path": "MedicationDispense.identifier",
"type": [ {
"code": "Identifier",
"profile": [ "https://gematik.de/fhir/ti/StructureDefinition/e-prescription-id" ]
} ],
"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": "Die MedicationDispense verweist auf ein Medikament, das abgegeben wurde."
}, {
"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"
}