Overview
This page describes how to add dependencies (skip logic).
Required Role(s)
- Project Management
Steps
General information
- Dependencies are created using JavaScript. Dependencies within a variable group/form are entered on the Dependencies tab of the Variable Group Update page
- Dependencies across encounter variable groups are entered on the Interval Expression tab of the Interval Update page
- Dependencies across project variable groups are entered on the Update Project Expression page accessed from the Edit Expression toolbar button on the Project Overview page
- Universal and Project variables can be directly referenced in an encounter variable group's dependency
- Universal variables can be directly referenced in a project variable group's dependency
- Variables are referenced by prefacing the variable's code with a #
- Methods available in StudyTRAX:
- .enable()
- .disable()
- .show()
- .hide()
- age(#birth)
- ageAsOf(#birth, #diagnosis_date)
- calculateBmi(true, #height_cm, #weight_kg)
- calculateBMI(false, #height_in, #weight_lbs)
- roundValue(value, numberOfDecimalPlaces)
- Additional methods that can be used in an Interval Expression or Project Expression:
- .showVariableGroup()
- .hideVariableGroup()
...