Start a conversation

Calculate the score from several variables

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 in 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 causing 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 causing 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.

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Castor Support Team

  2. Posted
  3. Updated