The strategic solution to correlate requested prescriptions with authorised prescriptions and associated EPS prescription ID’s is the GPConnect API. Also please read a white paper on authentication and authorisation for FHIR interfaces onto local and national services/systems.
Using the Prescription Tracker API based on assumptions
If the patient has requested up to four medication items and only one prescription appears via the API, it can be assumed to be related if:
a) the prescription is from the correct GP practice
b) the prescription contains the expected number of medication item references
c) the prescription status is “To Be Dispensed”
d) the prescription date is after the requested date
If an assumed linked applies then the API can then be queried (polled) to track the prescriptions status through the “To Be Dispensed” >> “With Dispenser” >> “Dispensed” >> “Claimed” process. Find out more about the status values.