Specialty Medication Enrollment
1.0.0 - STU 1

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

Example Bundle: Search Response 1 with _included Medication Resource

Example notes

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

Example data content

expand all | contract allBundle
id@value:  specialty-rx-search-response-1-w-include
type@value:  searchset
timestamp@value:  2020-03-11T13:10:17-05:00
total@value:  1
linkrelation@value:  selfurl@value:  MedicationRequest?patient=specialty-rx-patient-1&intent=order&_include=MedicationRequest:medicationentry[1]fullUrl@value:  http://example.org/MyEHR/MedicationRequest/prescription-1
resource
id@value:  prescription-1
status@value:  stopped
intent@value:  order
medicationReferencereference@value:  Medication/11111
subjectreference@value:  Patient/specialty-rx-patient-1
authoredOn@value:  2020-05-11
requesterreference@value:  http://example.org/MyEHR/Practitioner/specialty-rx-practitioner-1
dispenseRequestquantityvalue@value:  4unit@value:  {each}
expectedSupplyDurationvalue@value:  30unit@value:  dayssystem@value:  http://unitsofmeasure.orgcode@value:  d
performerreference@value:  http://example.org/MyEHR/Organization/specialty-rx-organization-pharmacy-1
substitutionallowedBoolean@value:  false

searchmode@value:  match
entry[2]fullUrl@value:  http://example.org/MyEHR/Medication/11111
resource
id@value:  11111
codecodingsystem@value:  http://www.nlm.nih.gov/research/umls/rxnormcode@value:  802652display@value:  1 ML Enbrel 50 MG/ML Prefilled Syringe

searchmode@value:  include

Generated Narrative

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

subject: Generated Summary: id: 1234; active; Timothy V. Doe ; Phone: 555-555-5555, tim.doe@example.com; gender: male; birthDate: 1987-02-20

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