FHIR IG Statistics: StructureDefinition/GEM-ERP-PR-MedicationDispense-DiGA
Resources that use this resource
Resources that this resource uses
Narrative
No narrative content found in resource
Source
{
"resourceType": "StructureDefinition",
"id": "GEM-ERP-PR-MedicationDispense-DiGA",
"url": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA",
"version": "1.5.2",
"name": "GEM_ERP_PR_MedicationDispense_DiGA",
"title": "Dispensation of a DiGA-Prescription",
"status": "active",
"date": "2025-06-23",
"description": "Handles information about the dispensed DiGA",
"fhirVersion": "4.0.1",
"kind": "resource",
"abstract": false,
"type": "MedicationDispense",
"baseDefinition": "https://gematik.de/fhir/epa-medication/StructureDefinition/epa-medication-dispense",
"derivation": "constraint",
"differential": {
"element": [
{
"id": "MedicationDispense",
"path": "MedicationDispense",
"constraint": [
{
"key": "workflow-medicationdispense-redeemcode-1",
"severity": "error",
"human": "A note was not found, but is mandatory if no redeem code is provided.",
"expression": "extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_RedeemCode').empty() implies note.exists()",
"source": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA"
},
{
"key": "workflow-medicationdispense-redeemcode-2",
"severity": "error",
"human": "The data absent reason was not found, but is mandatory if no redeem code is provided.",
"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()",
"source": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA"
},
{
"key": "workflow-medicationdispense-redeemcode-3",
"severity": "error",
"human": "Name and identifier of the DiGA was not found, but is mandatory if a redeem code is provided.",
"expression": "extension.where(url = 'https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_RedeemCode').exists() implies (medication.display.exists() and medication.identifier.exists())",
"source": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA"
}
]
},
{
"id": "MedicationDispense.meta",
"path": "MedicationDispense.meta",
"min": 1
},
{
"id": "MedicationDispense.meta.profile",
"path": "MedicationDispense.meta.profile",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "$this"
}
],
"rules": "closed",
"description": "Slicing for meta profile",
"ordered": false
},
"min": 1,
"max": "1",
"mustSupport": true
},
{
"id": "MedicationDispense.meta.profile:workflowProfile",
"path": "MedicationDispense.meta.profile",
"sliceName": "workflowProfile",
"min": 1,
"max": "1",
"fixedCanonical": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense_DiGA|1.5",
"mustSupport": true
},
{
"id": "MedicationDispense.extension:redeemCode",
"path": "MedicationDispense.extension",
"sliceName": "redeemCode",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_RedeemCode"
]
}
]
},
{
"id": "MedicationDispense.extension:deepLink",
"path": "MedicationDispense.extension",
"sliceName": "deepLink",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_DeepLink"
]
}
]
},
{
"id": "MedicationDispense.identifier",
"path": "MedicationDispense.identifier",
"short": "ePrescription identifier",
"min": 1
},
{
"id": "MedicationDispense.identifier:prescriptionID",
"path": "MedicationDispense.identifier",
"sliceName": "prescriptionID",
"min": 1,
"max": "1",
"type": [
{
"code": "Identifier",
"profile": [
"https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_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",
"path": "MedicationDispense.medication[x].extension",
"sliceName": "data-absent-reason",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/StructureDefinition/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": "Unique identification number for a prescription unit of a DiGA (PZN).",
"mustSupport": true
},
{
"id": "MedicationDispense.medication[x].identifier.system",
"path": "MedicationDispense.medication[x].identifier.system",
"min": 1,
"fixedUri": "http://fhir.de/CodeSystem/ifa/pzn",
"mustSupport": true
},
{
"id": "MedicationDispense.medication[x].identifier.value",
"path": "MedicationDispense.medication[x].identifier.value",
"min": 1,
"mustSupport": true
},
{
"id": "MedicationDispense.medication[x].display",
"path": "MedicationDispense.medication[x].display",
"short": "Name of the DiGA prescription unit.",
"mustSupport": true
},
{
"id": "MedicationDispense.performer.actor",
"path": "MedicationDispense.performer.actor",
"mustSupport": true
},
{
"id": "MedicationDispense.performer.actor.identifier",
"path": "MedicationDispense.performer.actor.identifier",
"min": 1,
"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",
"path": "MedicationDispense.substitution",
"comment": "According to BAS the substitution for DiGAs is not allowed",
"max": "0"
}
]
}
}