Skip to content

Lock case Ids, surface arrival attachments, open the necropsy view - #770

Merged
labkey-martyp merged 3 commits into
release26.7-SNAPSHOTfrom
26.7_fb_lock_case_id
Sep 25, 2026
Merged

labkey-martyp merged 3 commits into
release26.7-SNAPSHOTfrom
26.7_fb_lock_case_id

Conversation

@labkey-martyp

Copy link
Copy Markdown
Contributor

Rationale

Three independent corrections to EHR data entry: a saved case could have its animal reassigned, the arrival attachment file was unreachable from the data entry grids, and the necropsy tasks view could not be customized.

Editing an existing case from any of the Clinical/Behavioral Cases or Rounds forms re-enabled every field, including the animal Id, so a case could silently be moved to a different animal. The attachment file column on study.arrival was hidden outright, leaving no way to reach a document while entering an arrival. The necropsy tasks default view was locked against user customization.

Related Pull Requests

None.

Changes

  • The animal Id stays read-only once a saved case is loaded on the Clinical Cases, Behavioral Cases, Clinical Rounds and Behavioral Rounds forms; creating a new case is unaffected.
  • The arrival attachment file is visible in the Arrivals and Rearrivals grids, ordered last and given a wider column, alongside a wider birth date column.
  • The necropsy tasks default view can be overridden by users.

The Edit button re-enabled every field on the case panel, including the animal Id. It now stays disabled for a case that already exists, across the Clinical/Behavioral Cases and Clinical/Behavioral Rounds forms.
The attachment file column is no longer hidden on study.arrival. It sorts last and renders wider in both the Arrivals and Rearrivals grids; the birth date column is wider too.

@labkey-martyp labkey-martyp left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Tests green.

@labkey-martyp
labkey-martyp merged commit 7d11869 into release26.7-SNAPSHOT Sep 25, 2026
8 checks passed
@labkey-martyp
labkey-martyp deleted the 26.7_fb_lock_case_id branch September 25, 2026 11:48
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.

2 participants