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

Fix: to not allow user to pick future date for DOB #7379

Merged
merged 1 commit into from
May 26, 2024

Conversation

riyagori1203
Copy link
Contributor

Fixes #7378

It would not allow the user to enter a future date of birth in the insurance field which is a basic validation check.

Changes proposed in this pull request:
Just the addition of a word -past that disables any future dates for the user. So that user can only select dates previous to the current date

@riyagori1203 riyagori1203 marked this pull request as draft April 22, 2024 15:22
@riyagori1203 riyagori1203 marked this pull request as ready for review April 22, 2024 15:23
@sjpadgett
Copy link
Sponsor Member

tested on master dev okay although I don't understand why this fix also wasn't added to new Patient validation for DOB
For those that don't know the past datepicker will grey out future dates in UI picker.

@sjpadgett sjpadgett added this to the 7.0.2.1 milestone May 26, 2024
@sjpadgett sjpadgett merged commit c06a6ae into openemr:master May 26, 2024
sjpadgett pushed a commit to sjpadgett/openemr that referenced this pull request May 26, 2024
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

Successfully merging this pull request may close these issues.

bug: User able to select a Date of Birth that occurs in the future on new patient screen
3 participants