Implementation Guide
ePA Medication Service
Version 1.0.5-1 - release

## OperationDefinition: Cancel Dispensation eRP

Official URL: https://gematik.de/fhir/epa-medication/OperationDefinition/cancel-dispensation-erp-OP | Version: 1.0.5-1
Active as of 2025-02-28 | Computable Name: cancelDispensation_MedicationSvc

The Cancel Dispensation eRP operation, used by the E-Rezept-Fachdienst, in the context of the ePA Medication Service, is applied to cancel or reverse information regarding the dispensation of a medication. This operation is necessary when a medication dispensation is cancelled by a pharmacist or when there is a return of the medication by the insurant. After the E-Rezept-Fachdienst performs this operation, the corresponding dispensation entry for the medication in the patient’s ePA is marked as cancelled, which the goal in ensuring an accurate and up-to-date record of the patient’s medication data.

Generated Narrative: OperationDefinition cancel-dispensation-erp-OP

URL: [base]/$cancel-dispensation-erp

Input parameters Profile:EPA Operation CancelDispensation ERP Input-Parameters

Output parameters Profile:EPA Operation RxDispensation ERP Output-Parameters

### Parameters

Use | Name | Scope | Cardinality | Type | Binding | Documentation
IN | rxDispensation |  | 1..* |  |  |
IN | rxDispensation.prescriptionId |  | 1..1 | Identifier |  |
IN | rxDispensation.authoredOn |  | 1..1 | date |  |
OUT | rxDispensation |  | 1..* |  |  |
OUT | rxDispensation.prescriptionId |  | 1..1 | Identifier |  |
OUT | rxDispensation.authoredOn |  | 1..1 | date |  |
OUT | rxDispensation.operationOutcome |  | 1..1 | OperationOutcome (EPA Medication Service Operation Outcome) |  |