A persisted copy shared record system acts as the FHIR server, with point-to-point notifications
(1) The prescribing system creates the MedicationRequest 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 MedicationRequest
is only shared once ready for pharmacy processing so the status
will only deal with valid end-states.
(2) The dispensing system directly sends an event notification to the pharmacy system with the identifer
for the MedicationRequest
.
(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 dispensing system directly sends an event notification to the prescibing system with the identifer
for the MedicationDispense
.
(6) The pharmacy system GETs the MedicationDispense
from the shared record system using the identifer
.