View raw Markdown
type: fhirpath-functionfunction: convertsToDateTimecategory: Conversionsection: 5.5.5.2source: fhirpath/functions.json

FHIRPath Function: convertsToDateTime

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 DateTime value.

Arguments

Type Mapping

Example

'2022-01-01T12:00:00Z'.convertsToDateTime() // returns true
'invalid'.convertsToDateTime() // returns false