type: fhirpath-functionfunction: maxcategory: Aggregatessection: 7.4source: fhirpath/functions.json
FHIRPath Function: max
No canonical section match found in index.md.
Summary
- Category: Aggregates
- Section:
7.4 - Return Type:
Integer | Long | Decimal | Quantity | Date | DateTime | Time | String - Empty Input Result:
empty - Errors on Multiple Input:
false
Description
Returns the maximum element in the input collection.
Arguments
Type Mapping
Example
(2 | 4 | 8 | 6).max() // 8