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 2 with _revincluded Provenance Resource

### Example notes

This example illustrates a response to a search that includes a `_revinclude` parameter requesting that the response include any Provenance resources that reference the returned AllergyIntolerance resources. For example:

`GET [base]/AllergyIntolerance?patient=specialty-rx-patient-1&amp;_revinclude=Provenance:target`

### Example data content

expand all | contract all Bundle
id@value: specialty-rx-search-response-2-w-revinclude
meta lastUpdated@value: 2020-07-09T18:49:01.235+00:00
type@value: searchset
total@value: 1
link relation@value: self url@value: http://hapi.fhir.org/baseR4/AllergyIntolerance?patient=specialty-rx-patient-1&_revinclude=Provenance:target entry[1]fullUrl@value: http://hapi.fhir.org/baseR4/AllergyIntolerance/7961399
resource AllergyIntolerance
id@value: 7961399
meta versionId@value: 1 lastUpdated@value: 2019-07-09T15:26:23.217+00:00 profile@value: http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance
clinicalStatus coding system@value: http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical code@value: active display@value: Active
verificationStatus coding system@value: http://terminology.hl7.org/CodeSystem/allergyintolerance-verification code@value: confirmed display@value: Confirmed
category@value: medication
criticality@value: high
code coding system@value: http://snomed.info/sct code@value: 762952008 display@value: Peanuts
text@value: Peanuts
patient reference@value: Patient/specialty-rx-patient-1
onsetDateTime@value: 2017-09
reaction manifestation coding system@value: http://terminology.hl7.org/CodeSystem/v3-NullFlavor code@value: UNK display@value: Unknown
onset@value: 2017-09
search mode@value: match
entry[2]fullUrl@value: http://hapi.fhir.org/baseR4/Provenance/7961499
resource Provenance
id@value: 7961499
meta versionId@value: 1 lastUpdated@value: 2019-07-09T15:26:23.217+00:00 profile@value: http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance
target reference@value: AllergyIntolerance/7961399
recorded@value: 2017-09-01T15:26:23.217+00:00
agent type coding system@value: http://terminology.hl7.org/CodeSystem/provenance-participant-type code@value: author display@value: Author
who reference@value: Practitioner/specialty-rx-practitioner-1
search mode@value: include

### Generated Narrative

Bundle specialty-rx-search-response-2-w-revinclude of type searchset

Entry 1 - fullUrl = http://hapi.fhir.org/baseR4/AllergyIntolerance/7961399

Search:Mode = match

Resource AllergyIntolerance:

> Generated Narrative: AllergyIntolerance

> Resource AllergyIntolerance "7961399" Version "1" Updated "2019-07-09 15:26:23+0000"

> Profile: US Core AllergyIntolerance Profile

> clinicalStatus: Active (AllergyIntolerance Clinical Status Codes#active)

> verificationStatus: Confirmed (AllergyIntolerance Verification Status#confirmed)

> category: MEDICATION

> criticality: HIGH

> code: Peanuts (SNOMED CT#762952008)

> patient: Patient/specialty-rx-patient-1 " DOE"

> onset: 2017-09

> ### Reactions

> - | Manifestation | Onset
> * | Unknown (NullFlavor#UNK) | 2017-09

Entry 2 - fullUrl = http://hapi.fhir.org/baseR4/Provenance/7961499

Search:Mode = include

Resource Provenance:

> Provenance for See above (AllergyIntolerance/7961399)

> Summary

> Recorded | Sep 1, 2017, 3:26:23 PM

> Agents

> Type | who
> Author | Practitioner/specialty-rx-practitioner-1 " SMITH"