Bug 1941587

Summary: New patient creation accepts invalid date for the dob field
Product: [Fedora] Fedora Reporter: nivethika <nivethikagnanaseelan>
Component: Package ReviewAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: package-review, sanjay.ankur
Target Milestone: ---   
Target Release: ---   
Hardware: ppc   
OS: Windows   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-03-22 13:33:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Dob date error none

Description nivethika 2021-03-22 12:42:02 UTC
Created attachment 1765238 [details]
Dob date error

Description of problem:
New patient creation accepts invalid date for the dob field
Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.Launch openEmr
2.click patient tab
3.click add new patient tab
4.Enter the following details
Name:Nivethika
dob:selected 2024-03-06 from the calender

Actual results:
The patient is created and the age is -36month

Expected results:
either an error message or it should have prevented the creation of patient with invalid dob date

Additional info: