{% extends "base.html" %} {% load static %} {% block title %}Telemedicine Session Details - {{ block.super }}{% endblock %} {% block content %}

Telemedicine Session Details

Back to Sessions {% if session.status == 'SCHEDULED' or session.status == 'WAITING' %} {% endif %} {% if session.meeting_url %} Join Meeting {% endif %}
Session Information
{% if session.actual_start %} {% endif %} {% if session.actual_end %} {% endif %}
Session ID: {{ session.id }}
Status: {% if session.status == 'SCHEDULED' %} Scheduled {% elif session.status == 'WAITING' %} Waiting {% elif session.status == 'IN_PROGRESS' %} In Progress {% elif session.status == 'COMPLETED' %} Completed {% elif session.status == 'CANCELLED' %} Cancelled {% endif %}
Platform: {{ session.get_platform_display }}
Scheduled Start: {{ session.scheduled_start|date:"M d, Y H:i" }}
Scheduled End: {{ session.scheduled_end|date:"M d, Y H:i" }}
Actual Start: {{ session.actual_start|date:"M d, Y H:i" }}
Actual End: {{ session.actual_end|date:"M d, Y H:i" }}
Duration: {{ session.duration_minutes }} minutes
Technical Details
{% if session.meeting_id %} {% endif %} {% if session.meeting_password %} {% endif %} {% if session.recording_enabled %} {% endif %} {% if session.waiting_room_enabled %} {% endif %}
Meeting ID: {{ session.meeting_id }}
Meeting Password: •••••••• {{ session.meeting_password }}
Recording: Enabled
Waiting Room: Enabled
Created: {{ session.created_at|date:"M d, Y H:i" }}
Last Updated: {{ session.updated_at|date:"M d, Y H:i" }}
Patient Information
{% if session.appointment.patient %}
{{ session.appointment.patient.first_name.0 }}{{ session.appointment.patient.last_name.0 }}
{{ session.appointment.patient.get_full_name }}
MRN: {{ session.appointment.patient.mrn }}
Date of Birth: {{ session.appointment.patient.date_of_birth|date:"M d, Y" }}
Gender: {{ session.appointment.patient.get_gender_display }}
Phone: {{ session.appointment.patient.phone_number|default:"Not provided" }}
Email: {{ session.appointment.patient.email|default:"Not provided" }}
{% else %}

No patient information available

{% endif %}
Healthcare Provider
{% if session.appointment.provider %}
{{ session.appointment.provider.first_name.0 }}{{ session.appointment.provider.last_name.0 }}
{{ session.appointment.provider.get_full_name }}
{{ session.appointment.provider.get_role_display }}
Department: {{ session.appointment.provider.department|default:"Not assigned" }}
Specialization: {{ session.appointment.provider.specialization|default:"General" }}
License Number: {{ session.appointment.provider.license_number|default:"Not provided" }}
Phone: {{ session.appointment.provider.phone_number|default:"Not provided" }}
{% else %}

No provider information available

{% endif %}
Related Appointment
{% if session.appointment %}
Appointment ID: {{ session.appointment.id }}
Type: {{ session.appointment.get_appointment_type_display }}
Status: {{ session.appointment.get_status_display }}
Reason: {{ session.appointment.reason|default:"Not specified" }}
Scheduled Date: {{ session.appointment.appointment_date|date:"M d, Y" }}
Scheduled Time: {{ session.appointment.appointment_time|time:"H:i" }}
Duration: {{ session.appointment.duration_minutes }} minutes
Priority: {% if session.appointment.priority == 'HIGH' %} High {% elif session.appointment.priority == 'MEDIUM' %} Medium {% else %} Normal {% endif %}
{% else %}

No appointment information available

{% endif %}
{% if session.notes or session.status == 'COMPLETED' %}
Session Notes & Documentation
{% if session.notes %}
Session Notes:
{{ session.notes|linebreaks }}
{% endif %} {% if session.status == 'COMPLETED' %}
Session Summary:
  • Duration: {{ session.actual_duration_minutes }} minutes
  • Participants: Patient and Provider
  • {% if session.recording_enabled %}
  • Session was recorded
  • {% endif %}
Follow-up Actions:
{% endif %}
{% endif %}
{% if session.status not in 'COMPLETED,CANCELLED' %} {% endif %}
{% endblock %}