MedicationRequest
The MedicationRequest resource provides the "order or request for both supply of the medication and the instructions for administration of the medication to a patient." (HL7 FHIR R4 MedicationRequest)
Supported Profiles
This API supports the following FHIR profiles:
Operations
The Certified API MedicationRequest resource supports the following standard operations. However, support varies by the targeted CareRecord or solution.
| CareRecord / Solution | Create | Read | Update | Search |
|---|---|---|---|---|
| GEHRIMED | - | Yes | - | Yes |
| myAvatar | - | Yes | - | Yes |
| myEvolv | - | Yes | - | Yes |
| myUnity | - | Yes | - | Yes |
| TheraOffice | - | Yes | - | Yes |
Search
info
Not all Netsmart solutions support MedicationRequest search. See supported operations table above and consult your target solution's documentation for more information.
This operation retrieves a list of resources by these query parameters.
Standard Parameters
| Name | Type | Description |
|---|---|---|
| patient | reference | REQUIRED Returns prescriptions for a specific patient |
| authoredon | date | Return prescriptions written on this date |
| encounter | reference | Returns prescriptions with this encounter identifier |
| intent | token | Returns prescriptions with different intents |
| page | string | Zero-based page index |
| status | token | Status of the prescription |
| _revinclude | special | Include Provenance resource(s) that reference the matched search results. Allowed: "Provenance:target" |
Search Examples
Via POST
The POST method is recommended as it keeps health information out of the URL.
- Production
- Preview
Search by Patient
curl -X POST https://fhir.netsmartcloud.com/uscore/v1/MedicationRequest/_search \
-H "Authorization: {Bearer Token}" \
-H "Accept: application/fhir+json" \
-H "Content-Type: application/x-form-urlencoded" \
-d "patient=Patient/123" \
-d "intent=order"
Search by Patient
curl -X POST https://fhirtest.netsmartcloud.com/uscore/v1/MedicationRequest/_search \
-H "Authorization: {Bearer Token}" \
-H "Accept: application/fhir+json" \
-H "Content-Type: application/x-form-urlencoded" \
-d "patient=Patient/123" \
-d "intent=order"
Via GET
- Production
- Preview
Search by Patient
curl -X GET "https://fhir.netsmartcloud.com/uscore/v1/MedicationRequest?patient=Patient/123&intent=order" \
-H "Authorization: {Bearer Token}" \
-H "Accept: application/fhir+json"
Search by Patient
curl -X GET "https://fhirtest.netsmartcloud.com/uscore/v1/MedicationRequest?patient=Patient/123&intent=order" \
-H "Authorization: {Bearer Token}" \
-H "Accept: application/fhir+json"