MedicationDispense is a clinical FHIR resource created when a pharmacy system responds to a medication order (i.e.,
MedicationRequest) and indicates that a medication has been dispensed for a patient
A MedicationDispense typically includes a description of the medication, details of the dispense, and instructions for administering to the patient
While a few payers may make this information available, almost all do not have this data unless it is submitted to the payer by providers for quality measures or other provider/payer data exchange programs, as it was not included in the initial scope of the US Core Implementation Guid based on the first version of USCDI. MedicationRequest is a more common FHIR resource that represents the initial request for a medication for a patient.
The full list of search parameters can be found here. Some of the most important are:
The ID of the patient for whom the medication was dispensed. We recommend using this search parameter along with the
While some servers may support a resource-level search without any parameters, not all do. We recommend using the format below with the patient ID via the
$PATIENT_ID wildcard as a search parameter.
This is a sample request using
curl "https://api.flexpa.com/fhir/MedicationDispense?patient=$PATIENT_ID" \
-H "Authorization: Bearer $ACCESS_TOKEN"
This is a sample response from UnitedHealthcare using Flexpa API in test mode