{
"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-07-15",
"system": false,
"publisher": null,
"instance": true,
"name": "Dispense",
"type": "false",
"experimental": null,
"outputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_DispenseOperation_Output",
"resourceType": "OperationDefinition",
"title": null,
"package_version": "workflow.r4-1.4.2-rc2",
"status": "active",
"id": "54012a75-8ab8-4bf5-9d3c-683cea85a5f8",
"resource": [ "Task" ],
"affectsState": true,
"kind": "operation",
"url": "https://gematik.de/fhir/erp/OperationDefinition/DispenseOperationDefinition",
"code": "dispense",
"version": "1.4",
"inputProfile": "https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_PAR_DispenseOperation_Input",
"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 parameter must be equal to the value stored in Task.identifier:Secret. Otherwise the Operation aborts with an error."
}, {
"max": "*",
"min": 1,
"use": "in",
"name": "rxDispensation",
"part": [ {
"max": "1",
"min": 1,
"use": "in",
"name": "medicationDispense",
"type": "MedicationDispense"
}, {
"max": "1",
"min": 1,
"use": "in",
"name": "medication",
"type": "Medication"
} ],
"documentation": "Information on dispensed Medication(s)"
}, {
"max": "*",
"min": 1,
"use": "out",
"name": "rxDispensation",
"part": [ {
"max": "1",
"min": 0,
"use": "out",
"name": "medicationDispense",
"type": "MedicationDispense"
}, {
"max": "1",
"min": 0,
"use": "out",
"name": "medication",
"type": "Medication"
}, {
"max": "1",
"min": 0,
"use": "out",
"name": "operationOutcome",
"type": "OperationOutcome",
"documentation": "In case of errors or issues the E-Rezept-Fachdienst will issue an OperationOutcome."
} ],
"documentation": "The MedicationDispense that has been transmitted by the pharmacy as a confirmation, that it has been successfully uploaded."
} ]
}