Medication prescriptions can be sent to RED using the FHIR interface and are stored in the RED database (see RED interchange API - Create Data Medication). In order to create prescriptions the user must be in the role of a physician and use a physician SMC-B card.

Processing of the electronic prescriptions may be triggered by a separate request (e.g. at the end of the day). RED processes all stored prescriptions that have not been processed yet, prompts the user for the electronic signature, sends the signed prescriptions to Fachdienst and returns an array of all task-ids. In order to accept a process prescriptions must be in the role of a physician and use a physician SMC-B card.

{{baseURL}}/{{tenant}}/TI?action=$processerp


RED returns an array of prescriptions with person information and prescription lines

<Prescriptions>
    <person>
        <lastname>Görlitzer</lastname>
        <firstname>Sieglinde Josefine</firstname>
        <birthday>1953-01-10</birthday>
    </person>
    <prescriptions>
        <prescription>
            <name>METFORMIN AXCOUNT 1000MG / 180 FTA N3</name>
            <url>{"urls":["Task/160.000.203.391.765.61/$accept?ac=ddfd048204719fcf39a70cf4aa594d3ea9fc9e0c24a5b8b270717ef9b0d65298"]}</url>
        </prescription>
        <prescription>
            <name>OMEPRAZOL BLUEFISH 20MG / 50 KMR N2</name>
            <url>{"urls":["Task/160.000.203.391.766.58/$accept?ac=60b54f011e7b1c1e773dd52919367654c44b88d110ccc8ca3722fe517ec7bc3f"]}</url>
        </prescription>
        <prescription>
            <name>Testpräparat für eine Freitextverordnung</name>
            <url>{"urls":["Task/160.000.203.391.767.55/$accept?ac=d44a2866f0a970af0cd97815136a72b4bf79120cf17fa453d43508696e2a008f"]}</url>
        </prescription>
    </prescriptions>
</Prescriptions>