Open danielonges opened 3 years ago
It is very clear from the GUI that there are no patients displayed. the patient list is empty. There does not need to be an error to tell the user this, because it is clearly visible.
Therefore, the error is intended, as the patient index is invalid.
Team chose [response.Rejected
]
Reason for disagreement: [replace this with your reason]
In the UG, it is specified that "There must be at least 1 patient and doctor in the patient records and doctor records respectively." However, when I try to add an appointment provided that the patient list is empty, I get an error message warning me about an invalid index, which does not specify the pre-requisite for this command to work. Here is the command I used:
clear-patient
add-appt pt/1 dr/1 at/2021-01-01 00:00 to/2021-01-01 01:30
Here is the result obtained: