{
"description": "Verarbeitet Informationen über die ausgegebene DiGA",
"_filename": "StructureDefinition-GEM-ERP-PR-MedicationDispense-DiGA.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_DiGA",
"abstract": false,
"type": "MedicationDispense",
"experimental": null,
"resourceType": "StructureDefinition",
"title": "Dispensierung einer DiGA-Verordnung",
"package_version": "1.6.1",
"status": "active",
"id": "c2ec54e3-e134-4970-8121-067d436b69a3",
"kind": "resource",
"url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA",
"version": "1.6.1",
"differential": {
"element": [ {
"id": "MedicationDispense",
"path": "MedicationDispense",
"constraint": [ {
"key": "workflow-medicationdispense-redeemcode-1",
"human": "Eine Notiz wurde nicht gefunden, ist jedoch obligatorisch, wenn kein Einlösecode angegeben wird.",
"source": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA",
"severity": "error",
"expression": "extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_RedeemCode').empty() implies note.exists()"
}, {
"key": "workflow-medicationdispense-redeemcode-2",
"human": "Der Grund für fehlende Daten wurde nicht gefunden, ist jedoch obligatorisch, wenn kein Einlösecode angegeben wird.",
"source": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA",
"severity": "error",
"expression": "extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_RedeemCode').empty() implies medication.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()"
}, {
"key": "workflow-medicationdispense-redeemcode-3",
"human": "Name und Kennung der DiGA wurden nicht gefunden, sind jedoch obligatorisch, wenn ein Einlösecode angegeben wird.",
"source": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA",
"severity": "error",
"expression": "extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_RedeemCode').exists() implies (medication.display.exists() and medication.identifier.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_DiGA|1.6"
}, {
"id": "MedicationDispense.extension:redeemCode",
"max": "1",
"min": 0,
"path": "MedicationDispense.extension",
"type": [ {
"code": "Extension",
"profile": [ "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_RedeemCode" ]
} ],
"sliceName": "redeemCode"
}, {
"id": "MedicationDispense.extension:deepLink",
"max": "1",
"min": 0,
"path": "MedicationDispense.extension",
"type": [ {
"code": "Extension",
"profile": [ "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_DeepLink" ]
} ],
"sliceName": "deepLink"
}, {
"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]",
"definition": "Informationen über das Medikament, das abgegeben wird. Dazu gehören der Name und die PZN-Kennzeichnung einer DiGA-Verordnungseinheit."
}, {
"id": "MedicationDispense.medication[x].extension:data-absent-reason",
"max": "1",
"min": 0,
"path": "MedicationDispense.medication[x].extension",
"type": [ {
"code": "Extension",
"profile": [ "http://hl7.org/fhir/StructureDefinition/data-absent-reason" ]
} ],
"sliceName": "data-absent-reason"
}, {
"id": "MedicationDispense.medication[x].extension:data-absent-reason.value[x]",
"path": "MedicationDispense.medication[x].extension.value[x]",
"patternCode": "asked-declined"
}, {
"id": "MedicationDispense.medication[x].identifier",
"path": "MedicationDispense.medication[x].identifier",
"short": "Eindeutige Identifikationsnummer für eine Verschreibungseinheit einer DiGA (PZN).",
"mustSupport": true
}, {
"id": "MedicationDispense.medication[x].identifier.system",
"min": 1,
"path": "MedicationDispense.medication[x].identifier.system",
"fixedUri": "http://fhir.de/CodeSystem/ifa/pzn",
"mustSupport": true
}, {
"id": "MedicationDispense.medication[x].identifier.value",
"min": 1,
"path": "MedicationDispense.medication[x].identifier.value",
"mustSupport": true
}, {
"id": "MedicationDispense.medication[x].display",
"path": "MedicationDispense.medication[x].display",
"short": "Name der DiGA-Verschreibungseinheit.",
"mustSupport": true
}, {
"id": "MedicationDispense.performer.actor",
"path": "MedicationDispense.performer.actor",
"mustSupport": true
}, {
"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.whenHandedOver",
"path": "MedicationDispense.whenHandedOver",
"short": "Abgabedatum",
"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_DiGA",
"severity": "error",
"expression": "toString().length()=10"
} ]
}, {
"id": "MedicationDispense.substitution",
"max": "0",
"path": "MedicationDispense.substitution",
"comment": "Laut Bundesamt für Soziale Sicherung ist der Ersatz für DiGAs nicht erlaubt."
} ]
},
"baseDefinition": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense"
}