diff --git a/src/components/encounter/ohri-encounter-form.component.tsx b/src/components/encounter/ohri-encounter-form.component.tsx index 772c97a47..ecaed6d40 100644 --- a/src/components/encounter/ohri-encounter-form.component.tsx +++ b/src/components/encounter/ohri-encounter-form.component.tsx @@ -524,7 +524,7 @@ export const OHRIEncounterForm: React.FC = ({ field.fieldDependants.forEach(dep => { const dependant = fields.find(f => f.id == dep); // evaluate calculated value - if (!dependant.isHidden && dependant.questionOptions.calculate?.calculateExpression) { + if (dependant.questionOptions.calculate?.calculateExpression) { evaluateAsyncExpression( dependant.questionOptions.calculate.calculateExpression, { value: dependant, type: 'field' },