Skip to content

Add shared lab result pivot reference range highlighting - #1256

Open
labkey-martyp wants to merge 3 commits into
release26.7-SNAPSHOTfrom
26.7_fb_jhu_lab_results
Open

labkey-martyp wants to merge 3 commits into
release26.7-SNAPSHOTfrom
26.7_fb_jhu_lab_results

Conversation

@labkey-martyp

Copy link
Copy Markdown
Contributor

Rationale

This PR adds an opt-in table customizer to the ehr API that highlights and flags pivoted lab results by reference range, so EHR modules can share one implementation. Nothing changes for a module until its pivot query metadata names the customizer.

Related Pull Requests

Changes

  • Pivoted result cells are colored and marked ↑ high, ↓ low, or * no reference range, with screen-reader text and a reference range popover
  • Grids with marked cells show a legend in the message bar, including after paging, sorting, and in report tabs
  • Colors and the no-range popover text are configurable per query; an empty color turns off that highlight and its marker
  • Unit test for the flag logic

Moves reference range highlighting, arrow markers, and the legend for pivoted lab results into the ehr API so any EHR module can opt in from query metadata.
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.

1 participant