Skip to content

Move specimen tables to the specimen module and add specimen data metrics - #8377

Merged
labkey-adam merged 5 commits into
developfrom
fb_specimen_table_migration
Nov 25, 2026
Merged

labkey-adam merged 5 commits into
developfrom
fb_specimen_table_migration

Conversation

@labkey-adam

@labkey-adam labkey-adam commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Rationale

Moves more specimen functionality out of study into the specimen module, and adds study usage metrics that reveal servers holding specimen data without the specimen module. The specimen sample type domain kind stays in study because those servers still need it to protect their existing specimen data.

Related Pull Requests

Changes

  • Add study API base classes for study schema tables so modules outside study can build them
  • Move the specimen event, comment, vial count, and request tables to the specimen module
  • Delete an unused specimen table class
  • List specimen tables only in folders where the specimen module is active, and remove the view specimen tables optional feature
  • Report containers and vials holding specimen data in study's usage metrics, whether or not the specimen module is deployed

Adds AbstractStudyTable and AbstractStudyQuerySchema to the study API so the specimen module can provide study schema tables. Also deletes the unused SpecimenTable and ignores the viewSpecimenTables flag when the specimen module is deployed.
@labkey-adam labkey-adam changed the title Move specimen tables to the specimen module and show them only where it's enabled Move specimen tables to the specimen module and add specimen data metrics Nov 24, 2026
…ata metrics

Servers without the specimen module still hold specimen data that the domain kind protects; the metrics identify those servers.
labkey-adam added a commit to LabKey/testAutomation that referenced this pull request Nov 25, 2026
## Rationale
Removes custom queries that use specimen tables from the SCHARP study
archive, since those tables no longer exist on servers without the
specimen module.

## Related Pull Requests
- LabKey/platform#8377
- LabKey/customModules#298

## Changes
- Remove the 11 specimen and vial request queries from the SCHARP study
archive
labkey-adam added a commit to LabKey/customModules that referenced this pull request Nov 25, 2026
…it's enabled (#298)

## Rationale
Lets the specimen module provide the specimen tables that previously
lived in study.

## Related Pull Requests
- LabKey/platform#8377
- LabKey/testAutomation#3315

## Changes
- Provide the specimen event, comment, vial count, and request tables to
the study schema
@labkey-adam
labkey-adam merged commit 6cb402c into develop Nov 25, 2026
10 checks passed
@labkey-adam
labkey-adam deleted the fb_specimen_table_migration branch November 25, 2026 04:11
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