{% load i18n %}{% if is_high_priority %}🚨 URGENT{% else %}📋 NEW{% endif %} - Complaint #{{ complaint.reference_number }}

Dear {{ admin_name|default:"Admin" }},

A new complaint has been submitted and requires your attention.

================================================================================
COMPLAINT DETAILS
================================================================================
Reference:        {{ complaint.reference_number }}
Title:            {{ complaint.title }}
Priority:         {{ priority_display }}
Severity:         {{ severity_display }}
Status:           {{ status_display }}

================================================================================
PATIENT INFORMATION
================================================================================
Name:             {{ patient_name|default:"N/A" }}
MRN:              {{ patient_mrn|default:"N/A" }}
Phone:            {{ contact_phone|default:"N/A" }}
Email:            {{ contact_email|default:"N/A" }}

================================================================================
HOSPITAL/LOCATION
================================================================================
Hospital:         {{ hospital_name|default:"N/A" }}
Department:       {{ department_name|default:"N/A" }}
Source:           {{ source_name|default:"N/A" }}

================================================================================
DESCRIPTION
================================================================================
{{ description|truncatechars:500 }}

================================================================================
ACTION REQUIRED
================================================================================
Please review and activate this complaint at your earliest convenience.

View Complaint: {{ complaint_url }}

================================================================================
NOTIFICATION DETAILS
================================================================================
Time:             {{ notification_time }}
Type:             {% if is_working_hours %}Working Hours (All Admins - Email Only){% else %}After Hours (On-Call - Email + SMS){% endif %}

---
This is an automated notification from the PX 360 system.
Please do not reply to this email.
