Actions
Bug #822
open
AV
FM
Patient Record: "View encounter" on a past visit opens a 404 page
Bug #822:
Patient Record: "View encounter" on a past visit opens a 404 page
Start date:
11/12/2026
Due date:
% Done:
0%
Estimated time:
Resolved By:
Description
The "View encounter" link on a past visit in Patient Record leads to a 404 "This page could not be found." page.
Steps to Reproduce:
- Log in as Dr. Sravan VS (Vetri Vivega Medical Center).
- Open My Patients > amal prasad (MRN VVMC-000118), i.e. /doctor/record/118.
- In the visit list, on a Completed visit (e.g. 04 Nov 2026, #VIS-20261104-000002), click "View encounter".
Expected Result: The visit's encounter details open.
Actual Result: Browser goes to /doctor/encounters/268 and shows a bare 404 page (no app shell, no way back).
Notes:
- Cause: the visit card (copied from OPD, opd/app/(app)/patients/[id]/page.tsx) links to /encounters/{encounterId}, but Doctor Desktop has no /encounters route (app/(app) has only consultation, dashboard, discharge-summary, inbox, inpatient, my-queue, patients, record, rounds, schedule).
- Fix options: add an encounter details page, point the link at an existing Doctor screen, or hide the link until a target exists.
- Related: #795 and #797 (other links that open a 404).
Files
AV Updated by Alminta V. about 18 hours ago
- File Screenshot 2026-11-12 at 11.43.48 AM.png Screenshot 2026-11-12 at 11.43.48 AM.png added
- File Screenshot 2026-11-12 at 11.43.54 AM.png added
- Assignee set to Fiza M.
AV Updated by Alminta V. about 18 hours ago
- File deleted (
Screenshot 2026-11-12 at 11.43.54 AM.png)
AV Updated by Alminta V. about 18 hours ago
Actions