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.
Summary
- Category: Existence
- Section:
5.1.1 - Return Type:
Boolean - Empty Input Result:
true - Errors on Multiple Input:
false
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