Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong error message #2

Open
yuming7144 opened this issue Oct 30, 2020 · 0 comments
Open

Wrong error message #2

yuming7144 opened this issue Oct 30, 2020 · 0 comments

Comments

@yuming7144
Copy link
Owner

Wrong error message is displayed when adding patients.
In the screenshot below, the add command was given a wrong format - the c/BlueViolet should be cr/BlueViolet. The prefix for color is wrong. An error message should be displayed stating the command is invalid. However, now it is complaining that "Allergy names should be alphanumeric", when my allergy is in the right format.
1acf402ed9c1cee1c069f9824072d41.png

Steps to reproduce:

  1. Enter the same command as shown in the screenshot.
  2. An error message complaining about allergy field should appear. In particular, the message is "Allergy names should be alphanumeric".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant