{% extends base_layout %} {% load i18n %} {% load static %} {% load math %} {% block title %}Complaint #{{ complaint.id|slice:":8" }} - PX360{% endblock %} {% block extra_css %} {% endblock %} {% block content %}
{% trans "ID" %}: {{ complaint.id|slice:":8" }} | {% trans "Patient" %}: {{ complaint.patient.get_full_name }} ({% trans "MRN" %}: {{ complaint.patient.mrn }})
{% trans "Hospital" %}: {{ complaint.hospital.name_en }} {% if complaint.department %} | {% trans "Department" %}: {{ complaint.department.name_en }} {% endif %}
{{ complaint.description|linebreaks }}
{{ complaint.resolution|linebreaks }}
{% trans "Resolved by" %} {{ complaint.resolved_by.get_full_name }} {% trans "on" %} {{ complaint.resolved_at|date:"M d, Y H:i" }}{{ update.message }}
{% if update.old_status and update.new_status %}{% trans "No timeline entries yet" %}
{% trans "No attachments" %}
{% trans "Staff Member:" %} {{ exp.staff.get_full_name }} {% if exp.staff.job_title %} ({{ exp.staff.job_title }}) {% endif %}
{% endif %} {% if exp.is_used and exp.explanation %}{{ exp.explanation|linebreaks }}
{% else %}{% trans "No explanation submitted yet." %}
{% endif %}{% trans "No explanation has been submitted yet." %}
{% if can_edit %}{% trans "Send a link to the assigned staff member requesting their explanation about this complaint." %}
{% if complaint.staff %}{{ action.description|truncatewords:20 }}
{% trans "No PX actions created yet" %}
{% trans "PDF generation requires WeasyPrint to be installed. If you see an error message, please contact your system administrator." %}
{% trans "No admin assigned to this complaint" %}
{% trans "Status" %}: {{ complaint.resolution_survey.get_status_display }}
{% if complaint.resolution_survey.score %}{% trans "Score" %}: {{ complaint.resolution_survey.score }}/100
{% endif %} {% trans "View Survey" %}