Medications
How to use the Medications API's to perform queries for common use cases are detailed below:
Medication Requests
Currently, in the FHIR APIs, when retrieving Medication Requests for a patient, the “intent” must always be supplied in the request.
Issued Medications (intent = “order”)
To requests issued medications for a patient (either one-off or repeat issues), you would use this FHIR API call:
GET /MedicationRequest?patient=Patient/[id]&intent=order
The response to the above queries will be a FHIR bundle of the MedicationRequest entries in CareCentric for the patient.
Prescriptions (intent = “plan”)
To requests prescribed medications for a patient (either one-off or repeat issues), you would use this FHIR API call:
GET /MedicationRequest?patient=Patient/[id]&intent=plan
The response to the above queries will be a FHIR bundle of the MedicationRequest entries in CareCentric for the patient.
Medication Statement
Repeat Prescriptions
To get all current repeat prescriptions for a patient, you would use the below API call:
GET /MedicationStatement?patient=Patient/[id]&status=active&prescription-type=https://fhir.graphnethealth.com/CodeSystem-PrescriptionType|R