Command success when adding duplicate completed prescription (i.e. sd and ed before current date), but prescriptionList does not reflect the change. #2
When I add a prescription with start date and end date that happened before the current date, i.e.
add mn/Test1 sd/01/08/2023 ed/01/11/2023, it works.
However, when I type it again, it also works as seen in the command response
However, when I try to find it using listCompleted, it doesnt show up.
So this raises the question, the command is a success but nothing happens to the prescriptionList(it's not updated). Should the command be a failure, if not and its an intended success, then why is the prescriptionList not updated with a duplicate prescription?
When I add a prescription with start date and end date that happened before the current date, i.e. add mn/Test1 sd/01/08/2023 ed/01/11/2023, it works.
However, when I type it again, it also works as seen in the command response
However, when I try to find it using listCompleted, it doesnt show up. So this raises the question, the command is a success but nothing happens to the prescriptionList(it's not updated). Should the command be a failure, if not and its an intended success, then why is the prescriptionList not updated with a duplicate prescription?