{% extends 'base.html' %} {% load static %} {% block title %}Patients Dashboard{% endblock %} {% block extra_css %} {% endblock %} {% block content %}

Patients Dashboard

Comprehensive patient management and analytics

Last Updated
{% now "M d, Y g:i A" %}
{{ stats.total_patients|default:0 }}
Total Patients
+{{ stats.new_patients_today|default:0 }} today
{{ stats.active_patients|default:0 }}
Active Patients
{{ stats.active_change|default:0 }}% this week
{{ stats.admitted_patients|default:0 }}
Currently Admitted
{{ stats.admission_change|default:0 }} from yesterday
{{ stats.critical_patients|default:0 }}
Critical Condition
{{ stats.critical_change|default:0 }} from last hour
{{ stats.appointments_today|default:0 }}
Appointments Today
{{ stats.completed_appointments|default:0 }} completed
{{ stats.new_registrations|default:0 }}
New Registrations
This week
{% if alerts %}
Patient Alerts & Notifications
{% for alert in alerts %}
{{ alert.title }}
{{ alert.message }}
{{ alert.created_at|timesince }} ago
{% endfor %}
{% endif %}
Register New Patient
Add a new patient to the system with complete registration
View All Patients
Browse and manage all registered patients
Schedule Appointment
Book new appointments for existing patients
Emergency Admission
Quick admission for emergency cases
Discharge Management
Process patient discharges and follow-ups
Patient Reports
Generate comprehensive patient analytics
Quick Patient Search
By Name
By ID
By Phone
Advanced
Patient Status Overview
{{ stats.outpatients|default:0 }}
Outpatients
{{ stats.inpatients|default:0 }}
Inpatients
{{ stats.emergency|default:0 }}
Emergency
{{ stats.icu|default:0 }}
ICU
{{ stats.discharged_today|default:0 }}
Discharged Today
{{ stats.readmissions|default:0 }}
Readmissions
Admission Trends (Last 30 Days)
Recent Activity
View All
{% for activity in recent_activities %}
{{ activity.patient.first_name.0|default:"P" }}{{ activity.patient.last_name.0|default:"" }}
{{ activity.patient.get_full_name }}
{{ activity.description }}
{{ activity.created_at|timesince }} ago
{{ activity.get_activity_type_display }}
{% empty %}

No recent activity

{% endfor %}
Today's Appointments
View All
{% for appointment in todays_appointments %}
{{ appointment.scheduled_time|time:"g:i A" }}
{{ appointment.duration }} min
{{ appointment.patient.get_full_name }}
{{ appointment.appointment_type }} - {{ appointment.doctor.get_full_name }}
{{ appointment.get_status_display }}
{% empty %}

No appointments scheduled for today

{% endfor %}
Critical Patients
View All
{% for patient in critical_patients %}
{{ patient.first_name.0 }}{{ patient.last_name.0 }}
{{ patient.get_full_name }}
{{ patient.current_condition }}
{{ patient.current_location }}
{% empty %}

No critical patients at this time

{% endfor %}
Quick Statistics
{{ stats.avg_stay_duration|default:0 }}
Avg Stay (days)
{{ stats.satisfaction_rate|default:0 }}%
Satisfaction Rate
{{ stats.readmission_rate|default:0 }}%
Readmission Rate
{{ stats.bed_occupancy|default:0 }}%
Bed Occupancy
{% endblock %} {% block extra_js %} {% endblock %}