This page is part of the Specialty Medication Enrollment (v2.0.0: STU2) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
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&_revinclude=Provenance:target
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"