ucam-department-of-psychiatry / camcops

Cambridge Cognitive and Psychiatric Test Kit (CamCOPS)
Other
12 stars 8 forks source link

BMI: Waist circumference no longer optional #264

Closed martinburchell closed 1 year ago

martinburchell commented 1 year ago

Since I separated the mass, height and waist circumference from the BMI task in v2.4.13, they are all now mandatory.

So the text says "optional" for waist circumference but the green square doesn't appear until you've filled it in. Workaround is to abort the questionnaire (it will be marked as "complete") or fill in a value for waist circumference.

Probably QuWaist, QuMass and QuHeight all need a mandatory flag (defaulting to true), which can be used in setUpFields(). BMI can then make waist optional.