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.
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.
{{baseURL}}/{{tenant}}/Task?action=$reject&prescriptionid={{e-rezept-presc-id}}&accesscode={{e-rezept-accesscode}}
A given prescription may be rejected using a reject request (GET) with the identifier of the prescription.
{{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)