{% extends "layouts/base.html" %} {% load i18n %} {% block title %}Census Report - PX360{% endblock %} {% block content %}

{% trans "Census Report" %}

{% trans "OPD, ER & Inpatient visit counts from HIS data" %}

{% trans "Export Excel" %}
{% if no_data %}

{% trans "No Visit Data Available" %}

{% trans "There are no HIS patient visit records in the database for the selected hospital and year." %}

{% else %}

{% trans "OPD Total" %}

{{ year_totals.OPD_fmt }}

{% trans "ER Total" %}

{{ year_totals.ER_fmt }}

{% trans "Inpatient Total" %}

{{ year_totals.IP_fmt }}

{% trans "Year-over-Year Comparison" %}

{% trans "Monthly Trend" %} ({{ selected_year }})

{% trans "OPD Quarterly" %}

{% trans "ER Quarterly" %}

{% trans "Inpatient Quarterly" %}

{% for yt in yearly_tables %}

{% trans "Year" %} {{ yt.year }} - {% trans "Quarterly Breakdown" %} {% if yt.is_selected %}{% trans "Selected" %}{% endif %}

{% for row in yt.rows %} {% endfor %}
{% trans "Area" %} Q1 Q2 Q3 Q4 {% trans "Total" %}
{{ row.area }} {{ row.q1_fmt }} {{ row.q2_fmt }} {{ row.q3_fmt }} {{ row.q4_fmt }} {{ row.total_fmt }}
{% endfor %} {% endif %}
{% endblock %} {% block extra_js %} {% if not no_data and chart_data_json %} {% endif %} {% endblock %}