{ "description": "Handles information about the dispensed DiGA", "_filename": "StructureDefinition-GEM-ERP-PR-MedicationDispense-DiGA.json", "package_name": "de.gematik.erezept-workflow.r4", "date": "2024-07-15", "derivation": "constraint", "publisher": null, "fhirVersion": "4.0.1", "name": "GEM_ERP_PR_MedicationDispense_DiGA", "abstract": false, "type": "MedicationDispense", "experimental": null, "resourceType": "StructureDefinition", "title": "Dispensation of a DiGA-Prescription", "package_version": "1.4.2", "status": "active", "id": "5cc1caee-f749-48fd-8c16-7024d641d8fb", "kind": "resource", "url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA", "version": "1.4", "differential": { "element": [ { "id": "MedicationDispense", "path": "MedicationDispense", "constraint": [ { "key": "workflow-medicationdispense-redeemcode-1", "human": "A note was not found, but is mandatory if no redeem code is provided.", "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": "The data absent reason was not found, but is mandatory if no redeem code is provided.", "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 and identifier of the DiGA was not found, but is mandatory if a redeem code is provided.", "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", "fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA|1.4" }, { "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": "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]", "definition": "Information about the medication that is being dispensed. To include are name and the PZN-identifier of a DiGA prescription unit." }, { "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", "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", "short": "Unique identification number for a prescription unit of a DiGA (PZN).", "mustSupport": true }, { "id": "MedicationDispense.medication[x].display", "path": "MedicationDispense.medication[x].display", "short": "Name of the DiGA prescription unit.", "mustSupport": true }, { "id": "MedicationDispense.subject.identifier", "min": 1, "path": "MedicationDispense.subject.identifier", "short": "The patients KVNR", "comment": "There is no PKV identifier available since it is not in the scope for DiGA prescriptions." }, { "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": "Date of dispensation", "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": "According to BAS the substitution for DiGAs is not allowed" } ] }, "baseDefinition": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense" }