This page is part of the Specialty Medication Enrollment (v1.0.0: STU1) 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
status: STOPPED
intent: ORDER
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
code: 1 ML Enbrel 50 MG/ML Prefilled Syringe