{% if rooms %} {% for room in rooms %}
{{ room.room_number }} {% if room.current_case %}
{{ room.current_case.patient.get_full_name }} {% else %}
{{ room.get_room_type_display }} {% endif %}
{% if room.status == 'AVAILABLE' %} Available {% elif room.status == 'OCCUPIED' %} Occupied {% elif room.status == 'CLEANING' %} Cleaning {% elif room.status == 'MAINTENANCE' %} Maintenance {% elif room.status == 'OUT_OF_SERVICE' %} Out of Service {% endif %}
{% endfor %}
Manage Rooms
{% else %}

No operating rooms configured

Add operating rooms to get started
{% endif %}