{% extends "layouts/base.html" %} {% load i18n %} {% block title %}{% trans "Comment Action Plans" %} - PX360{% endblock %} {% block content %}

{% trans "Steps 3-5 — Comment Action Plans" %}

{% trans "Track action plans derived from patient comments" %}

{% trans "Export Action Plans" %}
{% regroup action_plans by department_label as dept_groups %} {% for dept, plans in dept_groups %}
{{ dept|default:_("Unassigned") }}
{% for plan in plans %} {% endfor %}
{% trans "#" %} {% trans "Recommendation" %} {% trans "Frequency" %} {% trans "Status" %} {% trans "Timeframe" %} {% trans "Evidence" %}
{{ plan.problem_number|default:"—" }} {{ plan.recommendation|truncatewords:20 }} {{ plan.frequency }} {% if plan.status == 'completed' %} {% trans "Completed" %} {% elif plan.status == 'on_process' %} {% trans "On Process" %} {% else %} {% trans "Pending" %} {% endif %} {{ plan.timeframe|default:"—" }} {{ plan.evidences|truncatewords:10|default:"—" }}
{% empty %}

{% trans "No action plans found." %}

{% endfor %}
{% endblock %}