nus-cs2113-AY2425S1 / pe-dev-response

0 stars 0 forks source link

Problem when try to addVisit for an existing patients #559

Open nus-pe-bot opened 1 week ago

nus-pe-bot commented 1 week ago

When i tried to add a new visit for an existing patient with a valid NRIC, the function return that it cannot find the NRIC of the patients.

image.png image.png


[original: nus-cs2113-AY2425S1/pe-interim#267] [original labels: severity.Low type.FunctionalityBug]

kaboomzxc commented 1 week ago

Team's Response

Hi Tester, Thank you for your Description of Issue and Feedback.

you missed out "v/", this causes the NRIC to not be parsed correctly.

The correct command should be "addVisit ic/S953467A v/10-12-2005 20:09"

also, your "10-13-2005" is incorrect and invalid, as there are only 12 months in a year, not 13.

Duplicate status (if any):

--