Prescribing and Dispensing systems act as FHIR servers, with a federated Shared Record architecture
(1) The prescribing system creates the MedicationRequest
with a valid externally referencable identifer
and POSTs to the dipensing 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 dispensing system creates the MedicationDispense
with a valid externally referencable identifer
and POSTs to the e system which 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.
(3) The prescribing system is responsible for sharing records with the shared record system with the resource identifer
akin to a primary key. It may choose to send an event notification to the shared record system that new records are available.
(4) The shared record system can query with a GET for records by identifer
.