Open nus-pe-bot opened 4 months ago
Though it might seem absurd regarding records that might have large value of age. Our team has actually allowed such behaviour as we aim for the user to have the flexibility to add medical records from the past as well this might be in use cases where clinics that might have been operating for a long time to migrate into our application. Though as stated in the expected section of the issue we it would definitely help to add some warning message and we have decided that this is something that can be pushed back to future releases. Thus, marking this as NotInScope
.
--
Steps to reproduce:
add ic/S0974567D n/John Doe g/M b/10-07- 1533 p/98765432 e/johnd@example.com d/Penicillin|\nCephalosporins i/Infectious Diseases i/Genetic Disorders
, which does not validate the age properly.Expected:
Actual:
Screenshots:
This is problematic as this might be a typo on the part of the user and the lack of validation check on such input may reduce usability. You can consider supporting this for better convenience and usability for your users. One way you can do is by throwing a warning when such unrealistic age is being inputted.
[original: nus-cs2103-AY2324S2/pe-interim#5072] [original labels: severity.Low type.FeatureFlaw]