Project

General

Profile

Actions

Bug #483

closed
RH RH

Finalised Reports Filter Dropdown Broken: OPD/IPD Return Nothing, Critical Over-Includes

Bug #483: Finalised Reports Filter Dropdown Broken: OPD/IPD Return Nothing, Critical Over-Includes

Added by Roshni Harish. 23 days ago. Updated 20 days ago.

Status:
Closed
Priority:
Normal
Target version:
ClinQ HMS Platform - Sprint 3
Start date:
10/20/2026
Due date:
% Done:

0%

Estimated time:
Resolved By:

Description

The filter dropdown on the Finalised Reports page (All reports / OPD / IPD / Critical) has two separate problems: selecting OPD or IPD returns zero results even though 5 finalised reports exist under "All reports", and selecting Critical returns a report that was never actually flagged as a critical finding.

Impact
High severity. OPD and IPD are two of the dropdown's four options and currently neither one works at all — they filter out every single report regardless of the report's actual encounter type, making the filter useless for that purpose. The Critical option is arguably worse: it's supposed to help staff quickly find reports tied to a genuine critical finding, but it currently also surfaces at least one report with no critical finding on record, which could mislead someone reviewing the critical-findings workflow into thinking a case was flagged when it wasn't.

Environment
Clinq HMS demo environment, NSS Hospital (nssh.demo.clinq.health), Finalised Reports page and Critical Findings page. Tested 20 October 2026, with 5 total finalised reports on record.
Steps to Reproduce
For OPD/IPD: 1. Go to Radiology > Finalised Reports (shows "5 of 5 reports" under All reports). 2. Select OPD from the filter dropdown and note the result count. 3. Select IPD instead and note the result count.
For Critical: 1. On the same page, select Critical from the filter dropdown and note which reports appear. 2. Separately go to Radiology > Critical Findings and note which report numbers actually appear in its "Critical findings log".
Expected vs Actual
Expected: OPD and IPD each show the subset of the 5 reports matching that encounter type (together covering some or all of the 5). Critical shows only reports that actually have an entry in the Critical Findings log.
Actual: OPD shows "0 of 5 reports" and IPD also shows "0 of 5 reports" — between them they account for none of the 5 existing reports. Critical shows "3 of 5 reports": RAD-9-5, RAD-12-6, and RAD-7-2. But the Critical Findings page's log only contains two entries, for RAD-9-5 and RAD-12-6 — RAD-7-2 (Anu, Screening Mammogram Bilateral) has no critical finding on record at all. RAD-7-2 does carry "Stat" priority, so the Critical filter appears to be matching on priority rather than on an actual flagged critical finding.


Files

AV Updated by Alminta V. 23 days ago Actions #1

  • Status changed from New to Resolved
  • Assignee changed from Alminta V. to Roshni Harish.
  • Resolved By set to Alminta V.

RH Updated by Roshni Harish. 22 days ago Actions #2

  • Status changed from Resolved to Feedback

RH Updated by Roshni Harish. 22 days ago Actions #3

  • Assignee changed from Roshni Harish. to Alminta V.

AV Updated by Alminta V. 20 days ago Actions #4

  • Status changed from Feedback to Resolved
  • Assignee changed from Alminta V. to Roshni Harish.

RH Updated by Roshni Harish. 20 days ago Actions #5

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom