MedicationRequest

An order or request for both supply of the medication and the instructions for administration of the medication to a patient.

FHIR Resource: MedicationRequest http://hl7.org/fhir/STU3/medicationrequest.html

Supported Attributes

NameComment
medication
subjectPatient
dosageInstruction
requester
note
authoredOn
recorder
reasonCode
reasonReference
status
intent
https://api.healthgorilla.com/fhir/MedicationRequest

FHIR Operations

The following operations are currently supported:

1. Read

HTTP RequestMethodAction
/MedicationRequest/{ID}GETRetrieve MedicationRequest resource by ID

2. Search

HTTP RequestMethodAction
/MedicationRequest?[parameter={value}]GETRetrieve MedicationRequest
resources by the specified search criteria

Parameters:

KeyTypeDescription
patientReferencePatient Identifier
_lastUpdatedDate
_offsetNumber
_countNumber
statusactive, on-hold, cancelled, completed, entered-in-error, stopped, draft, unknown

Examples

2.1 Retrieve MedicationRequest records by patient

https://api.healthgorilla.com/fhir/MedicationRequest?patient=8063965523692105bfc35def

2.2 Search records updated since March 2019

https://api.healthgorilla.com/fhir/MedicationRequest?_lastUpdated=gt2019-03&_offset=0&_count=5

2.3 Retrieve records for the given patient updated in 2018

https://api.healthgorilla.com/fhir/MedicationRequest?patient=8063965523692105bfc35def&_lastUpdated=2018

3. Create

HTTP RequestMethodAction
/MedicationRequestPOSTCreates MedicationRequest resource

If resource has status not equal to completed or active then the request is rejected. Only the given statuses are supported.

The following attributes are required:

NameDetails
subject
medication
intent

4. Update

HTTP RequestMethodAction
/MedicationRequest/{ID}PUTUpdates MedicationRequest resource

The following attributes are immutable:

NameDetails
patient
medication

5. Delete

HTTP RequestMethodAction
/MedicationRequest/{ID}DELETEDeletes MedicationRequest resource