View raw Markdown
type: fhirpath-functionfunction: emptycategory: Existencesection: 5.1.1source: fhirpath/functions.json

FHIRPath Function: empty

Returns true if the input collection is empty ({ }) and false otherwise.

<a name="fn-exists"></a>

Summary

Description

Returns true if the input collection is empty ({ }) and false otherwise.

Arguments

Type Mapping

Example

Patient.name.empty() // returns true if the patient has no names