{ "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-workflow.r4", "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": "1.4.0", "status": "active", "id": "89a11a7b-5cb7-4dba-b4e1-b20689d448f8", "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." } ] }