This repository is currently being migrated. It's locked while the migration is in progress.
Add JSON Schema for VA Form 10-5345#1175
Draft
tarratsco wants to merge 1 commit into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New schema — VA Form 10-5345
Summary
This PR introduces a new JSON Schema for VA Form 10-5345 (Request for and Authorization to Release Medical Records or Health Information). The schema is defined against the JSON Schema Draft-04 specification and covers the structured capture of veteran and patient identifying information along with medical records release authorization details.
Key schema characteristics include:
simpleAddressdefinition used for structured address capture, with fields forstreet,street2,city,state(exactly 2 characters), andpostalCode(validated against a US ZIP+4 pattern:^\d{5}(?:-\d{4})?$)buildDefinitionReferencehelper used to generate$refpointers to shared definitions, promoting reuse across the schemaadditionalProperties: falseenforced at the top level and within definitions to prevent undeclared fields from passing validationmaxLengthconstraints andexampleannotations for documentation and validation clarityThe schema is intended to support the digital submission of VA Form 10-5345, enabling veterans to authorize the release of their medical records or health information to a third party.
Files
src/schemas/10-5345/schema.jsNotes for reviewer
package.jsonbackend-review-groupas a reviewerpostalCodepattern (^\d{5}(?:-\d{4})?$) supports both standard 5-digit and ZIP+4 formats — please verify this aligns with backend expectationsstatefield enforces exactly 2 characters (minLength: 2,maxLength: 2) — confirm this is appropriate for all valid use cases, including territories such as PR, GU, etc.buildDefinitionReferencehelper is defined locally within the schema file — confirm this pattern is consistent with conventions used elsewhere in this repositorysimpleAddress(e.g., veteran name, date of birth, SSN, facility information) have been omitted from the artifact preview and ensure the full schema is complete before mergingPull Requests to update the schema in related repositories