Project

General

Profile

Actions

Bug #851

open
AV FM

Book Follow-up Appointment shows a Walk-In tab to the doctor; walk-in registration is a reception task

Bug #851: Book Follow-up Appointment shows a Walk-In tab to the doctor; walk-in registration is a reception task

Added by Alminta V. about 13 hours ago. Updated about 13 hours ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
-
Start date:
11/12/2026
Due date:
% Done:

0%

Estimated time:
Resolved By:

Description

The Book Follow-up Appointment dialog on the patient record has two tabs, Scheduled and Walk-In. The Walk-In tab (Registration Type, Department, Doctor, Chief Complaint, Register Patient) lets a doctor register the patient into a queue. Walk-in registration is done by the receptionist, not the doctor, so it does not belong in this dialog.

Steps to Reproduce:

  1. Log in as Dr. Sravan VS.
  2. Open My Patients > amal prasad, /doctor/record/118, and click Book next to the Next Follow-up.
  3. Click the Walk-In tab.

Expected Result: The dialog for a doctor offers only the scheduled follow-up booking, with no Walk-In tab.

Actual Result: A Walk-In tab with a Register Patient button is available. Combined with the missing Book button on the Scheduled tab, the only action a doctor can take in this dialog is to register a walk-in. It also lets a doctor register a patient to any department/doctor regardless of schedule (see #849).

Cause: AppointmentForm.tsx (nuvita-opd, synced to Doctor Desktop) always renders both tabs; it is shared with the reception screens and has no role/mode switch for the doctor's context.

Suggested fix:

  • Add a prop (e.g. hideWalkIn / mode="followUp") and pass it from the Doctor Desktop patient record so only the Scheduled form shows; rename the dialog action to match.
  • Keep Walk-In in the reception/OPD apps.
  • Regression test: the doctor dialog renders no Walk-In tab; the OPD reception form still does.

Related: first ticket for the same dialog (missing Book button), #849.


Files

Actions

Also available in: PDF Atom