Open nus-pe-bot opened 7 months ago
Thanks for your report. The reported command find d/|
is indeed a valid command and the result of find d/|
is working as specified in the user guide.
Here are the drug allergy specifications from the user guide:
According to our UG, the |
character are accepted and should be used to separate multiple drug allergies. This makes it a valid keyword in the drug allergy field that is searchable in the find d/
command.
As documented in the UG, the find
command was designed to return patients that contain any of the given keywords.
Since |
is recognised and utilised within the drug allergy field, it is a valid searchable term. Therefore, find d/|
correctly returns all patients whose drug allergy field includes |
. This is not unintended but a consequence to our documented design decisions to use |
as separators for the drug allergy field and for find
to return all patients with matching keywords. More examples could be added to the UG to explain this behaviour.
--
Command: find d/|
It finds all persons who use a | separator in their drug allergy field.
[original: nus-cs2103-AY2324S2/pe-interim#4990] [original labels: severity.Low type.FeatureFlaw]