View raw Markdown
type: fhirpath-functionfunction: toDatecategory: Conversionsection: 5.5.4.2source: fhirpath/functions.json

FHIRPath Function: toDate

No canonical section match found in index.md.

Summary

Description

If the input collection contains a single item, this function will return a single date if the item is a Date, a DateTime, or a String convertible to a Date.

Arguments

Type Mapping

Example

'2022-01-01'.toDate() // returns @2022-01-01