{% extends 'bootstrap/base.html' %} {% block html %} {% block head %} {% block title %} Smart Office IoT application {% endblock %} {% block styles %} {{ super() }} {% endblock %} {% endblock %} {% block body %} {% block navbar %} {% endblock %} {% block content %}

Smart Office

Medical Clerk

Analysis
{% for doctor in doctors %}
Appointments for Dr. {{ doctor.doctor_name }} {% if doctor.appointments_with_patient %} {% for appointment in doctor.appointments_with_patient %}
  • Patient Name: {{ appointment.patient.first_name }} {{ appointment.patient.last_name }}, Age: {{ appointment.patient.age }}    Appointment ID: {{ appointment.id }} Appointment Date: {{ appointment.event_date }} Appointment Time: {{ appointment.event_time }} {% if appointment.patient_visited %}

    Patient Checked in

    {% else %}

    Patient not Checked in

    {% endif %}
    Delete {% if appointment.patient_visited %} {% else %}
    {% endif %}
  • {% endfor %} {% else %}
  • No Appointments found
  • {% endif %}
    {% endfor %}
    {% endblock %} {% block scripts %} {{ super() }} {% endblock %} {% endblock %} {% endblock %}