{% extends "base.html" %} {% load static %} {% block title %}Surgical Cases - {{ block.super }}{% endblock %} {% block content %}
| Case # | Patient | Procedure | Surgeon | Scheduled | Room | Priority | Status | Actions |
|---|---|---|---|---|---|---|---|---|
|
{{ case.case_number }}
{% if case.encounter %}
Enc: {{ case.encounter.id }} {% endif %} |
{{ case.patient.get_full_name }} MRN: {{ case.patient.mrn }} • {{ case.patient.age }}y {{ case.patient.get_gender_display }} |
{% for procedure in case.procedures.all %}
{{ procedure.procedure_name }}
{% if procedure.cpt_code %}
{{ procedure.cpt_code }} {% endif %} {% if not forloop.last %} {% endif %} {% endfor %} |
{{ case.primary_surgeon.get_full_name }}
{% if case.anesthesiologist %}
Anesthesia: {{ case.anesthesiologist.get_full_name }} {% endif %} |
{{ case.scheduled_start_time|date:"M d, Y H:i" }}
{% if case.estimated_duration %}
{{ case.estimated_duration }}min {% endif %} |
{% if case.operating_room %} {{ case.operating_room.room_number }} {% else %} TBD {% endif %} | {% if case.priority == 'EMERGENCY' %} Emergency {% elif case.priority == 'URGENT' %} Urgent {% elif case.priority == 'ELECTIVE' %} Elective {% endif %} | {% if case.status == 'SCHEDULED' %} Scheduled {% elif case.status == 'IN_PROGRESS' %} In Progress {% elif case.status == 'COMPLETED' %} Completed {% elif case.status == 'CANCELLED' %} Cancelled {% elif case.status == 'DELAYED' %} Delayed {% endif %} | |
No surgical cases foundNo surgical cases match your current filters. |
||||||||