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.
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.