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.

Basic form of the Reject Request
{{baseURL}}/{{tenant}}/Task?action=$reject&prescriptionid={{e-rezept-presc-id}}&accesscode={{e-rezept-accesscode}}

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 Reject Request for a specific prescription based on the prescription-id and access code
{{baseURL}}/{{tenant}}/Task?action=$reject&prescriptionid=160.000.166.673.088.79&accesscode=30b57629f6e860bf04eca3e30d84f4d2e94356197d24eacb49bf5c0570284a5c

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.

Example of an abort request
{{baseURL}}/{{tenant}}/Task?prescriptionid={{e-rezept-presc-id}}&action=$abort 
  • No labels