ePMA Implementation Guidance for FHIR STU3

This guidance is under active development by NHS Digital and content may be added or updated on a regular basis.
Please note: This guidance has been superseded by the Implementation guide for digitial medicines, which contains up-to-date information.

A persisted copy shared record system acts as the FHIR server, with an event notifications service


api-architecture-ics-is-fhir-server-and-notifies-rx-and-disp


(1) The prescribing system creates the MedicationRequest with a valid externally referencable identifer and POSTs this to the shared record system which adds the logical id on receipt. The MedicationRequest is only shared once ready for pharmacy processing so the status will only deal with valid end-states.

(2) The shared record system triggers an event, to notify subscribing systems of the new MedicationRequest; the pharmacy system must be a subscriber for this event.

(3) The dispensing system GETs the MedicationRequest from the shared record system using the identifer.

(4) The dispensing system creates the MedicationDispense with a valid externally referencable identifer and POSTs this to the shared record system. The shared record system adds the logical id on receipt. The MedicationDispense is only shared once ready to share with the pharmacy system so the status will only deal with valid end-states.

(5) The shared record system triggers an event notification to notify subscribing systems of the new MedicationDispense; the pharmacy system must be a subscriber for this event.

(6) The prescribing system GETs the MedicationDispense from the shared record system using the identifer.


back to top