Doctor Page: Consultation Queue and Medicine Availability
## Summary
Doctor page does not properly display assigned consultation queue, waiting queue, or accurate medicine availability, making it difficult for doctors to manage consultations.
## Steps to reproduce
Create a Doctor page that shows:
Patients assigned to the logged-in doctor for consultation
Patients waiting in the consultation queue
Medicine list with current stock and availability status
This page should help doctors quickly manage consultations and check medicines before prescribing.
## What is the current behavior?
- Assigned consultation patients may be missing or unclear.
- Waiting queue is not properly separated from active consultations.
- Medicine availability or stock status is inaccurate or not clearly shown.
What is the expected correct behavior?
- Assigned consultation queue should clearly list patients assigned to the logged-in doctor.
- Waiting patients should appear in a separate, clearly distinguishable queue.
- Medicine list should show correct stock quantity and availability status, with out-of-stock items highlighted.
Possible fixes
Ensure the Doctor page correctly retrieves and displays:
- Assigned consultation data
- Waiting queue data
- Current medicine inventory with accurate availability
Edited by Suma Pullaiahgari