{{ stats.total_patients|default:0 }}

Total Patients

{{ stats.growth_percentage|default:0 }}% from last month

{{ stats.active_patients|default:0 }}

Active Patients

{{ stats.active_percentage|default:0 }}% of total

{{ stats.vip_patients|default:0 }}

VIP Patients

Premium care patients

{{ stats.recent_registrations|default:0 }}

New (30 days)

Recent registrations
Age Demographics

{{ stats.pediatric_count|default:0 }}

Pediatric
< 18 years

{{ stats.adult_count|default:0 }}

Adult
18-64 years

{{ stats.geriatric_count|default:0 }}

Geriatric
65+ years
Pediatric {{ stats.pediatric_percentage|default:0 }}%
Adult {{ stats.adult_percentage|default:0 }}%
Geriatric {{ stats.geriatric_percentage|default:0 }}%
Gender Distribution
{% for gender_stat in stats.gender_stats %}

{{ gender_stat.count|default:0 }}

{{ gender_stat.gender|title|default:"Unknown" }}
{% empty %}

0

Male

0

Female

0

Other
{% endfor %}
{% for gender_stat in stats.gender_stats %}
{{ gender_stat.gender|title|default:"Unknown" }} {{ gender_stat.percentage|default:0 }}%
{% empty %}

No gender distribution data available

{% endfor %}
{{ stats.appointments_today|default:0 }}
Appointments Today
{{ stats.admitted_patients|default:0 }}
Currently Admitted
{{ stats.critical_patients|default:0 }}
Critical Condition
{{ stats.pending_discharges|default:0 }}
Pending Discharge