{% extends 'layouts/base.html' %}
{% load i18n %}
{% load rca_filters %}
{% block title %}{{ rca.title }} - {% trans "RCA" %} - PX360{% endblock %}
{% block extra_css %}
{% endblock %}
{% block content %}
{{ rca.title }}
{% if related_item %}
{% trans "Linked to" %} {{ related_item_type|title }}: {{ related_item }}
{% endif %}
{{ rca.get_status_display }}
{{ rca.get_severity_display }}
{{ rca.get_priority_display }}
{{ rca.assigned_to.get_full_name|default:"—" }}
{{ rca.hospital }}
{{ rca.department|default:"—" }}
{{ rca.created_at|date:"M d, Y" }}
{{ rca.target_completion_date|default:"—" }}
{{ log.notes }}
{% endif %}{% trans "No status changes recorded." %}
{{ rc.description }}
{% trans "No root causes added." %}
{{ action.description }}
{% trans "No corrective actions added." %}
{{ note.note }}
{% trans "No notes added." %}