Open nus-pe-bot opened 1 year ago
In english, the word(s) "MAYBE" and "MAY BE" mean different things. This shows that spaces introduces new meanings.
This is the same for names as well.
If the user wants to differentiate between the vaccination "VAXA" which may be the name of a vaccination and "VAX A" which may be the A type of the vaccination VAX, the space is required.
Hence, vaccinations should be differentiated by spaces. This is the same for patient names, allergy names and all names in general. Eg. ZHIYONG vs ZHI YONG.
--
Description
Can edit the name of a vaccination to a similar vaccination existing in the list, with difference being whitespace only.
Steps for reproducing
Expected Output
Should not allow this edit as
Dose 1 (Moderna)
should be the same asDose1(Moderna)
Actual Output
Allows the edit to be done
Screenshots
[original: nus-cs2103-AY2223S2/pe-interim#2180] [original labels: severity.Low type.FeatureFlaw]