{% extends "layouts/base.html" %} {% load i18n %} {% block title %}{% trans "Survey Comments" %} - PX360{% endblock %} {% block content %}
{% trans "View all patient comments with AI-powered sentiment analysis" %}
| {% trans "Patient" %} | {% trans "Type" %} | {% trans "Comment" %} | {% trans "Sentiment" %} | {% trans "Survey" %} | {% trans "Date" %} | {% trans "Actions" %} |
|---|---|---|---|---|---|---|
|
{{ survey.patient.get_full_name }}
{{ survey.patient.mrn }}
{% if survey.survey_template.hospital %}
{{ survey.survey_template.hospital.name }}
{% endif %}
|
{% if survey.patient_type and survey.patient_type.code %} {{ survey.patient_type.label }} {% else %} N/A {% endif %} |
{{ survey.comment }}
{% if survey.comment_analyzed %}
{% if survey.comment_analysis.emotion %}
{{ survey.comment_analysis.emotion|title }}
{% endif %}
{% else %}
{% trans "Analyzing..." %}
{% endif %}
|
{% if survey.comment_analyzed and survey.comment_analysis.sentiment %} {{ survey.comment_analysis.sentiment|title }} {% else %} {% trans "Pending" %} {% endif %} |
{{ survey.survey_template.name }}
{{ survey.survey_template.get_survey_type_display }}
{% if survey.total_score %}
Score: {{ survey.total_score|floatformat:1 }}/5.0
{% endif %}
|
{{ survey.completed_at|date:"M d, Y" }}
{{ survey.completed_at|time:"H:i" }}
|
{% trans "View" %} |
{% trans "No survey comments match your current filters." %}
{% if filters.search or filters.sentiment or filters.survey_type or filters.hospital or filters.date_from or filters.date_to %} {% trans "Clear Filters" %} {% endif %}