{% extends 'base.html' %} {% load static %} {% block title %}Search Appointments{% endblock %} {% block css %} {% endblock %} {% block content %}

Search Appointments

Search Filters

{% if appointments %}

Search Results ({{ appointments.count }} found)

{% for appointment in appointments %} {% endfor %}
Date/Time Patient Provider Department Type Status Actions
{{ appointment.appointment_date|date:"M d, Y" }}
{{ appointment.appointment_time|time:"g:i A" }}
{{ appointment.patient.first_name }} {{ appointment.patient.last_name }}
ID: {{ appointment.patient.patient_id }}
{{ appointment.provider.first_name }} {{ appointment.provider.last_name }} {{ appointment.department.name }} {{ appointment.appointment_type.name }} {% if appointment.status == 'scheduled' %} Scheduled {% elif appointment.status == 'confirmed' %} Confirmed {% elif appointment.status == 'checked_in' %} Checked In {% elif appointment.status == 'in_progress' %} In Progress {% elif appointment.status == 'completed' %} Completed {% elif appointment.status == 'cancelled' %} Cancelled {% elif appointment.status == 'no_show' %} No Show {% endif %}
{% if appointment.status == 'scheduled' or appointment.status == 'confirmed' %} {% endif %}
{% elif request.GET %}
No appointments found

Try adjusting your search criteria

{% endif %}
{% endblock %} {% block js %} {% endblock %}