You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When a bed is assigned to a patient for a duration of time, it is considered in-use by that patient for that amount of time. The issue is that the same bed can be assigned to another patient in between the time it was assigned to the previous patient. Suppose you assign BED1 to Patient1 from 1pm to 3pm. You are also able to assign the same BED1 to another patient, say, Paitent2 for a conflicting time range, say 2pm to 2:30pm.
Unassign the bed from the patient (by assigning a new bed to that patient)
Click on the second patient
Assign the bed which was assigned previously to the first patient with a start time which falls in between the time range between when the bed was in use already.
It allows us to create the conflicting record
Screenshots
Patient 1:
Patient 2:
Expected behavior
It should show an error and disallow such conflicting entries to be created.
The text was updated successfully, but these errors were encountered:
⚠️Refrain from assigning this issue to yourself if you have another P1 issue assigned that is not yet closed. @sainak kindly acknowledge this message by commenting 'Acknowledged' below.
Describe the bug
When a bed is assigned to a patient for a duration of time, it is considered in-use by that patient for that amount of time. The issue is that the same bed can be assigned to another patient in between the time it was assigned to the previous patient. Suppose you assign BED1 to Patient1 from 1pm to 3pm. You are also able to assign the same BED1 to another patient, say, Paitent2 for a conflicting time range, say 2pm to 2:30pm.
To Reproduce
Steps to reproduce the behavior:
Screenshots
Patient 1:
Patient 2:
Expected behavior
It should show an error and disallow such conflicting entries to be created.
The text was updated successfully, but these errors were encountered: