This page is part of the Specialty Medication Enrollment (v2.0.0-ballot: STU2 Ballot 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions
This example illustrates a response to a search that includes an _include
parameter requesting that the response include any Medication resources referenced by returned MedicationResponse resources. For example:
GET [base]/MedicationRequest?patient=specialty-rx-patient-1&intent=order&_include=MedicationRequest:medication
Bundle specialty-rx-search-response-1-w-include of type searchset
Entry 1 - Full URL = http://example.org/MyEHR/MedicationRequest/prescription-1
Search:mode = match
Resource MedicationRequest:
Generated Narrative: MedicationRequest
Resource MedicationRequest "prescription-1"
status: STOPPED
intent: ORDER
subject: Patient/specialty-rx-patient-1 " DOE"
authoredOn: 2020-05-11
requester: http://example.org/MyEHR/Practitioner/specialty-rx-practitioner-1
dispenseRequest
quantity: 4 {each}
Substitutions
- Allowed[x] * false
Entry 2 - Full URL = http://example.org/MyEHR/Medication/11111
Search:mode = include
Resource Medication:
Generated Narrative: Medication
Resource Medication "11111"
code: 1 ML Enbrel 50 MG/ML Prefilled Syringe (RxNorm#802652)