{% extends "layouts/base.html" %} {% load i18n %} {% block title %}{% trans "Complaint Adverse Actions" %} - PX360{% endblock %} {% block content %}

{% trans "Complaint Adverse Actions" %}

{% trans "Track and manage adverse actions or damages to patients related to complaints" %}

{% trans "Back to Complaints" %}
{% for action in page_obj %} {% empty %} {% endfor %}
{% trans "Complaint" %} {% trans "Type" %} {% trans "Severity" %} {% trans "Date" %} {% trans "Status" %} {% trans "Escalated" %} {% trans "Actions" %}
{{ action.complaint.reference_number }}

{{ action.complaint.title }}

{{ action.get_action_type_display }} {% if action.severity == 'critical' %} {{ action.get_severity_display }} {% elif action.severity == 'high' %} {{ action.get_severity_display }} {% elif action.severity == 'medium' %} {{ action.get_severity_display }} {% else %} {{ action.get_severity_display }} {% endif %} {{ action.incident_date|date:"Y-m-d" }} {% if action.status == 'reported' %} {{ action.get_status_display }} {% elif action.status == 'under_investigation' %} {{ action.get_status_display }} {% elif action.status == 'verified' %} {{ action.get_status_display }} {% elif action.status == 'resolved' %} {{ action.get_status_display }} {% else %} {{ action.get_status_display }} {% endif %} {% if action.is_escalated %} {% else %} - {% endif %} {% trans "View" %}

{% trans "No adverse actions found." %}

{% if page_obj.has_other_pages %}

{% blocktrans with page_obj.number as page and page_obj.paginator.num_pages as total %} Page {{ page }} of {{ total }} {% endblocktrans %}

{% if page_obj.has_previous %} {% endif %} {% if page_obj.has_next %} {% endif %}
{% endif %}
{% endblock %}