_revincludeparameters request that the search results include additional resources ("included resources") related to the resources directly matching the query ("primary results"). Using these parameters is more efficient than making a series of requests to retrieve these additional resources separately.
_includeadds resources and resource versions referenced by the primary results, and reverse inclusion with
_revincludeadds resources that reference the primary results.
MedicationRequestresources, and for each resource returned also returns the target of the
subjectreference which might be a
Patientas defined in the FHIR specification.
MedicationRequest?_include=MedicationRequest:subject:Patientis similar but only returns
MedicationRequestresources, and for each resource returned also returns any
Provenanceresources where the
Provenancerefers to the matching resource.
*, indicates that all references available as search parameters should be included. You can use the
*wild card as the first and only argument in the
_include, or in place of the search parameter name from the standard
_include, where the optional third value limits the resource type to a single type as in the original behavior.
Observationresources, and for each resource also returns all referenced resources.