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

HMIS ID Validation #289

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

HMIS ID Validation #289

wants to merge 3 commits into from

Conversation

mostlyerror
Copy link
Collaborator

@mostlyerror mostlyerror commented Jan 11, 2024

  • Add model-level Active Record validations for clients.hmis_id. Validations look for 9-length alphanumeric characters, but still allow for blanks while we decide what to do with records that already have now-invalid data.
  • Client & Intake records are created as a pair, prevent a client or intake from being persisted when the other one does not pass validation
  • Show HMIS ID validation errors when updating the field from the clients update page.
Screenshot 2024-01-11 at 2 01 05 PM

@JacobValore

ensure client & intake record created together or client not at all (remove partial record creation)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant