{% extends "layouts/base.html" %} {% load i18n %} {% load static %} {% block title %}{{ _("Survey Instances")}} - PX360{% endblock %} {% block extra_css %} {% endblock %} {% block content %}

{{ _("Survey Instances")}}

{{ _("Monitor survey responses and scores")}}

{% trans "Total Surveys" %}
{{ stats.total }}
{% trans "All surveys" %}
{% trans "Opened" %}
{{ stats.opened }}
{{ stats.open_rate }}% {% trans "open rate" %}
{% trans "Completed" %}
{{ stats.completed }}
{{ stats.response_rate }}% {% trans "response rate" %}
{% trans "Negative" %}
{{ stats.negative }}
{% trans "Need attention" %}
{% trans "In Progress" %}
{{ stats.in_progress }}
{% trans "Started but not completed" %}
{% trans "Viewed" %}
{{ stats.viewed }}
{% trans "Opened but not started" %}
{% trans "Abandoned" %}
{{ stats.abandoned }}
{% trans "Left incomplete" %}
{% trans "Avg Completion Time" %}
{{ stats.avg_completion_time }}s
{% trans "Average time to complete" %}
{% trans "Engagement Funnel" %}
{% trans "Completion Time" %}
{% trans "Device Types" %}
{% trans "Score Distribution" %}
{% trans "Survey Types" %}
{% trans "30-Day Trend" %}
{% trans "Survey List" %}
{% trans "Showing" %} {{ page_obj.start_index }}-{% trans "end" %} {{ page_obj.end_index }} {% trans "of" %} {{ page_obj.paginator.count }}
{% for survey in surveys %} {% empty %} {% endfor %}
{% trans "Patient" %} {% trans "Survey Template" %} {% trans "Type" %} {% trans "Status" %} {% trans "Score" %} {% trans "Sent" %} {% trans "Completed" %} {% trans "Actions" %}
{{ survey.patient.get_full_name }}
MRN: {{ survey.patient.mrn }}
{{ survey.survey_template.name }}
{% if survey.survey_template.hospital %} {{ survey.survey_template.hospital.name }} {% endif %}
{{ survey.survey_template.get_survey_type_display }} {% if survey.status == 'completed' %} {{ survey.get_status_display }} {% elif survey.status == 'sent' %} {{ survey.get_status_display }} {% elif survey.status == 'active' %} {{ survey.get_status_display }} {% elif survey.status == 'cancelled' %} {{ survey.get_status_display }} {% else %} {{ survey.get_status_display }} {% endif %} {% if survey.total_score %}
{{ survey.total_score|floatformat:1 }}/5.0 {% if survey.is_negative %} {% endif %}
{% else %} - {% endif %}
{% if survey.sent_at %} {{ survey.sent_at|date:"M d, Y H:i" }} {% else %} - {% endif %} {% if survey.completed_at %} {{ survey.completed_at|date:"M d, Y H:i" }} {% else %} - {% endif %}

{{ _("No surveys found")}}

{% if page_obj.has_other_pages %} {% endif %}
{% endblock %} {% block extra_js %} {% endblock %}