Medications Use Cases
Query Use Cases​
How to use the Medications API's to perform queries for common use cases are detailed below:
Issued Medications​
To query for all issued medications for a patient, use the MedicationRequest API with the following parameters:
intent = order
For example:
GET /MedicationRequest?patient={id}&intent=order
Repeat Prescriptions​
To query for all current repeat prescriptions for a patient, use the MedicationRequest API with the following parameters:
intent = plan
status = active
prescription-type = https://fhir.graphnethealth.com/CodeSystem-PrescriptionType|R
GET /MedicationRequest?patient=[value]&intent=plan&status=active&prescription-type=https://fhir.graphnethealth.com/CodeSystem-PrescriptionType|R
Examples​
Examples of payloads in both XML and JSON formats are available from the examples section of this site.