Calculate the score from several variables in EDC/CDMS
You can add values from different fields together using a calculation field.
For example, you can use this template to calculate a risk score based on multiple risk factors.
In this example we use the MLHF (Minnesota Living with Heart Failure) questionnaire which is answered on a scale from 0 to 5 (very little - very much). The score of this questionnaire is calculated by the sum of the field values.
Fields needed:
Questions from the questionnaire, for example:
-
Did your heart failure prevent you from living as you wanted during the past month (4 weeks) by causing swelling in your ankles or legs?
Variable name of field in Castor: mlhf_q1 -
Did your heart failure prevent you from living as you wanted during the past month (4 weeks) by making you sit or lie down to rest during the day?
Variable name of field in Castor: mlhf_q2 -
Did your heart failure prevent you from living as you wanted during the past month (4 weeks) by making your walking about or climbing stairs difficult?
Variable name of field in Castor: mlhf_q3
All these questions have option values from 0 to 5.
Template to use:
{mlhf_q1} + {mlhf_q2} + {mlhf_q3};
This will show you the sum of the option values that were selected for the three questions.