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

Doctor Dashboard

Appointments
{% if messages %} {% for message in messages %}

{{ message }}

{% endfor %} {% endif %}
{% for appointment in appointments %} {% if appointment.patient.id %} {% endif %} {% endfor %}
Patient ID Patient Name Mobile Date Time Patient Notes Serial Actions
{{ appointment.patient.id }} {{ appointment.patient.name }} {{ appointment.patient.mobile }} {{ appointment.available.date }} {{ appointment.available.start_time }} - {{appointment.available.end_time}} {{appointment.notes | truncatewords:20}} {{appointment.serial}} {% if appointment.prescription_exists %} {% for prescription in appointment.prescriptions.all %} {% if prescription.appointment.id == appointment.id %} Edit Delete Print {% endif %} {% endfor %} {% else %} Write Prescription {% endif %}

Lab Reports
{% for r in reports %} {% endfor %}
Test Name Instructions Patient ID. Patient Name Mobile Prescribed Date Prescription Report
{{ r.test.test_name }} {{ r.test.instructions }} {{ r.test.appointment.patient.id}} {{ r.test.appointment.patient.name}} {{ r.test.appointment.patient.mobile}} {{ r.test.prescribed_date }} View Download Report
{% endblock content %}