Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[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
3 tasks
adinaflorea9 opened this issue May 2, 2023 · 1 comment · Fixed by #12968
Assignees
Labels
cases change A change of an existing feature (ticket type) qa-verified Issue has been tested and verified by QA ready Issue fulfills the definition of ready and can be implemented vaadin-app Affects the Vaadin application

Comments

@adinaflorea9
Copy link

adinaflorea9 commented May 2, 2023

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

  • improve the flow if the hospitalization tab;
  • consistency between main page of the case and the hospitalization tab in what concerns the responsible jurisdiction and place of stay of the case.

Acceptance Criteria

  • the checkbox 'Place of stay of this case differs from its responsible jurisdiction' is checked in the 'Place of stay in hospital' pop-up if it is already checked on the main case page;
  • the values from the fields associated with the checkbox are pre-filled with the values from the case page;
  • the user can still successfully create a current hospitalization for the case.

Implementation Details

No response

Mockups

No response

Additional Information

No response

@adinaflorea9 adinaflorea9 added cases vaadin-app Affects the Vaadin application change A change of an existing feature (ticket type) labels May 2, 2023
@adinaflorea9 adinaflorea9 added the ready Issue fulfills the definition of ready and can be implemented label Jun 12, 2023
@MateStrysewske MateStrysewske self-assigned this Feb 15, 2024
daveotengo pushed a commit to ePareto-Information-System/SORMAS-Project that referenced this issue Feb 17, 2024
@adinaflorea9 adinaflorea9 self-assigned this Feb 19, 2024
@adinaflorea9
Copy link
Author

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

@adinaflorea9 adinaflorea9 added the qa-verified Issue has been tested and verified by QA label Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cases change A change of an existing feature (ticket type) qa-verified Issue has been tested and verified by QA ready Issue fulfills the definition of ready and can be implemented vaadin-app Affects the Vaadin application
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants