Implementation Guide
ePA Medication Service
Version 1.0.5-1 - release

## OperationDefinition: Cancel Prescription eRP

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

The $cancel-prescription-erp operation is used by the E-Rezept-Fachdienst to cancel an already issued electronic prescription. This function is applied when a prescription is no longer needed for various reasons, such as changes in medication or errors in the initial issuance. After cancellation by the E-Rezept-Fachdienst, this information is transmitted to the ePA Medication Service, where the prescription is calculations. It can then no longer be used for dispensing medication. This process ensures accuracy and safety in the management of medications.

Generated Narrative: OperationDefinition cancel-prescription-erp-OP

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

Input parameters Profile:EPA Operation CancelPrescription ERP Input-Parameters

Output parameters Profile:EPA Operation RxPrescription ERP Output-Parameters

### Parameters

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