{% extends "base.html" %} {% load static %} {% block title %}Vital Signs Detail - {{ block.super }}{% endblock %} {% block content %}

Vital Signs Detail

Patient Information
Patient:
{{ object.patient.get_full_name }}
MRN: {{ object.patient.mrn }}
Date of Birth:
{{ object.patient.date_of_birth|date:"M d, Y" }}
Age:
{{ object.patient.age }} years
Measured:
{{ object.measured_datetime|date:"M d, Y H:i" }}
Measured By:
{{ object.measured_by.get_full_name|default:"Not specified" }}
{% if object.encounter %}
Encounter:
{{ object.encounter.encounter_id|truncatechars:8 }}
{% endif %}
Measurements
{% if object.systolic_bp or object.diastolic_bp %}
Blood Pressure

{% if object.systolic_bp and object.diastolic_bp %} {{ object.systolic_bp }}/{{ object.diastolic_bp }} {% elif object.systolic_bp %} {{ object.systolic_bp }}/- {% elif object.diastolic_bp %} -/{{ object.diastolic_bp }} {% endif %} mmHg

{% if object.bp_position %} Position: {{ object.get_bp_position_display }}
{% endif %} {% if object.bp_cuff_size %} Cuff: {{ object.get_bp_cuff_size_display }} {% endif %}
{% if object.systolic_bp %} {% if object.systolic_bp < 90 or object.systolic_bp > 140 %} Critical {% elif object.systolic_bp > 120 %} Elevated {% else %} Normal {% endif %} {% endif %}
{% endif %} {% if object.heart_rate %}
Heart Rate

{{ object.heart_rate }} bpm

{% if object.heart_rate < 60 or object.heart_rate > 100 %} Abnormal {% else %} Normal {% endif %}
{% endif %} {% if object.temperature %}
Temperature

{{ object.temperature }}°F

{% if object.temperature_route %} Route: {{ object.get_temperature_route_display }} {% endif %}
{% if object.temperature < 97.0 or object.temperature > 100.4 %} Abnormal {% else %} Normal {% endif %}
{% endif %} {% if object.respiratory_rate %}
Respiratory Rate

{{ object.respiratory_rate }} rpm

{% if object.respiratory_rate < 12 or object.respiratory_rate > 20 %} Abnormal {% else %} Normal {% endif %}
{% endif %} {% if object.oxygen_saturation %}
Oxygen Saturation

{{ object.oxygen_saturation }}%

{% if object.oxygen_saturation < 95 %} Low {% else %} Normal {% endif %}
{% endif %} {% if object.pain_scale is not None %}
Pain Scale

{{ object.pain_scale }}/10

{% if object.pain_scale == 0 %} No Pain {% elif object.pain_scale <= 3 %} Mild {% elif object.pain_scale <= 6 %} Moderate {% else %} Severe {% endif %}
{% endif %}
{% if object.height or object.weight %}
Physical Measurements
{% if object.height %}
{{ object.height }} cm
Height
{% endif %} {% if object.weight %}
{{ object.weight }} kg
Weight
{% endif %} {% if object.height and object.weight %}
{{ object.bmi|floatformat:1 }}
BMI (kg/m²)
{% endif %} {% if object.head_circumference %}
{{ object.head_circumference }} cm
Head Circumference
{% endif %}
{% endif %} {% if object.blood_glucose %}
Additional Measurements
{{ object.blood_glucose }} mg/dL
Blood Glucose
{% endif %}
{% if object.notes %}
Clinical Notes

{{ object.notes|linebreaks }}

{% endif %}
{% if object.has_critical_values %}
Critical Values
Alert: This vital signs record contains values outside normal ranges that require immediate attention.
{% endif %}
Additional Information
{% if object.device_used %}
Device Used:
{{ object.device_used }}
{% endif %} {% if object.location %}
Location:
{{ object.location }}
{% endif %}
Recorded:
{{ object.created_at|date:"M d, Y H:i" }}
{% if object.updated_at != object.created_at %}
Last Updated:
{{ object.updated_at|date:"M d, Y H:i" }}
{% endif %}
Recent Trends
Loading chart...
{% endblock %}