yellow-fellow / pe

0 stars 0 forks source link

Patient's appointment gets deleted during editappt #4

Open yellow-fellow opened 4 years ago

yellow-fellow commented 4 years ago

As a user, after booking an appointment for a patient, I tried to edit the appointment's timing by key-ing in editappt [NRIC]. Afterwards, I selected the appointment I would like to change when prompted with the patient's list of appointments. Following that, I am told to choose an appointment to replace the current appointment slot. However, when I accidentally input an invalid value, the original appointment just disappears and gets erased under the patient's list of appointments. I was not informed that the original appointment would be deleted, furthermore, if I try to book the original appointment slot, it could have well been taken up by another patient already. Confirmation of deletion of original appointment should only happen AFTER the appointment has been successfully edited, and not in the midst of editing.

Screenshot 2020-11-13 at 5.03.41 PM.png

nus-pe-bot commented 4 years ago

Your response not required for this bug as the team has accepted the bug as it is.