View raw Markdown
type: fhirpath-functionfunction: convertsToDatecategory: Conversionsection: 5.5.4.3source: fhirpath/functions.json

FHIRPath Function: convertsToDate

No canonical section match found in index.md.

Summary

Description

If the input collection contains a single item, this function will return true if the item can be converted to a Date value.

Arguments

Type Mapping

Example

'2022-01-01'.convertsToDate() // returns true
'invalid'.convertsToDate() // returns false