rcpch / rcpch-audit-engine

Epilepsy12 Audit Platform
https://e12.rcpch.ac.uk/
GNU Affero General Public License v3.0
5 stars 5 forks source link

fix mri indicated always true #918

Closed eatyourpeas closed 4 months ago

eatyourpeas commented 4 months ago

Overview

MRI bug fix calculate_kpis was setting mri_indicated to True prior to running kpis so the template was not updating the state. Remove this statement registration_instance.investigations.mri_indicated = True fixes the problem