Skip to content

Kanban 2257: Antigen filter on the Luminex Levey-Jennings menu page - #1111

Merged
cnathe merged 8 commits into
developfrom
fb_lj_antigen_filter_2257
Nov 25, 2026
Merged

cnathe merged 8 commits into
developfrom
fb_lj_antigen_filter_2257

Conversation

@cnathe

@cnathe cnathe commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Rationale

Lets Luminex users pick an antigen on the Levey-Jennings Reports menu page to narrow the titration and single point control lists to that antigen, and carries the choice into the report, for Kanban #2257.

Related Pull Requests

  • None

Changes

  • The Levey-Jennings menu page lists the protocol's antigens above the titration and single point control lists. Long lists wrap into columns.
  • Selecting an antigen filters both lists and pre-selects that antigen when a report is opened. An icon clears the selection.
  • The Levey-Jennings report pre-selects the Isotype and Conjugate when there is only one option for the selected antigen.
  • Refactored the menu page queries to share their SQL between titrations and single point controls.
  • New Selenium test covering the antigen list, filtering, and the Isotype/Conjugate pre-select.

@cnathe cnathe self-assigned this Nov 17, 2026
@cnathe
cnathe requested a review from XingY November 18, 2026 19:08
private final String _analyte;
private final List<String> _titrations;
private final List<String> _singlePointControls;
private final List<String> _antigens;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I was confused about _analyte vs _antigens, seems like they really point to the same underlying data. Should we rename _antigens to _analytes?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes, good point. The Luminex tool has long used the term analyte in the code and the lab refers to them as Antigen. I'll update to make things consistent with what we already have in the UI.

List<String> singlePointControls = getControlNames(singlePointControlSource, protocol, containerSQL, analyte);

List<String> antigens = List.of();
if (analyte == null)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

check isBlank instead?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

the blank case is already handled in the code prior to this line (i.e. LeveyJenningsMenuForm.java line 29 already does return StringUtils.isBlank(_analyte) ? null : _analyte

@cnathe
cnathe merged commit ca0ae9e into develop Nov 25, 2026
5 checks passed
@cnathe
cnathe deleted the fb_lj_antigen_filter_2257 branch November 25, 2026 15:29
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