SORMAS-Foundation / SORMAS-Project

SORMAS (Surveillance, Outbreak Response Management and Analysis System) is an early warning and management system to fight the spread of infectious diseases.
https://sormas.org
GNU General Public License v3.0
293 stars 142 forks source link

[Hospitalization] entries should be locked if the button "no" or "unknown" is selected #10129

Closed SORMAS-ChristopherMeyer closed 2 years ago

SORMAS-ChristopherMeyer commented 2 years ago

Bug Description

if "no" or "unknown" have been selected, an entry is still possible.

Steps to Reproduce

1.open a case

  1. choose "hospitalization"
  2. when clicking "no" or "unknown" you can still edit the fields below

Expected Behavior

the fields should not be editable.

Screenshots

image

System Details

Additional Information

MateStrysewske commented 2 years ago

@cmeyerhzi The entries are still supposed to be available, because even if someone wasn't admitted as an inpatient, they could still have been at the hospital for some time, including being submitted to the ICU or being isolated. This feature was specifically refactored like this not that long ago.