{% extends "base.html" %} {% load static %} {% block title %}{{ appointment.patient.get_full_name }} - Appointment Details{% endblock %} {% block content %}

Appointment Details

Appointment Overview
{{ appointment.get_status_display }} {{ appointment.get_priority_display }} Priority
Patient:
{{ appointment.patient.first_name.0 }}{{ appointment.patient.last_name.0 }}
{{ appointment.patient.get_full_name }}
{{ appointment.patient.patient_id }}
Provider:
{{ appointment.provider.get_full_name }}
{{ appointment.department|default:"General Practice" }}
Date & Time:
{{ appointment.scheduled_datetime|date:"l, F d, Y" }}
{{ appointment.scheduled_datetime|time:"g:i A" }} ({{ appointment.duration_minutes }} min)
Type: {{ appointment.get_appointment_type_display }} {% if appointment.is_telemedicine %} Virtual {% endif %}
Location: {{ appointment.location|default:"TBD" }}
Reason: {{ appointment.reason|default:"Not specified" }}
Created: {{ appointment.created_at|date:"M d, Y g:i A" }} {% if appointment.created_by %}
by {{ appointment.created_by.get_full_name }} {% endif %}
Reminders: {% if appointment.send_reminders %} Enabled {% else %} Disabled {% endif %}
{% if appointment.notes %}
Notes:
{{ appointment.notes|linebreaks }}
{% endif %}
{% if queue_entry %}
Queue Information
Queue: {{ queue_entry.queue.name }}
Position: #{{ queue_entry.position }}
Status: {{ queue_entry.get_status_display }}
Estimated Wait: {{ queue_entry.estimated_wait_time|default:"Calculating..." }}
{% endif %} {% if telemedicine_session %}
Telemedicine Session
Session ID: {{ telemedicine_session.session_id }}
Platform: {{ telemedicine_session.get_platform_display }}
Status: {{ telemedicine_session.get_status_display }}
Duration: {% if telemedicine_session.started_at and telemedicine_session.ended_at %} {{ telemedicine_session.duration }} minutes {% else %} Not started {% endif %}
{% if telemedicine_session.meeting_url %} {% endif %}
{% endif %}
Quick Actions
{% if appointment.status == 'scheduled' %} {% elif appointment.status == 'in_progress' %} {% endif %}
Edit Details
Delete Appointment
Patient Information
{% if appointment.patient.date_of_birth %} {% endif %} {% if appointment.patient.phone %} {% endif %} {% if appointment.patient.email %} {% endif %}
Name: {{ appointment.patient.get_full_name }}
ID: {{ appointment.patient.patient_id }}
DOB: {{ appointment.patient.date_of_birth|date:"M d, Y" }}
Phone: {{ appointment.patient.phone }}
Email: {{ appointment.patient.email }}
Provider Information
{% if appointment.provider.email %} {% endif %}
Name: {{ appointment.provider.get_full_name }}
Department: {{ appointment.department|default:"General Practice" }}
Email: {{ appointment.provider.email }}
{% endblock %} {% block js %} {% endblock %}