bcgov / MOH-PPPP-Enrolment

Apache License 2.0
1 stars 0 forks source link

Update diagnostic codes #118

Closed stephanieharrison-maximus closed 2 years ago

stephanieharrison-maximus commented 2 years ago

Please check if the PR fulfills these requirements:

Please specify the type of change this PR introduces (Bug fix, feature addition, content update, chore, etc.):

Updates the diagnostic codes array to be fully inclusive of potential diagnostic codes. Since there were over 7000 codes in the new file, I also created a new constants file to house them so as to not clutter up the validators.js helper file.

Additional Notes:

Existing unit tests covered the change nicely, so no new tests were needed. Ran Cypress tests as well and manually verified that the validator still flags on invalid input.