{% extends "base.html" %} {% load static %} {% block title %}Operating Rooms - {{ block.super }}{% endblock %} {% block content %}

Operating Rooms

{{ total_rooms|default:0 }}
Total Rooms
{{ available_rooms|default:0 }}
Available
{{ occupied_rooms|default:0 }}
Occupied
{{ maintenance_rooms|default:0 }}
Maintenance
Clear
Operating Rooms {{ page_obj.paginator.count }} total
{% if object_list %}
{% for room in object_list %} {% endfor %}
Room Type Status Current Case Capabilities Floor Actions
{{ room.room_number }}
{{ room.room_name }}
{{ room.get_room_type_display }} {{ room.get_status_display }} {% if room.current_case %}
{{ room.current_case.primary_procedure|truncatechars:30 }}
{{ room.current_case.patient.get_full_name }}
{% else %} No active case {% endif %}
{% if room.supports_robotic %} R {% endif %} {% if room.supports_laparoscopic %} L {% endif %} {% if room.has_c_arm %} C {% endif %} {% if room.supports_microscopy %} M {% endif %}
Floor {{ room.floor_number }}
{% if is_paginated %} {% endif %} {% else %}
No Operating Rooms Found

No operating rooms match your current filters.

Add First Operating Room
{% endif %}
{% endblock %}