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

Survey Instances

Monitor survey responses and scores

{% trans "Total Surveys" %}

{{ stats.total }}

{% trans "Sent" %}

{{ stats.sent }}

{% trans "Completed" %}

{{ stats.completed }}

{% trans "Negative" %}

{{ stats.negative }}

{% for survey in surveys %} {% empty %} {% endfor %}
{% trans "Patient" %} {% trans "Survey Template" %} {% trans "Journey Stage" %} {% 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.journey_stage_instance %} {{ survey.journey_stage_instance.stage_template.name }} {% else %} - {% endif %} {% if survey.status == 'completed' %} {{ survey.get_status_display }} {% elif survey.status == 'pending' %} {{ 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 {% else %} - {% endif %} {% if survey.sent_at %} {{ survey.sent_at|date:"M d, Y" }} {% else %} - {% endif %} {% if survey.completed_at %} {{ survey.completed_at|date:"M d, Y" }} {% else %} - {% endif %}

No surveys found

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