Projects, protocols and investigators - #18
Open
labkey-martyp wants to merge 5 commits into
Open
Conversation
Investigator references on projects and protocols resolved against core.Users, which required a LabKey account for every PI and could only display an account display name. They now point at a new ehr.investigators table with an admin entry form, and assignment views build the investigator name from its first and last name fields.
Neither the removed protocol fields nor the counts table are used at this institution.
The three flags are added to the protocol domain and surfaced on the protocol grid.
The earlier column drop left query metadata and the default view pointing at fields the domain template no longer provisions.
labkey-bpatel
approved these changes
Aug 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rationale
Investigators can now be recorded as EHR reference data rather than as LabKey user accounts, so a PI no longer needs a server login to be named on a project or protocol. Investigator references previously resolved against the core user table, which also limited the name shown to whatever an account's display name happened to be. The protocol domain is trimmed and extended in the same pass to match the fields this institution actually uses.
Related Pull Requests
None.
Changes
Investigators are maintained as EHR reference data through an admin form, and project and protocol investigator references now point at that list.
Assignment views show an investigator's full name instead of an account display name.
Protocols carry new food, housing, and pairing exemption flags, visible on the protocol grid.
The protocol domain drops fields and a counts table that this institution does not use.