{% extends 'base.html' %} {% block title %}Appointment Dashboard - Hospital Management System{% endblock %} {% block content %}

Appointment Dashboard

Loading...
Today's Appointments
{{ todays_appointments|length }} scheduled
{% for appointment in todays_appointments %} {% empty %} {% endfor %}
Time Patient Provider Type Status Actions
{{ appointment.scheduled_datetime|time:"g:i A" }} {% if appointment.is_telemedicine %}
Telemedicine {% endif %}
{{ appointment.patient.get_full_name }}
MRN: {{ appointment.patient.mrn }}
{{ appointment.provider.get_full_name }}
{{ appointment.get_appointment_type_display }}
{{ appointment.get_specialty_display }}
{% if appointment.status == 'SCHEDULED' %} {{ appointment.get_status_display }} {% elif appointment.status == 'CHECKED_IN' %} {{ appointment.get_status_display }} {% elif appointment.status == 'IN_PROGRESS' %} {{ appointment.get_status_display }} {% elif appointment.status == 'COMPLETED' %} {{ appointment.get_status_display }} {% elif appointment.status == 'CANCELLED' %} {{ appointment.get_status_display }} {% else %} {{ appointment.get_status_display }} {% endif %}
{% if appointment.status == 'SCHEDULED' %} {% endif %} {% if appointment.is_telemedicine and appointment.status in 'CHECKED_IN,IN_PROGRESS' %} {% endif %}

No appointments scheduled for today.
Active Queues
{% for queue in active_queues %}
{{ queue.name }}
{{ queue.get_queue_type_display }}
{{ queue.current_queue_size }}
waiting
{% empty %}

No active queues.
{% endfor %} {% if active_queues %} {% endif %}
{% endblock %}