{% extends "base.html" %} {% load static %} {% block title %}{{ appointment.patient.get_full_name }} - Appointment Details{% endblock %} {% block content %}
| 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 %} |
| Queue: | {{ queue_entry.queue.name }} |
| Position: | #{{ queue_entry.position }} |
| Status: | {{ queue_entry.get_status_display }} |
| Estimated Wait: | {{ queue_entry.estimated_wait_time|default:"Calculating..." }} |
| 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 %} |
| 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 }} |
| Name: | {{ appointment.provider.get_full_name }} |
| Department: | {{ appointment.department|default:"General Practice" }} |
| Email: | {{ appointment.provider.email }} |