Skip to content

Add animal group assignment tracking and recode pairing formation types - #19

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

Add animal group assignment tracking and recode pairing formation types#19
labkey-martyp wants to merge 1 commit into
release26.7-SNAPSHOTfrom
26.7_fb_animal_groups

Conversation

@labkey-martyp

Copy link
Copy Markdown
Contributor

Rationale

Animal group membership had nowhere to live in the NBRI EHR, so there was no record of which animals belonged to which group or when they joined and left. The pairing formation type list is recoded in the same change because it shared the same weakness: free-text labels with no way to retire an option that is no longer offered.

Related Pull Requests

None.

Changes

  • Adds an animal group membership dataset that tracks when an animal joins and leaves a group, with a data-entry form for making those assignments.

  • Ends group memberships automatically when an animal dies or departs, and permits backdated entries since memberships are routinely recorded after the fact.

  • Surfaces an animal's active groups on demographics, and adds summary queries for group housing by room and for membership overlap across a date range.

  • Recodes pairing formation types as coded values carrying display titles and disable dates.

Adds an animal_group_members dataset with a data-entry form, history sources, and demographics/summary queries so group membership is tracked over time and closed on death and departure. Replaces the free-text pairing formation type list with coded values that carry display titles and disable dates.
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