The "add" command does not check for valid alphanumeric strings when taking in the drug allergy field, potentially redundantly storing drug allergies which are not meaningful.
Steps to reproduce:
Type "add ic/S9974944F n/John Doe p/91234567 e/johndoe@email.com g/M b/11-11-
1990 d/ | | | | i/Infectious Diseases"
The "add" command does not check for valid alphanumeric strings when taking in the drug allergy field, potentially redundantly storing drug allergies which are not meaningful.
Steps to reproduce:
Type "add ic/S9974944F n/John Doe p/91234567 e/johndoe@email.com g/M b/11-11- 1990 d/ | | | | i/Infectious Diseases"
Press "Enter"
The result is as follows (index 27):
[original: nus-cs2103-AY2324S2/pe-interim#4390] [original labels: severity.Low type.FeatureFlaw]