-
Notifications
You must be signed in to change notification settings - Fork 69
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
103453 - Add validation for VES data - IVC CHAMPVA #21138
base: master
Are you sure you want to change the base?
Conversation
Generated by 🚫 Danger |
# TODO: add validators for non-required, but structure constrained types: | ||
# - validate phone number structure: ^(\+\d{1,2}\s)?\(?\d{3}\)?[\s.-]\d{3}[\s.-]\d{4}$ | ||
# - validate gender values | ||
# - validate relationship to veteran |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Outside the scope of this ticket, but there will be a followup
# ------------------------------------------------------------ # | ||
# ------------------------------------------------------------ # |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All methods below this line are the individual validation components we roll together up above.
There are currently some tests, but the goal is to get much wider coverage of these constituent parts in a follow-on PR.
Summary
This PR adds the first pass at our VES data validator. IVC CHAMPVA form 10-10d will soon be submitting to the new VES CHAMPVA API, so we need to make sure we can appropriately validate our data before sending it to VES.
Related issue(s)
Testing done
Screenshots
NA
What areas of the site does it impact?
None yet; this is not in use anywhere. We're prepping this module for an integration in a coming sprint.
Acceptance criteria
Requested Feedback
NA