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
Name | Comment |
---|---|
medication | |
subject | Patient |
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 Request | Method | Action |
---|---|---|
/MedicationRequest/{ID} | GET | Retrieve MedicationRequest resource by ID |
2. Search
HTTP Request | Method | Action |
---|---|---|
/MedicationRequest?[parameter={value}] | GET | Retrieve MedicationRequest resources by the specified search criteria |
Parameters:
Key | Type | Description |
---|---|---|
patient | Reference | Patient Identifier |
_lastUpdated | Date | |
_offset | Number | |
_count | Number | |
status | active, 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 Request | Method | Action |
---|---|---|
/MedicationRequest | POST | Creates 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:
Name | Details |
---|---|
subject | |
medication | |
intent |
4. Update
HTTP Request | Method | Action |
---|---|---|
/MedicationRequest/{ID} | PUT | Updates MedicationRequest resource |
The following attributes are immutable:
Name | Details |
---|---|
patient | |
medication |
5. Delete
HTTP Request | Method | Action |
---|---|---|
/MedicationRequest/{ID} | DELETE | Deletes MedicationRequest resource |
Updated 6 months ago