Skip to content

Draft: feat: Implement Patient Status Dashboard with Visit Progress and Queue Tracking

Rajuldev Vandana requested to merge patient-dashboard into develop

This MR introduces the Patient Status Dashboard, which allows patients to track their visit progress during the medical camp workflow.

The dashboard dynamically displays the patient's current stage in the visit journey and provides detailed information recorded during each stage.

Features implemented

Implemented Visit Progress Stepper in the Patient Dashboard.

Added Doctor Consultation stage to the workflow.

Corrected the stage order to match the actual patient journey:

Registration (entry)

Doctor Assigned (doctor_assigning)

Vitals (vitals)

Doctor Consultation (consultation_completed)

Medicines Prescribed (medicine_prescribed)

Medicines Verified (medicine_verified)

Counselling Done (counselling_done)

Implemented queue tracking for stages where the patient is waiting.

Queue Handling

Vitals Queue

Displays the patient's queue position.

Shows how many patients are ahead.

Doctor Consultation Queue

Displays queue position while waiting for consultation.

Updates automatically once consultation starts.

Screenshots or screen recordings image

How to set up and validate locally

Start the frontend application.

Log in as a patient.

Navigate to Patient Dashboard.

Verify the Visit Progress section displays the correct workflow stages.

Confirm queue information appears when the patient is waiting in:

Vitals queue

Doctor consultation queue.

Click on each stage and verify that the corresponding details are displayed.

Edited by Rajuldev Vandana

Merge request reports

Loading