{% extends 'emails/base_email_template.html' %} {% load i18n %} {% block title %}{% if is_high_priority %}URGENT{% else %}New{% endif %} Complaint - {{ complaint.reference_number }}{% endblock %} {% block preheader %}{% if is_high_priority %}URGENT{% else %}New{% endif %} complaint requires your attention{% endblock %} {% block content %}
{% trans "Dear" %} {{ admin_name|default:"Admin" }},
{% trans "A new complaint has been submitted and requires your attention." %}
{% trans "Reference:" %} {{ complaint.reference_number }}
{% trans "Title:" %} {{ complaint.title }}
{% trans "Priority:" %} {{ priority_display }}
{% trans "Severity:" %} {{ severity_display }}
{% trans "Status:" %} {{ status_display }}
{% trans "Patient Name:" %} {{ patient_name|default:"N/A" }}
{% trans "MRN:" %} {{ patient_mrn|default:"N/A" }}
{% trans "Phone:" %} {{ contact_phone|default:"N/A" }}
{% trans "Email:" %} {{ contact_email|default:"N/A" }}
{% trans "Hospital:" %} {{ hospital_name|default:"N/A" }}
{% trans "Department:" %} {{ department_name|default:"N/A" }}
{% trans "Source:" %} {{ source_name|default:"N/A" }}
{% if description %}{% trans "Description:" %}
{{ description|truncatechars:500 }}
{% endif %}{% trans "Action Required:" %} {% trans "Please review and activate this complaint at your earliest convenience." %}
{% if complaint_url %}| {% trans "View Complaint" %} |
{% if is_working_hours %}Working Hours - All Admins (Email Only){% else %}After Hours - On-Call (Email + SMS){% endif %}
{{ notification_time }}
This is an automated notification from the PX 360 system.