This page is part of the Specialty Medication Enrollment (v1.0.0: STU1) based on FHIR (HL7® FHIR® Standard) R4. The current version which supersedes this version is 2.0.0. 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 - Full URL = http://hapi.fhir.org/baseR4/AllergyIntolerance/7961399
Search:mode = match
Resource AllergyIntolerance:
Generated Narrative
clinicalStatus: Active
verificationStatus: Confirmed
category: MEDICATION
criticality: HIGH
code: Peanuts
onset: 2017-09
Reactions
- Manifestation Onset * Unknown 2017-09
Entry 2 - Full URL = http://hapi.fhir.org/baseR4/Provenance/7961499
Search:mode = include
Resource Provenance:
Provenance for Generated Summary: type: searchset; 1
Summary
Recorded Sep 1, 2017 3:26:23 PM Agents
Type who Author Generated Summary: id: 9941339108; Jane Smith ; Phone: 555-555-5555, Fax: 555-555-1234, jane.smith@example.org