Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • text

  • select

  • date

  • number

  • checkbox

  • radio

  • encounter-location

  • textarea

  • group

  • repeating

  • drug

  • file

  • problem

  • ui-select-extended

  • content-switcher

  • toggle

Expressions

In order to support runtime calculations and validations the form engine has an expression handler that support the listed expressions bellow. Details on how to use these expressions and register your own custom expressions can be found here.

  • isEmpty

  • today

  • includes

  • isDateBefore

  • useFieldValue

  • calcBMI

  • calcEDD

  • calcBSA

  • calcHeightForAgeZscore

  • calcBMIForAgeZscore

  • calcWeightForHeightZscore

  • arrayContains

  • arrayContainsAny

  • calcMonthsOnART

  • calcAgeBasedOnDate

  • formatDate

  • calcGravida

  • calcTimeDifference