{% extends "base.html" %} {% load static %} {% block title %}{% if object %}Edit Appointment{% else %}New Appointment{% endif %}{% endblock %} {% block content %}

{% if object %}Edit Appointment{% else %}Schedule New Appointment{% endif %}

Back to List

Appointment Details

{% if messages %} {% for message in messages %} {% endfor %} {% endif %}
{% csrf_token %}
{% if form.patient.errors %}
{{ form.patient.errors.0 }}
{% endif %}
{% if form.doctor.errors %}
{{ form.doctor.errors.0 }}
{% endif %}
{% if form.appointment_date.errors %}
{{ form.appointment_date.errors.0 }}
{% endif %}
{% if form.appointment_time.errors %}
{{ form.appointment_time.errors.0 }}
{% endif %}
{% if form.appointment_type.errors %}
{{ form.appointment_type.errors.0 }}
{% endif %}
{% if form.status.errors %}
{{ form.status.errors.0 }}
{% endif %}
{% if form.reason.errors %}
{{ form.reason.errors.0 }}
{% endif %}
{% if form.notes.errors %}
{{ form.notes.errors.0 }}
{% endif %}
{% if form.duration.errors %}
{{ form.duration.errors.0 }}
{% endif %}
{% if form.priority.errors %}
{{ form.priority.errors.0 }}
{% endif %}
{% if object %} Cancel {% else %} Cancel {% endif %}
Available Slots
Select a doctor and date to view available slots
Doctor Schedule
Select a doctor to view their schedule
Guidelines
  • Appointments should be scheduled at least 24 hours in advance
  • Emergency cases should be marked as high priority
  • Follow-up appointments are typically 15-30 minutes
  • Reminders are sent 24 hours before the appointment
{% endblock %}