View raw Markdown
type: fhirpath-functionfunction: convertsToBooleancategory: Conversionsection: 5.5.2.2source: fhirpath/functions.json

FHIRPath Function: convertsToBoolean

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

Arguments

Type Mapping

Example

'true'.convertsToBoolean() // returns true
'invalid'.convertsToBoolean() // returns false