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

No proper error handling in DOB section of Patient #10361

Open
Tanuj1718 opened this issue Feb 2, 2025 · 1 comment
Open

No proper error handling in DOB section of Patient #10361

Tanuj1718 opened this issue Feb 2, 2025 · 1 comment
Assignees

Comments

@Tanuj1718
Copy link
Contributor

Describe the bug
We can write any value(decimal, >12) manually in months box of DOB (Date of Birth).

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://care.ohc.network/facility/9557da74-f0a0-44dd-9152-ef02be5767d2/patient/create?
  2. Fill the details and write some random value on DOB section , especially on months.
  3. Create Patient
  4. See error , patient is created.

Expected behavior
When user type wrong values manually in DOB, it show show error message. Although it is creating patient with default month (december) when wrong value is entered, but it should show proper error message.

Screenshots

InShot_20250202_111116534.mp4

Desktop (please complete the following information):

  • OS: MacOS
@Tanuj1718
Copy link
Contributor Author

@bodhish @rithviknishad If it gets approved, please assign it to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant