{% extends 'base.html' %} {% load static %} {% block title %}Operative Notes{% endblock %} {% block css %} {% endblock %} {% block content %}

Operative Notes

{{ stats.total_notes }}
Total Notes
{{ stats.pending_signature }}
Pending Signature
{{ stats.today_notes }}
Today's Notes
{{ stats.overdue_notes }}
Overdue
Clear
{% for note in notes %}
{{ note.patient.get_full_name }}
{{ note.procedure_name }} {% if note.urgency == 'emergency' %} Emergency {% elif note.urgency == 'urgent' %} Urgent {% endif %}
{{ note.surgery_date|date:"M d, Y H:i" }}
Patient ID: {{ note.patient.patient_id }}
Surgeon: {{ note.primary_surgeon.get_full_name }}
Operating Room: {{ note.operating_room.name }}
Duration: {% if note.surgery_end_time %} {{ note.surgery_duration }} minutes {% else %} In Progress {% endif %}
Status: {% if note.status == 'draft' %} Draft {% elif note.status == 'pending' %} Pending Signature {% elif note.status == 'signed' %} Signed {% elif note.status == 'amended' %} Amended {% endif %}
Created: {{ note.created_at|date:"M d, Y H:i" }}
Last Updated: {{ note.updated_at|date:"M d, Y H:i" }}
{% if note.signed_at %}
Signed: {{ note.signed_at|date:"M d, Y H:i" }}
{% endif %}
View {% if note.status == 'draft' or note.status == 'pending' %} Edit {% endif %} {% if note.status == 'pending' and note.primary_surgeon == request.user %} {% endif %}
{% empty %}
No operative notes found

No notes match your current filters.

Create First Note
{% endfor %}
{% if is_paginated %}
{% endif %}
{% endblock %} {% block js %} {% endblock %}