shittake / pe

0 stars 0 forks source link

Did not change window to display correct entries when running patient commands in the drug window #10

Open shittake opened 1 year ago

shittake commented 1 year ago

As shown, after running the p list command in the drug window, it shows "Listed all patients" but with the drug entries shown instead. In instances where it is not immediately obvious that we may still be looking at the drug window, this may result in the user wrongly thinking that the listed entries are patients and conclude that the patient they are looking for does not exist (when it actually does).

image.png

nus-se-script commented 1 year ago

Team's Response

We believe that this does not affect the usability of our app. Users just have to switch to patient tab to see patient command being executed. It is not a bug when you key in a patient command but you are in drug tab.

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: My concern was not about that whether or not users are able to switch the tabs accordingly. My concern is that despite using a command that is for a different window, there is no indication to the user that they are on the incorrect tab and instead, a success message is shown. As the only difference in your commands for both windows is only the first letter, either a p or d, this could easily be mistaken or typed incorrectly especially by a tired healthcare personnel who may have to mentally alternate between these two letters and could easily make a mistake. If the incorrect window is still shown, then the personnel will not be aware the he/she is still on the incorrect window and could make errors in prescription. For example, if the personnel wishes to search for a drug using the d command but is still on the patient window, and the patient window shows no entries! after a previous command executed using the p command, then the personnel may wrongly think that this drug does not exist on the database when it could in fact still be. These could result in grave errors.