type: fhirpath-functionfunction: dateOfcategory: Utility functionssection: 5.10.8.9source: fhirpath/functions.json
FHIRPath Function: dateOf
No canonical section match found in index.md.
Summary
- Category: Utility functions
- Section:
5.10.8.9 - Return Type:
Date - 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 date component (up to the precision present in the input value).
Arguments
Type Mapping
Example
@2012-01-01T12:30:00.000-07:00.dateOf() // @2012-01-01