type: fhirpath-functionfunction: yearOfcategory: Utility functionssection: 5.10.8.1source: fhirpath/functions.json
FHIRPath Function: yearOf
No canonical section match found in index.md.
Summary
- Category: Utility functions
- Section:
5.10.8.1 - Return Type:
Integer - Empty Input Result:
empty - Errors on Multiple Input:
true
Description
If the input collection contains a single Date or DateTime, this function will return the year component.
Arguments
Type Mapping
Example
@2014-01-05T10:30:00.000.yearOf() // 2014