View raw Markdown
type: fhirpath-functionfunction: expcategory: Mathsection: 5.8.3source: fhirpath/functions.json

FHIRPath Function: exp

{:.stu}

Returns e raised to the power of the input. {:.stu}

Accepts Decimal input types. Integer and Long types are also accepted via implicit conversion to Decimal. {:.stu}

If the input collection is empty, the result is empty. {:.stu}

If the input collection contains multiple items, the evaluation of the expression will end and signal an error to the calling environment. {:.stu}

0.exp() // 1.0
(-0.0).exp() // 1.0

{:.stu}

Summary

Description

Returns e raised to the power of the input.

Arguments

Type Mapping

Example

0.exp() // 1.0
(-0.0).exp() // 1.0