Skip to content

[Biobank] Add Lab Technician flag to filter examiner dropdown#284

Open
HenriRabalais wants to merge 4 commits into
aces:26.0from
HenriRabalais:2026-04-16_add-lab-technician-to-examiners
Open

[Biobank] Add Lab Technician flag to filter examiner dropdown#284
HenriRabalais wants to merge 4 commits into
aces:26.0from
HenriRabalais:2026-04-16_add-lab-technician-to-examiners

Conversation

@HenriRabalais
Copy link
Copy Markdown
Collaborator

@HenriRabalais HenriRabalais commented Apr 16, 2026

Description

Adds a LabTechnician flag to the examiner table to allow filtering the "Done By" dropdown in biobank specimen processing to show only lab technicians, rather than the full examiner list which has become unwieldy.

Changes:

  • Added LabTechnician column to examiner table (tinyint, default 0)
  • Updated biobank options endpoint to include the lab technician flag in examiner query
  • Modified specimen process form to filter dropdown to show only lab technicians when in edit mode
  • Historical records continue to display correctly using full examiner list

Testing Instructions

  1. Apply the SQL patch
  2. Manually set LabTechnician = 1 for known lab technicians in the examiner table
  3. Navigate to biobank specimen processing
  4. Create/edit a specimen process - verify "Done By" dropdown shows only lab technicians
  5. View existing processed specimens - verify examiner names display correctly even for non-lab-tech examiners

Related Issues

Caveat for Existing Projects

After applying this patch, existing projects must manually set the LabTechnician flag to 1 for appropriate examiners, otherwise the "Done By" dropdown will be empty.

linked to aces/CBGIR#786

Adds LabTechnician column to examiner table to allow filtering
the "Done By" dropdown in specimen processing to show only lab
technicians rather than the full examiner list.

Resolves aces/CBIGR#776
@ridz1208 ridz1208 self-assigned this Apr 20, 2026
@HenriRabalais
Copy link
Copy Markdown
Collaborator Author

@ridz1208 okay, I've made the adjustment necessary to persist examiners who are no longer active!

let me know if I should also include a patch in this PR to actually add the technicians!

@ridz1208
Copy link
Copy Markdown
Collaborator

please change abse to 26.0-CBIG-ARCHI

@HenriRabalais
Copy link
Copy Markdown
Collaborator Author

@ridz1208 tested, just waiting on Nicolas' response for a patch to add the labtechnicians

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