{% extends 'layouts/base.html' %} {% load i18n %} {% block title %}{% trans "PX Command Center" %} - PX360{% endblock %} {% block content %}

{% trans "PX Command Center" %}

{% trans "Real-time overview of your patient experience operations" %}

{% trans "Last Updated" %}

{% now "j M Y, H:i" %}

{% trans "Total Complaints" %}

{{ stats.total_complaints }}

+12.5% vs last month

{% trans "Avg. Resolution" %}

{{ stats.avg_resolution_time }}

-8.3% faster

{% trans "Patient Satisfaction" %}

{{ stats.satisfaction_score }}%

+5.2% improvement

{% trans "Active Actions" %}

{{ stats.active_actions }}

{{ stats.new_today }} new today

{% trans "Complaints Trend" %}

{% trans "Survey Satisfaction" %}

{{ chart_data.survey_satisfaction|floatformat:1 }}

{% trans "Average Score (Last 30 Days)" %}

0 50 100

{% trans "Latest High Severity Complaints" %}

{% trans "View All" %}

{% trans "Top Physicians This Month" %}

{% trans "View Leaderboard" %}
{% for rating in top_physicians %} {% endfor %}
{% trans "Rank" %} {% trans "Physician" %} {% trans "Specialization" %} {% trans "Department" %} {% trans "Rating" %} {% trans "Surveys" %} {% trans "Sentiment" %}
{% if forloop.counter == 1 %}
{% elif forloop.counter == 2 %}
{% elif forloop.counter == 3 %}
{% else %} #{{ forloop.counter }} {% endif %}
{{ rating.staff }}
{{ rating.staff.license_number }}
{{ rating.staff.specialization }} {% if rating.staff.department %} {{ rating.staff.department.name }} {% else %} - {% endif %}
{{ rating.average_rating|floatformat:2 }}
{{ rating.total_surveys }}
{{ rating.positive_count }} {{ rating.neutral_count }} {{ rating.negative_count }}
{% if physician_stats.total_physicians %}
{{ physician_stats.total_physicians }}
{% trans "Physicians Rated" %}
{{ physician_stats.avg_rating|floatformat:2 }}
{% trans "Average Rating" %}
{{ physician_stats.total_surveys }}
{% trans "Total Surveys" %}
{% endif %}

{% trans "Latest Integration Events" %}

{% for event in latest_events %} {% endfor %}
{% trans "Source" %} {% trans "Event Code" %} {% trans "Encounter ID" %} {% trans "Status" %} {% trans "Processed At" %}
{{ event.get_source_system_display }} {{ event.event_code }} {{ event.encounter_id }} {{ event.get_status_display }} {{ event.processed_at|timesince }} {% trans "ago" %}
{% if not latest_events %}

{% trans "No recent events" %}

{% endif %}
{% endblock %} {% block extra_js %} {% endblock %}