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

[Cases - Hospitalization] Check the 'Place of stay of this case differs from its responsible jurisdiction' in the 'Place of stay in hospital' pop-up if it is already checked on the case page #11919

Closed adinaflorea9 closed 8 months ago

adinaflorea9 commented 1 year ago

Problem Description

When the checkbox 'Place of stay of this case differs from its responsible jurisdiction' is checked on the main case page, if the user sets a 'Current hospitalization' for the case, in the 'Place of stay in hospital' pop-up that checkbox is not pre-checked. Therefore the 'Facility' dropdown contains values from the region/district/community that are set for the responsible jurisdiction and not form the region/district/community of the place of stay, and an error appears when the user tries to save the form: image

Proposed Change

Check the 'Place of stay of this case differs from its responsible jurisdiction' checkbox in the 'Place of stay in hospital' pop-up if that checkbox is already checked

Added Value/Benefit

Acceptance Criteria

Implementation Details

No response

Mockups

No response

Additional Information

No response

adinaflorea9 commented 8 months ago

Verified ticket on the local machine using the latest version of SORMAS from the development branch - 1.95.0-SNAPSHOT(17f685f).