{
"description": "The operation $dispense lets the pharmacy perform a dispense for a medication without changing the status of the task. This actions lets a frontend display that a medication has been dispensed before it is closed by the pharmacy.",
"_filename": "OperationDefinition-DispenseOperation.json",
"package_name": "de.gematik.erezept",
"date": "2024-05-21",
"system": false,
"publisher": null,
"instance": true,
"name": "Dispense",
"type": "false",
"experimental": null,
"outputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense",
"resourceType": "OperationDefinition",
"title": null,
"package_version": "workflow.r4-1.3.1",
"status": "active",
"id": "4b070ea8-b65e-4ecf-a8df-e85cea52f1a0",
"resource": [ "Task" ],
"affectsState": true,
"kind": "operation",
"url": "https://gematik.de/fhir/erp/OperationDefinition/DispenseOperationDefinition",
"code": "dispense",
"version": "1.3",
"parameter": [ {
"max": "1",
"min": 1,
"use": "in",
"name": "secret",
"type": "string",
"documentation": "The secret parameter that lets a pharmacy access the Task exclusively as part of the URL. This paramter must be equal to the value stored in Task.identifier:Secret. Otherwise the Operation aborts with an error."
}, {
"max": "1",
"min": 1,
"use": "in",
"name": "MedicationDispense",
"type": "canonical",
"documentation": "Information on dispensed Medication(s)",
"targetProfile": [ "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3", "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperationInputBundle|1.3" ]
}, {
"max": "1",
"min": 1,
"use": "out",
"name": "MedicationDispense",
"type": "canonical",
"documentation": "The MedicationDispense that has been transmitted by the pharmacy as a confirmation, that it has been successfully uploaded.",
"targetProfile": [ "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_MedicationDispense|1.3", "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_CloseOperationInputBundle|1.3" ]
} ]
}