Skip to content

Commit

Permalink
add registered expression helpers to expression context (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
kajambiya authored Sep 28, 2023
1 parent ee43c40 commit b557bc5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/expression-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export async function evaluateAsyncExpression(

const expressionContext = {
...new CommonExpressionHelpers(node, patient, fields, fieldValues, allFieldsKeys),
...getRegisteredExpressionHelpers(),
...context,
fieldValues,
patient,
Expand Down

0 comments on commit b557bc5

Please sign in to comment.