{% for appointment in appointments %} {% empty %} {% endfor %}
Date & Time Patient Provider Type & Specialty Status Priority Actions
{% if appointment.scheduled_datetime %}
{{ appointment.scheduled_datetime|date:"M d, Y" }}
{{ appointment.scheduled_datetime|time:"g:i A" }}
{% else %}
Not scheduled
{% endif %} {% if appointment.is_telemedicine %} Telemedicine {% endif %}
{{ appointment.patient.get_full_name }}
MRN: {{ appointment.patient.mrn }}
{% if appointment.patient.date_of_birth %}
Age: {{ appointment.patient.age }}
{% endif %}
{{ appointment.provider.get_full_name }}
{{ appointment.provider.get_role_display }}
{{ appointment.get_appointment_type_display }}
{{ appointment.get_specialty_display }}
{{ appointment.duration_minutes }} min
{% if appointment.status == 'PENDING' %} {{ appointment.get_status_display }} {% elif appointment.status == 'SCHEDULED' %} {{ appointment.get_status_display }} {% elif appointment.status == 'CONFIRMED' %} {{ 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 }} {% elif appointment.status == 'NO_SHOW' %} {{ appointment.get_status_display }} {% elif appointment.status == 'RESCHEDULED' %} {{ appointment.get_status_display }} {% else %} {{ appointment.get_status_display }} {% endif %} {% if appointment.is_overdue %}
Overdue {% endif %}
{% if appointment.priority == 'ROUTINE' %} {{ appointment.get_priority_display }} {% elif appointment.priority == 'URGENT' %} {{ appointment.get_priority_display }} {% elif appointment.priority == 'STAT' %} {{ appointment.get_priority_display }} {% elif appointment.priority == 'EMERGENCY' %} {{ appointment.get_priority_display }} {% endif %} {% if appointment.urgency_score > 5 %}
Score: {{ appointment.urgency_score }}/10 {% else %}
Score: {{ appointment.urgency_score }}/10 {% endif %}
{% if appointment.status == 'SCHEDULED' or appointment.status == 'CONFIRMED' %} {% endif %} {% if appointment.is_telemedicine and appointment.status in 'CHECKED_IN,IN_PROGRESS' and appointment.meeting_url %} {% endif %} {% if appointment.status == 'IN_PROGRESS' %} {% endif %} {% if appointment.status in 'PENDING,SCHEDULED,CONFIRMED' %} {% endif %}
No appointments found

Try adjusting your search criteria or schedule a new appointment.