invocation

An invocation refers to a named member or function call. It also includes special invocations: $this (current element), $index (current index), and $total (current aggregate total).

Examples

Identifier reference

"Measurement Period"

Function call

AgeInYears()

Current element in a where clause

(Conditions C where C.clinicalStatus ~ "Active" return $this)

Current index in a query

(Items I return $index)

Running aggregate total

from Items I aggregate Total starting 0: $total + I.value
Railroad Diagram
100%
referentialIdentifier function $this $index $total

scroll to zoom · drag to pan · click green rules or blue tokens to navigate

EBNF

invocation
  : referentialIdentifier
  | function
  | '$this'
  | '$index'
  | '$total'
  ;

Used In