{% extends base_layout %} {% extends base_layout %} {% load i18n %} {% load static %} {% block title %}{{ _("New Complaint")}} - PX360{% endblock %} {% block extra_css %} {% endblock %} {% block content %}
{% if source_user %} {{ _("Back to My Complaints")}} {% else %} {{ _("Back to Complaints")}} {% endif %}

{{ _("Create New Complaint")}}

{{ _("File a new patient complaint with SLA tracking")}}

{% csrf_token %}
{{ _("Patient Information")}}
{{ form.patient }} {% if form.patient.errors %}
{% for error in form.patient.errors %} {{ error }} {% endfor %}
{% endif %}
{{ form.encounter_id }}
{{ _("Organization") }}
{{ form.hospital }} {% if form.hospital.errors %}
{% for error in form.hospital.errors %} {{ error }} {% endfor %}
{% endif %}
{{ form.department }} {% if form.department.errors %}
{% for error in form.department.errors %} {{ error }} {% endfor %}
{% endif %}
{{ form.staff }} {% if form.staff.errors %}
{% for error in form.staff.errors %} {{ error }} {% endfor %}
{% endif %}
{{ _("Complaint Details")}}
{{ form.description }} {% if form.description.errors %}
{% for error in form.description.errors %} {{ error }} {% endfor %}
{% endif %}
{{ _("AI Classification")}}

{{ _("AI will automatically analyze and classify your complaint:")}}

  • {{ _("Title") }}: {{ _("AI-generated title")}}
  • {{ _("Category") }}: {{ _("AI-determined category")}}
  • {{ _("Severity") }}: {{ _("AI-calculated severity")}}
  • {{ _("Priority") }}: {{ _("AI-calculated priority")}}
{{ _("SLA Information")}}

{{ _("SLA deadline will be automatically calculated based on severity")}}:

  • {{ _("Critical") }}: {{ _("4 hours")}}
  • {{ _("High") }}: {{ _("24 hours")}}
  • {{ _("Medium") }}: {{ _("72 hours")}}
  • {{ _("Low") }}: {{ _("168 hours (7 days)")}}
{% if source_user %} {{ _("Cancel") }} {% else %} {{ _("Cancel") }} {% endif %}
{% endblock %} {% block extra_js %} {% endblock %}