Implementation Guide
ePA Medication Service
Version 1.0.5-1 - release

## OperationDefinition: Provide Prescription eRP

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

The Provide Prescription eRP operation in the ePA MedicationService is used to add electronic prescriptions to a patient’s record. These prescriptions are already made by the E-Rezept-Fachdienst. This operation does not create new patient prescriptions; it just puts the ones made by the E-Rezept-Fachdienst into the patient’s ePA, making sure they are stored safely and can be easily accessed.

Generated Narrative: OperationDefinition provide-prescription-erp-OP

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

Input parameters Profile:EPA Operation ProvidePrescription 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 |  |
IN | rxPrescription.medicationRequest |  | 1..1 | MedicationRequest (EPA MedicationRequest) |  |
IN | rxPrescription.medication |  | 1..1 | Medication (EPA MedicationDispense) |  |
IN | rxPrescription.organization |  | 1..1 | Organization (Organization in gematik Directory) |  |
IN | rxPrescription.practitioner |  | 1..1 | Practitioner (Practitioner in gematik Directory) |  |
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) |  |