Overview
An order or request for both supply of the medication and the instructions for administration of the medication to a patient. The resource is called “MedicationRequest” rather than “MedicationPrescription” or “MedicationOrder” to generalize the use across inpatient and outpatient settings, including care plans, etc., and to harmonize with workflow patterns. Each MedicationRequest has next elements:- a status
- an intent code
- a medication
- a patient
- the category (e.g., Discharge Medication)
- the reported flag or reference signaling that information is from a secondary source such as a patient
- the encounters
- a prescriber
- a date for when written
- the prescription Sig
- the amount dispensed and number of refills
- the dose and rate
- See the Medication List section for guidance on accessing a patient medications including over the counter (OTC) medication and other substances taken for medical and recreational use.
- *The MedicationRequest resources can represent a medication using either a code, or reference a Medication resource.
- When referencing a Medication resource, the resource may be contained or an external resource.
- The server application MAY choose any combination of these methods, but if an external reference to Medication is used, the server SHALL support the _include parameter for searching this element.
- The client application SHALL support both elements.
- Source EHR identifiers SHOULD be included to support deduplication across MedicationRequest resources. Exposing the EHR identifiers helps client applications identify duplicates.
Must support elements, mandatory and optional search parameters
MedicationRequestmust support these elements:statusintentcategorycategory:us-core
reported[x]medication[x]subjectencounterauthoredOnrequesterdosageInstructiontexttiming
doseAndRatedose[x]
dispenseRequestnumberOfRepeatsAllowedquantity
patient and intent search parameters:
- including support for OR search on intent (e.g.intent={system|}[code],{system|}[code],…)
GET [base url]/MedicationRequest?patient={Type/}[id]&intent=order,plan
SHALL support searching using the combination of the patient and intent and status search parameters:
- including support for OR search on intent (e.g.intent={system|}[code],{system|}[code],…)
- including support for OR search on status (e.g.status={system|}[code],{system|}[code],…)
GET [base url]/MedicationRequest?patient={Type/}[id]&intent=order,plan&status={system|}[code]
The following search parameter combinations SHOULD be supported (optional):
SHOULD support searching using the combination of the patient and intent and encounter search parameters:
- including support for OR search on intent (e.g.intent={system|}[code],{system|}[code],…)
GET [base url]/MedicationRequest?patient={Type/}[id]&intent=order,plan&encounter={Type/}[encounter_id]
SHOULD support searching using the combination of the patient and intent and authoredon search parameters:
- including support for OR search on intent (e.g.intent={system|}[code],{system|}[code],…)
- including support for these authoredon comparators: gt,lt,ge,le
- including optional support for AND search on authoredon (e.g.authoredon=[date]&authoredon=[date]&…)
GET [base url]/MedicationRequest?patient={Type/}[id]&intent=order,plan&authoredon={gt|lt|ge|le}[date]&authoredon={gt|lt|ge|le}[date]
The response to any search operation is always a list of resources in a Bundle or an Operation Outcome.
MedicationRequest By Patient Id
Search for MedicationRequest by patient. METHOD GET
RESPONSES
EXAMPLE:
MedicationRequest By Id
Get MedicationRequest by ID. METHOD GET
RESPONSES
EXAMPLE:
MedicationRequest by patient and intent search parameters
Get MedicationRequests using the combination of the patient and intent search parameters METHOD GETPatient
[id] - patient id
{system|} - terminology system used to identify medication request status
[code] - status of the medication request
HEADERS
The Authorization token SHALL be obtained during the Authentication and Authorization process. Go to Authentication and Authorization for further details.
RESPONSES
EXAMPLE:
MedicationRequest by patient and intent and encounter search parameters:
Get MedicationRequests using the combination of the patient and intent and encounter search parameters METHOD GET
RESPONSES
EXAMPLE:
MedicationRequest by patient and intent and authoredon search parameters
Get MedicationRequests using the combination of the patient and intent and authoredon search parameters METHOD GETPatient
[id] - patient id
[date] -date when medication request was authored on
HEADERS
The Authorization token SHALL be obtained during the Authentication and Authorization process. Go to Authentication and Authorization for further details.
RESPONSES
EXAMPLE: