Overview
Variables can only be deleted if they have no usages.
Required Role(s)
- Project Management
Steps
- Open the Variable Group Update page (click here for steps)
- Select the Variables in the left panel
- Click the red delete icon
- In the confirmation window, click OK to delete or Cancel to keep the variable
- Select Save or Save and Return to save the changes to the variable group
Note: The variable can't be deleted if it has any usages, click here to see how to check a variable's usages
Steps to take based on the usages and status of the project:
Usage Type | Explanation | Actions to remove usages |
---|---|---|
Encounter Variable Audit Log | Data values have been entered | Test project: Test data can be bulk deleted to clear the audit trail Production project: Variables with actions in the audit trail cannot be deleted, the variable can be set to inactive |
Variable Group Dependency | The variable is used in the skip logic | Remove the variable from the skip logic in the dependency after verifying the variable is not needed in the skip logic |
Variable Expression | The variable is used in a numeric calculation | Delete the calculation or remove the variable from the numeric calculation after verifying the variable is not needed in the calculation |
Interval Expression | The variable is used in the expression of an interval | Remove the variable from the interval(s) expression after verifying the variable is not needed in the expression |
Project Subject Expression | The variable is used in the expression across project variable groups | Remove the variable from the project expression after verifying the variable is not needed in the expression |
Subject Report Template | The variable is used in a subject report | Remove the variable from the subject report template |
Data Set | The variable is part of a data set | Remove the variable from the data set |
Filter | The variable is used in a filter | Remove the variable from the filter or delete the filter |