View raw Markdown
type: fhir-fhirpath-functionsource: source/fhirpath.html

FHIR FHIRPath Function: resolve

This page is part of FHIR FHIRPath (FHIR-specific extensions). Base spec lives at FHIRPath.

resolve() : collection

For each item in the collection, if it is a string that is a uri (or canonical or url), locate the target of the reference, and add it to the resulting collection. If the item does not resolve to a resource, the item is ignored and nothing is added to the output collection.

The items in the collection may also represent a Reference, in which case the Reference.reference is resolved. If the input is empty, the return value will be an empty collection.

Patient.managingOrganization.resolve().name Observation.subject.where(resolve() is Patient)


Back to FHIR FHIRPath