Skip to content

Commit

Permalink
OHRI-2059 Add documentation for Zscore Calculations
Browse files Browse the repository at this point in the history
  • Loading branch information
ODORA0 committed Jan 10, 2024
1 parent 216ea15 commit b55c074
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions pages/docs/expression-helpers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,46 @@ Example usage:
}
```

## calcHeightForAgeZscore

Takes the height and weight and returns the zscore based on the age of the patients for both Male and Female patients less than 5 years or greater than or equal to 5 years but less than 18 years of age

Example usage:

```json copy
{
"calculate": {
"calculateExpression":"calcHeightForAgeZscore( 'height', 'weight')"
},
}
```
## calcBMIForAgeZscore

Takes the patient's height and weight and automatically calculates the BMI and returns the zscore for both Male and Female patients greater than or equal to 5 years but less than 18 years of age

Example usage:

```json copy
{
"calculate": {
"calculateExpression":"calcBMIForAgeZscore( 'height', 'weight')"
},
}
```
## calcWeightForHeightZscore

Takes the patient's height and weight and returns the zscore for both Male and Female patients less than 5 years

Example usage:

```json copy
{
"calculate": {
"calculateExpression":"calcWeightForHeightZscore( 'height', 'weight')"
},
}
```

## arrayContains

Takes in values in an array and returns true if the values are contained in the source array
Expand Down

0 comments on commit b55c074

Please sign in to comment.