The e-prescription is the digital pendant to the classic paper-based prescription document, which a patient may receive from a doctor. When the patient hands the e-prescription to a pharmacy, the pharmacist can use the e-prescription data from the QR code to accept the prescription for further processing.
Reject a prescription
With the following request, a specific e-prescription, which has been previously accepted, can be rejected via RED interchange API to allow the accept of this e-prescription from someone else. In order to reject a task the user must be in the role of a pharmacist and use a pharmacy SMC-B card.
See RED Interchange API - Postman Collection 0302 - ERP Reject Tasks by ID
A given prescription may be rejected using a reject request (GET) with the identifier of the prescription.
Example: With this "Reject Request", the user fetches a given prescription defined by its prescription id and the access code.
If successful, the response will be empty, but have the Status Code 204 (e.g. Successful processing of the request - without any response)
Abort a prescription
If the prescription is rejected it will still be available for other pharmacies to accept. If an accepted prescription cannot be processed here but should not be available to others it must be aborted. A prescription should be aborted e.g. when the physician is asked to change the prescription by creating a new one.
A given prescription may be rejected using a abort request (GET) with the identifier of the prescription.