View raw Markdown
type: fhirpath-functionfunction: toIntegercategory: Conversionsection: 5.5.3.1source: fhirpath/functions.json

FHIRPath Function: toInteger

No canonical section match found in index.md.

Summary

Description

If the input collection contains a single item, this function will return a single integer if the item is an Integer, a String convertible to an integer, or a Boolean.

Arguments

Type Mapping

Example

'123'.toInteger() // returns 123