Project

General

Profile

Actions

Bug #471

closed
RH RH

View Button Downloads External Referral Document Instead of Previewing It

Bug #471: View Button Downloads External Referral Document Instead of Previewing It

Added by Roshni Harish. 24 days ago. Updated 22 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

Description:

In the Radiology > Orders > New Intake workflow, clicking the View button under the External Referral Documents section downloads the uploaded PDF or image file instead of displaying it in a preview modal or a new browser tab. The browser opens the macOS Save As dialog, requiring users to save the file locally to view its contents. The View action should allow users to preview the uploaded document directly without downloading it.

Steps to Reproduce

Navigate to Radiology > Orders > New.

Scroll to the External Referral Documents section.

Upload a valid PDF or image file (e.g., image (3).png).

Under the Actions column, click the View button for the uploaded document.

Expected Result

The uploaded document should open in an in-app preview modal or a new browser tab, allowing the user to view the document without downloading it.

Actual Result

Clicking the View button triggers the browser's file download process and opens the macOS Save As dialog instead of displaying the document preview.

Impact

Users must download files locally to verify external referral documents before submitting the radiology intake, disrupting the workflow and reducing usability.

Suggested Fix

Verify that the View action does not use the download attribute.

Ensure the file is served with the appropriate Content-Disposition: inline response header instead of attachment, where supported.

Alternatively, implement an in-app document preview modal or open the document in a new browser tab using the appropriate file URL.


Files

AV Updated by Alminta V. 24 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 Closed
Actions

Also available in: PDF Atom