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

Shifting- Patient expired #5388

Closed
aparnacoronasafe opened this issue Apr 24, 2023 · 1 comment · Fixed by #5404
Closed

Shifting- Patient expired #5388

aparnacoronasafe opened this issue Apr 24, 2023 · 1 comment · Fixed by #5404
Assignees
Labels
P1 breaking issue or vital feature urgent

Comments

@aparnacoronasafe
Copy link

aparnacoronasafe commented Apr 24, 2023

When status of shift in a shifting request (https://care.coronasafe.in/shifting/5e253849-ee6d-437b-aded-107d61f72ff6) is marked as "Patient Expired" the user is automatically taken to the Discharged pop-up window.

In a normal flow, the user will fill out details of death in the discharge pop-up window and discharge the patient.

However, if the user cancels the pop-up window, the patient is marked as expired in the shifting form but the patient card remains in the live list of the origin facility.

Solution:

Only save the shifting status as "Patient expired" if the user submits the details in the discharge pop-up window and discharges the patient. If the user cancels and closes the discharge pop-up window, keep the user in the shifting update form with the previous status.

Part of #5393

@github-actions
Copy link

⚠️ Refrain from assigning this issue to yourself if you have another P1 issue assigned that is not yet closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 breaking issue or vital feature urgent
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants