{% extends 'base.html' %} {% load static %} {% block title %}Delete Surgical Note - {{ note.patient.get_full_name }}{% endblock %} {% block css %} {% endblock %} {% block content %}

Delete Surgical Note

Confirm Deletion

You are about to permanently delete this surgical note

Warning: This action cannot be undone

Deleting this surgical note will permanently remove all associated data from the system.

Surgical Note Details
Patient
{{ note.patient.get_full_name }}
ID: {{ note.patient.patient_id }}
Procedure
{{ note.procedure_name }}
{% if note.procedure_code %} Code: {{ note.procedure_code }} {% endif %}
Surgeon
{{ note.surgeon.get_full_name }}
{% if note.surgeon.specialization %} {{ note.surgeon.specialization }} {% endif %}
Surgery Date
{{ note.surgery_date|date:"F d, Y" }}
{{ note.surgery_date|time:"g:i A" }}
Status
{{ note.get_status_display }}
Priority
{{ note.get_priority_display }}
Created
{{ note.created_at|date:"M d, Y" }}
{{ note.created_at|time:"g:i A" }}
Last Modified
{{ note.updated_at|date:"M d, Y" }}
{{ note.updated_at|time:"g:i A" }}
{% if note.preoperative_diagnosis %}
Pre-operative Diagnosis
{{ note.preoperative_diagnosis|truncatewords:10 }}
{% if note.postoperative_diagnosis %}
Post-operative Diagnosis
{{ note.postoperative_diagnosis|truncatewords:10 }}
{% endif %}
{% endif %}
Consequences of Deletion
{% if note.status == 'signed' %}
Signed Document Warning

This surgical note has been electronically signed. Deleting signed medical documents may violate regulatory requirements and institutional policies. Please consult with your compliance officer before proceeding.

{% endif %} {% if note.is_emergency %}
Emergency Surgery Record

This is an emergency surgical note. Emergency records are often subject to additional regulatory scrutiny and may be required for quality assurance reviews.

{% endif %}
{% csrf_token %}
Confirmation Required
{% if note.status == 'signed' %}
{% endif %}
This reason will be logged for audit purposes
This additional confirmation helps prevent accidental deletions
Cancel Back to List
{% endblock %} {% block js %} {% endblock %}