{% extends "base.html" %} {% load static %} {% block title %}Appointment Details - {{ block.super }}{% endblock %} {% block content %}
{{ appointment.scheduled_datetime|date:"M d, Y H:i" }} • {{ appointment.get_status_display }}
| Date & Time | {{ appointment.scheduled_datetime|date:"M d, Y H:i" }} |
| Duration | {{ appointment.duration_minutes }} minutes |
| Type | {{ appointment.get_appointment_type_display }} |
| Specialty | {{ appointment.specialty|default:"General" }} |
| Priority | {{ appointment.get_priority_display }} |
| Status | {% if appointment.status == 'PENDING' %} {{ appointment.get_status_display }} {% elif appointment.status == 'CONFIRMED' %} {{ appointment.get_status_display }} {% elif appointment.status == 'CHECKED_IN' %} {{ appointment.get_status_display }} {% elif appointment.status == 'IN_PROGRESS' %} {{ appointment.get_status_display }} {% elif appointment.status == 'COMPLETED' %} {{ appointment.get_status_display }} {% elif appointment.status == 'CANCELLED' %} {{ appointment.get_status_display }} {% elif appointment.status == 'NO_SHOW' %} {{ appointment.get_status_display }} {% endif %} |
| Telemedicine | Yes |
{{ appointment.chief_complaint }}
{{ appointment.notes|linebreaks }}
| Name | {{ appointment.patient.get_full_name }} |
| MRN | {{ appointment.patient.mrn }} |
| Date of Birth | {{ appointment.patient.date_of_birth|date:"M d, Y" }} |
| Age | {{ appointment.patient.age }} |
| Gender | {{ appointment.patient.get_gender_display }} |
| Phone | {{ appointment.patient.phone_number|default:"Not provided" }} |
| {{ appointment.patient.email|default:"Not provided" }} |
| Name | {{ appointment.provider.get_full_name }} |
| Role | {{ appointment.provider.get_role_display }} |
| Department | {{ appointment.provider.department|default:"Not specified" }} |
| Phone | {{ appointment.provider.phone_number|default:"Not provided" }} |
| {{ appointment.provider.email|default:"Not provided" }} |