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

58745 Switch to optional fields for va-medical-records page #775

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

christinec-fftc
Copy link

@christinec-fftc christinec-fftc commented Jun 13, 2023

Modify schema for 526 EZ vaTreatmentFacilities

The following fields should now be optional on the va-medical-records page in 526

  • country
  • treatmentCenterName
  • treatedDisabilityNames

Related issues:
department-of-veterans-affairs/va.gov-team#60578
department-of-veterans-affairs/va.gov-team#58745

Pull Requests to update the schema in related repositories

We're hoping to merge this pr and the following 2 pr's all around the same time.
department-of-veterans-affairs/vets-website#24945
department-of-veterans-affairs/vets-api#12996

@christinec-fftc
Copy link
Author

We discovered that these newly optional fields are required in EVSS. Do not proceed with this PR until after EVSS has made corresponding changes. Currently scheduled for 7/12/23.

@christinec-fftc christinec-fftc force-pushed the dbex/58745-vamc-optional branch from 568ca20 to dab7f1b Compare July 20, 2023 22:14
Copy link

@rmessina1010 rmessina1010 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@christinec-fftc christinec-fftc added the DO NOT MERGE Just... don't label Jul 24, 2023
@christinec-fftc
Copy link
Author

Putting this into draft. We discovered that additional schema changes and possibly back end changes will be needed to support the optional fields.

@christinec-fftc christinec-fftc marked this pull request as draft July 25, 2023 16:11
city: {
type: 'string',
maxLength: 30,
pattern: "^([-a-zA-Z0-9'.#]([-a-zA-Z0-9'.# ])?)*$",

Check failure

Code scanning / CodeQL

Inefficient regular expression

This part of the regular expression may cause exponential backtracking on strings starting with '#' and containing many repetitions of '##'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DO NOT MERGE Just... don't
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug Fix - Changes for VAMC field in Supporting Evidence
4 participants