What is a variable?
A variable is a single per-participant value used in analysis, for example the mean daily step count in the first seven days after surgery, or the length of a hospital stay. Its name is the column name in the exported file and does not change later. The formula lives in immutable versions: every change to the formula creates a new version, while changes to the label or description do not.
The preview computes each participant’s value from the data as of the current cut-off; values are not stored. Because it uses the revision history of clinical records and the version history of measurements, the same version with the same cut-off gives the same value.
- Measurement summary in a window around a reference event (mean, median, minimum, maximum, sum, sample count)
- Time to threshold (for example, first time reaching 100 steps per hour after surgery)
- Length of stay
- Event duration (for example, duration of surgery)
- Time between two moments