This page is part of the US-Medication FHIR IG (v1.2.0: STU 2) based on FHIR R3. This is the current published version. For a full list of available versions, see the Directory of published versions
The section describes the expected capabilities of the US Meds Server actor which is responsible for providing responses to the queries submitted by the US Med Client applications. It is expected that this CapabilityStatement will be used with the US Core CapabilityStatement. Together they describe the complete list of FHIR profiles, RESTful operations, and search parameters supported by US Meds Servers. US Meds Clients have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements.
Description: The US Meds Server SHALL:
The US Meds Server SHOULD:
meta.profile
attribute for each instance.The US Meds Server MAY:
US Meds Servers SHALL:
Authorization: Bearer {server-specific-token-here}
HTTP 401
Unauthorized response code.Summary of US Meds search criteria
Specific server search capabilities are described in detail below in each of the resource sections. The MedicationAdministration, MedicationDispense, MedicationStatement and MedicationRequest resources can represent a medication using either a code or refer to the Medication resource. When referencing a Medication resource, the resource may be contained or an external resource. The server application can choose any one way or more than one method, but if the an external reference to Medication is used, the server SHALL support the
_include
parameter for searching this element. The client application must support all methods.
Resource Type | Supported Profiles | Supported Searches | Supported _includes |
---|---|---|---|
Medication | US Core Medication Profile | ||
MedicationAdministration | US Meds MedicationAdministration Profile | patient | MedicationAdministration:medication |
MedicationDispense | US Meds MedicationDispense Profile | patient | MedicationDispense:medication |
MedicationRequest | US Core MedicationRequest Profile | patient, status, patient + status | MedicationRequest:medication |
MedicationStatement | US Core MedicationStatement Profile | patient, status, context, patient + status, patient + context | MedicationStatement:medication |
Supported Profiles: US Core Medication Profile
Supported Profiles: US Meds MedicationAdministration Profile
Search Criteria:
A server SHALL be capable of fetching a patient’s administered medications using one of or both:
GET /MedicationAdministration?patient=[id]
GET /MedicationAdministration?patient=[id]&_include=MedicationAdministration:medication
Search Parameters:
Conformance | Parameter | Type | _include (see documentation) | Modifiers |
---|---|---|---|---|
SHALL | patient | reference | MedicationAdministration:medication |
Supported Profiles: US Meds MedicationDispense Profile
Search Criteria:
A server SHALL be capable of returning a patient’s dispensed medications using one of or both:
GET /MedicationDispense?patient=[id]
GET /MedicationDispense?patient=[id]&_include=MedicationDispense:medication
Conformance | Parameter | Type | _include (see documentation) | Modifiers |
---|---|---|---|---|
SHALL | patient | reference | MedicationDispense:medication |
Supported Profiles: US Core MedicationRequest Profile
Search Criteria:
A server SHALL be capable of returning a patient’s active medications orders using one of or both:
GET /MedicationRequest?patient=[id]
GET /MedicationRequest?patient=[id]&_include=MedicationRequest:medication
Search Parameters:
Conformance | Parameter | Type | _include (see documentation) | Modifiers |
---|---|---|---|---|
SHALL | status + status | reference + token | MedicationRequest:medication |
Supported Profiles: US Core MedicationStatement Profile
Search Criteria:
A server SHALL be capable of returning all medications for a patient using one of or both:
GET /MedicationStatement?patient=[id]
GET /MedicationStatement?patient=[id]&_include=MedicationStatement:medication
A server SHALL be capable of returning all active medications for a patient using:
GET /MedicationStatement?patient=[id]&status=active
GET /MedicationStatement?patient=[id]&status=active&_include=MedicationStatement:medication
A server SHALL be capable of returning all medications for a patient for an encounter using:
GET /MedicationStatement?patient=[id]&context=[id]
GET /MedicationStatement?patient=[id]&context=[id]&_include=MedicationStatement:medication
Search Parameters:
Conformance | Parameter | Type | _include (see documentation) | Modifiers |
---|---|---|---|---|
SHALL | patient | reference | MedicationStatement:medication | |
SHALL | patient + status | reference + token | MedicationStatement:medication | |
SHALL | patient + context | reference | MedicationStatement:medication |