Expand the protocol and project default views and assignment forms - #40
Open
labkey-martyp wants to merge 5 commits into
Open
Expand the protocol and project default views and assignment forms#40labkey-martyp wants to merge 5 commits into
labkey-martyp wants to merge 5 commits into
Conversation
The protocol dropdown now shows the protocol display name with its investigator's last name, and both new columns are read-only echoes of the selected lookup row.
The protocol fixtures now point at ehr.investigators rows rather than user ids, which is what the investigator lookup actually resolves against, and they carry descriptions so the new column has something to show.
ehr.xml hides name, investigatorId, alwaysavailable and both ibc_approval columns, so un-hiding those takes an explicit false rather than a dropped tag. inves and inves2 stay hidden and drop out of the views.
The arrival and birth forms share ehr/activeProtocols with the assignment form, and the lookup store is keyed by display column alone, so all three must request the same columns or whichever loads first starves the others.
labkey-bpatel
approved these changes
Sep 11, 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
Makes the full protocol and project record visible where people actually work with it, in the ehr default views and in the Assignment data entry form. Each default view showed only a handful of the table's columns — four on project, eleven on protocol — so most of the record was reachable only through Customize Grid. On the Assignment form a row identified its protocol and project by id alone, with no way to see the protocol's description, the project's account, or which investigator owns a protocol.
Related Pull Requests
None.
Changes