Bug #474
closedType Column Illegible for Manually-Added Reference in Document Upload Table
0%
Description
Summary
In the document upload table (External Referral Documents step of New Order), a reference added manually via "Attach Existing Reference (Advanced)" shows an unclear, hard-to-read value in the Type column, instead of a proper mime-type badge like actually-uploaded files get.
Impact
Low-medium severity. Staff reviewing the document list cannot clearly tell the file type of a manually attached reference, since the Type cell renders as faint grey placeholder-style text ("Reference") rather than a legible value, unlike the green mime-type badge shown for files that were actually uploaded (e.g. "application/pdf").
Environment
Clinq HMS demo environment, NSS Hospital (nssh.demo.clinq.health), New Order page, External Referral Documents upload step. Tested 20 October 2026.
Steps to Reproduce
- Go to New Order and switch to the External Referral tab.
- Under External Referral Documents, open "Attach Existing Reference (Advanced)".
- Enter a Reference (e.g. "Document #3") and a File Name (e.g. "test.pdf"), leaving Mime Type blank, and click "Add Reference".
- Look at the Type column for this row in the document table above.
Expected vs Actual
Expected: the Type column either clearly shows the file's mime type (as entered or inferred), or, if none was given, a clearly legible fallback label (e.g. a visible "Unknown" badge).
Actual: the Type cell shows faint, low-contrast grey text reading "Reference" that is hard to read and looks like a disabled placeholder rather than an actual value — inconsistent with the solid green "application/pdf" badge shown on the row above it for a properly uploaded file. The Size column for this row also shows "-" instead of a value.
Files
AV Updated by Alminta V. 22 days ago
- 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
- Status changed from Resolved to Closed