Skip to content

Conversation

@labkey-martyp
Copy link
Contributor

Rationale

  • Enhancements for necropsy reporting. Printable report with all necropsy data.
  • Performedby should not include inactive users in forms.

Changes

  • Add last project and protocol columns for all animals (alive, dead or departed)
  • Add printable necropsy report page
  • Update performedby data entry metadata to not include inactive users

// in the form panel but not in the grid panel).
// casting it as a varchar when loading the store fixes this issue.
sql: 'SELECT CAST (UserId AS VARCHAR) AS UserId,DisplayName,FirstName,LastName FROM core.users',
sql: 'SELECT CAST (UserId AS VARCHAR) AS UserId,DisplayName,FirstName,LastName FROM core.PrincipalsWithoutAdmin WHERE active = TRUE',
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this filter on users only (Type='u') since PrincipalsWithoutAdmin query displays both groups and users.

Copy link
Contributor

Choose a reason for hiding this comment

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

Also, it looks like 'performedby' in BehaviorDefaults.js and ClinicalCase.js for study.clinremarks should be updated too.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good call. These are fixed.

// formType = row.formtype;
// renderTaskForm(formType);
// }
// });
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove commented code?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed

schemaName: 'study',
queryName: 'tissueDisposition',
filterArray: filterArray,
// sort: '-Date'
Copy link
Contributor

Choose a reason for hiding this comment

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

remove?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed

@labkey-martyp labkey-martyp merged commit 84fb7a9 into release25.7-SNAPSHOT Aug 14, 2025
6 checks passed
@labkey-martyp labkey-martyp deleted the 25.7_fb_necropsy_report branch August 14, 2025 12: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.

3 participants