Overview
Indicates that a medication product is to be or has been dispensed for a named person/patient. This includes a description of the medication product (supply) provided and the instructions for administering the medication. The medication dispense is the result of a pharmacy system responding to a medication order. Each MedicationDispense has next elements:- a status
- a medication
- a patient
- who dispensed the medication
- the authorizing prescription
- type of dispense (e.g., partially dispensed)
- the quantity dispensed
- a date for when dispensed to the patient
- free text dosage instructions (the SIG)
- the dose and rate
- The MedicationDispense resource is used to represent the USCDI v3 medication fill status.
- This Profile can represent a medication using a code or reference a Medication resource
- When using a code, RXNorm concepts are used. They are defined as an extensible binding to .medicationCodeableConcept. USCDI V3+ recommends the National Drug Codes (NDC) as an optional terminology. They can be supplied as an additional coding element.
- When referencing a Medication resource in .medicationReference, the resource may be contained or an external resource.
- The server systems are not required to support both a code and a reference, but SHALL support at least one of these methods.
- If an external reference to a Medication resource is used, the server SHALL support the _include parameter for searching this element.
- The client application SHALL support all methods.
Must support elements, mandatory and optional search parameters
MedicationDispense must support these elements:statusmedication[x]subjectperformeractor
authorizingPrescriptiontypequantitywhenHandedOverdosageInstructiontexttiming
doseAndRatedose[x]
patient search parameter:
- including optional support for these
_includeparameters: MedicationDispense:medication
GET [base]/MedicationDispense?patient=14676
The following search parameter combinations SHOULD be supported (optional):
SHOULD support searching using the combination of the patient and status search parameters:
- including support for OR search on status (e.g.status={system|}[code],{system|}[code],…)
GET [base url]/MedicationDispense?patient={Type/}[id]&status={system|}[code]
SHOULD support searching using the combination of the patient and status and type search parameters:
- including support for OR search on status (e.g.status={system|}[code],{system|}[code],…)
GET [base url]/MedicationDispense?patient={Type/}[id]&status={system|}[code]&type={system|}[code]
The response to any search operation is always a list of resources in a Bundle or an Operation Outcome.
MedicationDispense By Patient Id
Search for MedicationDispense by patient. METHOD GET| Header | Type | Required/Optional | Value |
|---|---|---|---|
| Authorization | string | required | Bearer <token> |
| Code | Description | Comment |
|---|---|---|
| 200 | OK | The request was processed successfully |
| 400 | Bad request | Invalid request parameters or FHIR operation outcome resource returned |
| 401 | Unauthorized | This code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource |
| 404 | No route matched with those values | The request was able to communicate with a given server, but the server could not find what was requested |
| 500 | Internal Server Error | The server has encountered a situation it doesn’t know how to handle |
MedicationDispense by patient and status search parameters
Get MedicationDispenses using the combination of the patient and status search parameters METHOD GETPatient
[id] - patient id
{system|} - terminology system used to identify medication dispense status
[code] - status of the medication dispense
HEADERS
The Authorization token SHALL be obtained during the Authentication and Authorization process. Go to Authentication and Authorization for further details.
| Header | Type | Required/Optional | Value |
|---|---|---|---|
| Authorization | string | required | Bearer <token> |
| Code | Description | Comment |
|---|---|---|
| 200 | OK | The request was processed successfully |
| 400 | Bad request | Invalid request parameters or FHIR operation outcome resource returned |
| 401 | Unauthorized | This code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource |
| 404 | No route matched with those values | The request was able to communicate with a given server, but the server could not find what was requested |
| 500 | Internal Server Error | The server has encountered a situation it doesn’t know how to handle |
MedicationDispense by patient and status and type search parameters
Get MedicationDispenses using the combination of the patient and status and type search parameters METHOD GETPatient
[id] - patient id
{system|} - terminology system used to identify medication dispense status or type
[code] - status or type of the medication dispense
HEADERS
The Authorization token SHALL be obtained during the Authentication and Authorization process. Go to Authentication and Authorization for further details.
| Header | Type | Required/Optional | Value |
|---|---|---|---|
| Authorization | string | required | Bearer <token> |
| Code | Description | Comment |
|---|---|---|
| 200 | OK | The request was processed successfully |
| 400 | Bad request | Invalid request parameters or FHIR operation outcome resource returned |
| 401 | Unauthorized | This code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource |
| 404 | No route matched with those values | The request was able to communicate with a given server, but the server could not find what was requested |
| 500 | Internal Server Error | The server has encountered a situation it doesn’t know how to handle |