--- type: "fhirpath-function" title: "FHIRPath Function: empty" function: "empty" category: "Existence" section: "5.1.1" source: "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 - none ## Type Mapping - `Any-Boolean` ## Example ```fhirpath Patient.name.empty() // returns true if the patient has no names ```