Skip to content

Add birth, arrival and conception lookups and relax entry validation - #6

Open
labkey-martyp wants to merge 1 commit into
release26.7-SNAPSHOTfrom
26.7_fb_birth_arrival_updates
Open

Add birth, arrival and conception lookups and relax entry validation#6
labkey-martyp wants to merge 1 commit into
release26.7-SNAPSHOTfrom
26.7_fb_birth_arrival_updates

Conversation

@labkey-martyp

Copy link
Copy Markdown
Contributor

Rationale

Adds the fields and lookup codes needed to bulk load historical birth, arrival and conception records into the NBRI EHR. The legacy source system keys its source, species and pregnancy-outcome lookups by short alpha codes rather than the numeric placeholders the module was seeded with, so those lookups have to be recoded before incoming values will resolve. The historical records also predate several of the required-field rules on the current entry forms.

Related Pull Requests

None.

Changes

  • Add birth condition and delivery mode to the birth record, and breeding type to conception.
  • Recode the source and pregnancy outcome lookups to the alpha codes used by the source system, and point the arrival and departure lookups at them.
  • Surface the task and status columns on the conception grid, with the standard status highlighting.
  • Relax required-field validation on the arrival and birth entry forms and disable the duplicate animal ID check on arrival, so historical records can be loaded. These rules are left in place as commented-out code so they can be restored once the loads are done.
  • Breeding type is added to the in-flight 26.7 schema script rather than a new one, so servers that already ran it need a bootstrap.

Adds birth condition, delivery mode and conception breeding type, recodes the source and pregnancy result lookups to alpha codes with the arrival and departure foreign keys following, and relaxes required-field validation on the arrival and birth entry forms for bulk data loads.
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