{% extends "base.html" %} {% block content %}

πŸ‘¨β€βš•οΈ Doctor Dashboard

Welcome, Dr. {{ session['username'] }}

Here’s an overview of your day and patients.

πŸ•’ Manage My Schedule
Today’s Appointments

{{ today_appointments|length if today_appointments else 0 }}

Active Patients

{{ assigned_patients|length if assigned_patients else 0 }}

Upcoming Appointments

{{ upcoming_appointments|length if upcoming_appointments else 0 }}

πŸ“… Today's Appointments

{% for appt in today_appointments %} {% else %} {% endfor %}
Time Patient Name Disease Room
{{ appt.time_slot }} {{ appt.patient_name }} {{ appt.disease or 'β€”' }} {{ appt.room_type or 'β€”' }}
No appointments scheduled for today.

πŸ§β€β™€οΈ My Patients

{% for p in assigned_patients %} {% else %} {% endfor %}
Patient Name Age Gender Disease Room
{{ p.name }} {{ p.age }} {{ p.gender }} {{ p.disease }} {{ p.room_type or 'β€”' }}
No patients assigned.
{% endblock %}