Warning: This action cannot be undone!
You are about to permanently delete the ward "{{ ward.name }}".
This will affect all associated data including beds, admissions, and patient records.
Ward Details
- Ward ID:
- {{ ward.ward_id }}
- Name:
- {{ ward.name }}
- Type:
- {{ ward.get_ward_type_display }}
- Specialty:
- {{ ward.get_specialty_display }}
- Total Beds:
- {{ ward.total_beds }}
- Status:
-
{% if ward.is_active %}Active{% else %}Inactive{% endif %}
Will be permanently deleted:
-
Beds
{{ ward.beds.count }}
-
Current Admissions
{{ current_admissions.count }}
-
Historical Admissions
{{ historical_admissions.count }}
-
Transfer Records
{{ transfer_records.count }}
Will be preserved:
-
Patient Records
Preserved
-
Medical Records
Preserved
-
Billing Records
Preserved
-
Staff Assignments
Reassigned
{% if current_admissions.count > 0 %}
Deletion Blocked
This ward cannot be deleted because it has {{ current_admissions.count }}
active patient admission(s). You must:
- Transfer all current patients to other wards
- Complete all pending discharges
- Ensure no active admissions remain
| Bed |
Patient |
Admission Date |
Action Required |
{% for admission in current_admissions %}
| {{ admission.bed.bed_number }} |
{{ admission.patient.get_full_name }} |
{{ admission.admission_date|date:"M d, Y" }} |
Transfer
|
{% endfor %}
{% endif %}
{% if current_admissions.count == 0 %}
{% endif %}