AY2324S2-CS2113T-T09-1 / tp

0 stars 6 forks source link

[PE-D][Tester D] Unexpected output from search #197

Closed nus-pe-bot closed 7 months ago

nus-pe-bot commented 7 months ago

The following commands give me unexpected search output (medicines not in my storage).

meditracker> search -n m
Here are the search results:
1. Paracetamol; Treats: Fever, Pain; May cause: Nausea, Liver damage (in high doses)
2. Diazepam; Treats: Anxiety, Muscle spasms; May cause: Drowsiness, Confusion
3. Amoxicillin; Treats: Bacterial infections; May cause: Nausea, Diarrhea, Rash
4. Metformin; Treats: Type 2 diabetes; May cause: Nausea, Diarrhea
5. Alprazolam; Treats: Anxiety; May cause: Drowsiness, Memory problems
6. Omeprazole; Treats: Acid reflux; May cause: Headache, Nausea
7. Amlodipine; Treats: High blood pressure; May cause: Swelling, Dizziness
8. Simvastatin; Treats: High cholesterol; May cause: Muscle pain, Liver damage (rare)
9. Metoprolol; Treats: High blood pressure; May cause: Dizziness, Fatigue
10. Morphine; Treats: Pain; May cause: Constipation, Drowsiness
search -n l
Here are the search results:
1. Paracetamol; Treats: Fever, Pain; May cause: Nausea, Liver damage (in high doses)
2. Loratadine; Treats: Allergy symptoms; May cause: Headache, Fatigue
3. Amoxicillin; Treats: Bacterial infections; May cause: Nausea, Diarrhea, Rash
4. Ciprofloxacin; Treats: Bacterial infections; May cause: Nausea, Diarrhea, Tendon rupture (rare)
5. Insulin; Treats: Diabetes; May cause: Hypoglycemia, Injection site reactions
6. Losartan; Treats: High blood pressure; May cause: Dizziness, Fatigue
7. Levothyroxine; Treats: Hypothyroidism; May cause: Hair loss, Weight changes
8. Alprazolam; Treats: Anxiety; May cause: Drowsiness, Memory problems
9. Omeprazole; Treats: Acid reflux; May cause: Headache, Nausea
10. Lisinopril; Treats: High blood pressure; May cause: Dizziness, Cough
11. Amlodipine; Treats: High blood pressure; May cause: Swelling, Dizziness
12. Hydrochlorothiazide; Treats: High blood pressure; May cause: Dizziness, Low potassium
13. Metoprolol; Treats: High blood pressure; May cause: Dizziness, Fatigue

Labels: severity.Medium type.FunctionalityBug original: fxe025/ped#9