{% extends "base.html" %} {% load static %} {% block title %}Delete Operating Room - {{ object.room_number }} - {{ block.super }}{% endblock %} {% block content %}
You are about to permanently delete an operating room. This action cannot be undone and may have significant operational impact.
| Room Number: | {{ object.room_number }} |
| Room Name: | {{ object.room_name }} |
| Room Type: | {{ object.get_room_type_display }} |
| Current Status: | {{ object.get_status_display }} |
| Floor: | Floor {{ object.floor_number }} |
| Building: | {{ object.building|default:"Not specified" }} |
| Active Status: | {% if object.is_active %} Active {% else %} Inactive {% endif %} |
| Emergency Cases: | {% if object.accepts_emergency %} Accepts {% else %} Does not accept {% endif %} |
This operating room currently has an active surgical case:
Please complete or transfer the current case before attempting to delete this room.
This room has {{ future_blocks|length }} future booking(s) that will be affected:
| Date | Time | Surgeon | Service | Cases |
|---|---|---|---|---|
| {{ block.date }} | {{ block.start_time }} - {{ block.end_time }} | {{ block.primary_surgeon.get_full_name }} | {{ block.get_service_display }} | {{ block.surgical_cases.count }} |
Choose how to handle the data associated with this operating room:
Consider these alternatives to deletion: