Actions
Bug #823
open
AV
FM
Patient Record: "Open visit" on a past visit shows "Consultation not found."
Bug #823:
Patient Record: "Open visit" on a past visit shows "Consultation not found."
Start date:
11/12/2026
Due date:
% Done:
0%
Estimated time:
Resolved By:
Description
The "Open visit" link on a past (Completed) visit in Patient Record opens an empty Consultation page saying "Consultation not found."
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.
- On an older visit (e.g. 04 Nov 2026 or 30 Oct 2026, Completed, seen by Dr. K Karuppusamy), click "Open visit".
Expected Result: The visit opens (read-only for a completed visit) so the doctor can review what happened.
Actual Result: Browser goes to /doctor/consultation/360 and shows only a back arrow and "Consultation not found."
Notes:
- The link is /consultation/{visit.id}; the Consultation page is OPD's page (src/opd, synced from nuvita-opd) and renders this message when its visit lookup returns nothing.
- Not yet determined whether the cause is the visit belonging to another doctor, the visit being completed, or the id passed. Needs checking against the API response for visit 360.
- Related: separate bug for "View encounter" on the same card (404 page).
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 Screenshot 2026-11-12 at 11.43.54 AM.png added
- Assignee set to Fiza M.
Actions