{% extends "base.html" %} {% load static %} {% block title %}Incident Reports - {{ block.super }}{% endblock %} {% block content %}
Track and manage patient safety incidents and adverse events
| Incident # | Title | Type | Severity | Patient | Location | Status | Assigned To | Date | Actions |
|---|---|---|---|---|---|---|---|---|---|
| {{ incident.incident_number }} |
{{ incident.title }} {{ incident.description|truncatechars:50 }} |
{{ incident.get_incident_type_display }} | {% if incident.severity == 'NO_HARM' %} {{ incident.get_severity_display }} {% elif incident.severity == 'MINOR_HARM' %} {{ incident.get_severity_display }} {% elif incident.severity == 'MODERATE_HARM' %} {{ incident.get_severity_display }} {% elif incident.severity == 'SEVERE_HARM' %} {{ incident.get_severity_display }} {% elif incident.severity == 'DEATH' %} {{ incident.get_severity_display }} {% else %} {{ incident.get_severity_display }} {% endif %} |
{% if incident.patient %}
{{ incident.patient.get_full_name }} {{ incident.patient.patient_id }} {% else %} No patient {% endif %} |
{% if incident.location %} {{ incident.location }} {% else %} Not specified {% endif %} | {% if incident.status == 'REPORTED' %} {{ incident.get_status_display }} {% elif incident.status == 'UNDER_INVESTIGATION' %} {{ incident.get_status_display }} {% elif incident.status == 'RESOLVED' %} {{ incident.get_status_display }} {% elif incident.status == 'CLOSED' %} {{ incident.get_status_display }} {% else %} {{ incident.get_status_display }} {% endif %} | {% if incident.assigned_to %} {{ incident.assigned_to.get_full_name }} {% else %} Unassigned {% endif %} |
{{ incident.incident_date|date:"M d, Y" }} {{ incident.incident_time|time:"H:i" }} |
|