Overview
The Medication resource is used for the identification and definition of a medication for the purposes of prescribing, dispensing, and administering a medication as well as for making statements about medication use. Each Medication has next elements:- a medication code
- RXNorm concepts are used and are defined as an extensible binding. USCDI V3+ recommends the National Drug Codes (NDC) as an optional terminology. They can be supplied as an additional coding element.
- Since the binding is extensible, when a code is unavailable just text is allowed.
- When the medication is compounded and is a list of ingredients, the code is still present and may contain only the text.
| USCore Data Element | FHIR Resource Field |
|---|---|
| medication code | medication.code |
Must support elements, mandatory and optional search parameters
Medication must support these elements:code
Medication By Id
Get Medication by ID. METHOD GET[base url] - FHIR base url
[id] - Id for Medication resource 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 |