Specialty Medication Enrollment
2.1.0 - CI Build

Specialty Medication Enrollment, published by HL7 International - Pharmacy. This is not an authorized publication; it is the continuous build for version 2.1.0). This version is based on the current content of https://github.com/HL7/fhir-specialty-rx/ and changes regularly. 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 all Bundle
id@value: specialty-rx-search-response-1-w-include
type@value: searchset
timestamp@value: 2020-03-11T13:10:17-05:00
total@value: 1
link relation@value: self url@value: MedicationRequest?patient=specialty-rx-patient-1&intent=order&_include=MedicationRequest:medication entry[1]fullUrl@value: http://example.org/MyEHR/MedicationRequest/prescription-1
resource MedicationRequest
id@value: prescription-1
status@value: stopped
intent@value: order
medicationReference reference@value: Medication/11111
subject reference@value: Patient/specialty-rx-patient-1
authoredOn@value: 2020-05-11
requester reference@value: http://example.org/MyEHR/Practitioner/specialty-rx-practitioner-1
dispenseRequest quantity value@value: 4 unit@value: {each}
expectedSupplyDuration value@value: 30 unit@value: days system@value: http://unitsofmeasure.org code@value: d
performer reference@value: http://example.org/MyEHR/Organization/specialty-rx-organization-pharmacy-1
substitution allowedBoolean@value: false
search mode@value: match
entry[2]fullUrl@value: http://example.org/MyEHR/Medication/11111
resource Medication
id@value: 11111
code coding system@value: http://www.nlm.nih.gov/research/umls/rxnorm code@value: 802652 display@value: 1 ML Enbrel 50 MG/ML Prefilled Syringe
search mode@value: include

### Generated Narrative

Bundle specialty-rx-search-response-1-w-include of type searchset

Entry 1 - fullUrl = 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}

> > ### ExpectedSupplyDurations

> > - | Value | Unit | System | Code
> > * | 30 | days | Unified Code for Units of Measure (UCUM) | d

> ### Substitutions

> - | Allowed[x]
> * | false

Entry 2 - fullUrl = 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)