{% extends 'base.html' %} {% load static %} {% block title %}Surgical Note - {{ note.patient.get_full_name }}{% endblock %} {% block css %} {% endblock %} {% block content %}

Surgical Note Details

Back to List {% if note.status != 'signed' %} {# #} {# Edit#} {# #} {% endif %}

{{ note.procedure_name }}

Patient: {{ note.patient.get_full_name }}

Patient ID: {{ note.patient.patient_id }}

Date of Birth: {{ note.patient.date_of_birth|date:"M d, Y" }}

Surgery Date: {{ note.surgery_date|date:"M d, Y" }}

Surgeon: {{ note.surgeon.get_full_name }}

Operating Room: {{ note.operating_room.name }}

{{ note.get_status_display }}
{{ note.get_priority_display }} Priority

Note ID: {{ note.id }}

Pre-operative Information
Pre-operative Diagnosis
{{ note.preoperative_diagnosis|default:"Not specified" }}
Planned Procedure
{{ note.planned_procedure|default:"Not specified" }}
Anesthesia Type
{{ note.get_anesthesia_type_display|default:"Not specified" }}
ASA Classification
{{ note.asa_classification|default:"Not specified" }}
{% if note.preoperative_notes %}
Pre-operative Notes
{{ note.preoperative_notes|linebreaks }}
{% endif %}
Operative Procedure
Actual Procedure
{{ note.actual_procedure|default:"Not specified" }}
Procedure Duration
{{ note.procedure_duration|default:"Not specified" }}
Incision Type
{{ note.incision_type|default:"Not specified" }}
Closure Method
{{ note.closure_method|default:"Not specified" }}
{% if note.operative_findings %}
Operative Findings
{{ note.operative_findings|linebreaks }}
{% endif %} {% if note.procedure_description %}
Detailed Procedure Description
{{ note.procedure_description|linebreaks }}
{% endif %}
Post-operative Information
Post-operative Diagnosis
{{ note.postoperative_diagnosis|default:"Not specified" }}
Estimated Blood Loss
{{ note.estimated_blood_loss|default:"Not specified" }}
Complications
{{ note.complications|default:"None reported" }}
Condition at End
{{ note.condition_at_end|default:"Not specified" }}
{% if note.postoperative_instructions %}
Post-operative Instructions
{{ note.postoperative_instructions|linebreaks }}
{% endif %}
Surgical Team
Primary Surgeon
{{ note.surgeon.get_full_name }}
{% if note.assistant_surgeon %}
Assistant Surgeon
{{ note.assistant_surgeon.get_full_name }}
{% endif %} {% if note.anesthesiologist %}
Anesthesiologist
{{ note.anesthesiologist.get_full_name }}
{% endif %} {% if note.scrub_nurse %}
Scrub Nurse
{{ note.scrub_nurse.get_full_name }}
{% endif %}
{% if note.revisions.exists %}
Revision History
{% for revision in note.revisions.all %}
{{ revision.get_action_display }}
{{ revision.created_at|date:"M d, Y g:i A" }}

By: {{ revision.created_by.get_full_name }}

{% if revision.reason %}

Reason: {{ revision.reason }}

{% endif %}
{% endfor %}
{% endif %} {% if note.status == 'signed' %}
Electronic Signature
Electronically Signed

Signed by: {{ note.signed_by.get_full_name }}

Date: {{ note.signed_at|date:"M d, Y g:i A" }}

IP Address: {{ note.signature_ip|default:"Not recorded" }}

{% elif note.status == 'completed' %}
Electronic Signature Required

This note is complete and ready for electronic signature.

{% endif %}
{% endblock %} {% block js %} {% endblock %}