Skip to content

Show time on all clinical history data sources#720

Merged
labkey-martyp merged 1 commit into
release26.3-SNAPSHOTfrom
26.3_fb_history_show_time
Jul 8, 2026
Merged

Show time on all clinical history data sources#720
labkey-martyp merged 1 commit into
release26.3-SNAPSHOTfrom
26.3_fb_history_show_time

Conversation

@labkey-martyp

Copy link
Copy Markdown
Contributor

Rationale

Clinical History was showing only the date on most record types, even though the underlying datasets store full timestamps. Showing the time makes it possible to see the order of same-day clinical events (observations, drug administrations, case activity, etc.) in the Clinical History panel.

Related Pull Requests

None.

Changes

  • Add setShowTime(true) to the 18 history data source constructors that were missing it.
  • Change the explicit row.setShowTime(false) calls to true in NIRCObservationsDataSource and NIRCObservationOrdersDataSource, whose custom processRows overrides bypass the constructor flag; this also covers the behavior and clinical observation subclasses.
  • No column changes needed: every source already selects its date field (date, or enddate where getDateField() is overridden) and AbstractDataSource reads it via getTimestamp(), so the time component is available for display.

Add setShowTime(true) to the 18 history data source constructors that were missing it, and flip the explicit row.setShowTime(false) calls to true in NIRCObservationsDataSource and NIRCObservationOrdersDataSource, whose custom processRows overrides bypass the constructor flag (this also covers the behavior and clinical observation subclasses). Every source already selects its date field (date, or enddate where getDateField() is overridden) and AbstractDataSource reads it via getTimestamp(), so the time component is available for display.
@labkey-martyp labkey-martyp merged commit 4d85036 into release26.3-SNAPSHOT Jul 8, 2026
6 of 7 checks passed
@labkey-martyp labkey-martyp deleted the 26.3_fb_history_show_time branch July 8, 2026 17:03
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