_include / _revinclude
FHIR search parameters that pull in related resources.
Definition
_include follows outbound references from the results (e.g. MedicationRequest:patient brings in the cited Patient), while _revinclude follows inbound references (e.g. Provenance:target brings in Provenance resources pointing at a result). Resources added this way carry entry.search.mode = include, as opposed to match.
Origin
Defined in the HL7 FHIR R4 specification, Search section — "Including other resources" (hl7.org/fhir/R4/search.html), maintained by HL7 International.
Example in context
GET [base]/MedicationRequest?_include=MedicationRequest:patient&_revinclude=Provenance:target
Related terms
- searchset Bundle — result container where includes land.
- CapabilityStatement — declares the supported _include values.