{% extends 'base.html' %} {% block title %}Prediction Result | DiabeScreen{% endblock %} {% block extra_head %} {% endblock %} {% block content %}

Diabetes Risk Assessment Result

Based on your health data and clinical guidelines {{ patient.created_at|date:"F d, Y \a\t g:i A"|default:"Just now" }}

Risk Level: {{ patient.risk_level }}

This assessment is based on the information you provided

Clinical Recommendation

{{ patient.recommendation|default:"Based on your risk assessment, we recommend consulting with a healthcare provider for a comprehensive evaluation and personalized care plan. Regular monitoring and lifestyle modifications may help manage your risk factors." }}

Personal Information

Screening ID #{{ patient.id }}
Age {{ patient.age }} years
Gender {% if patient.gender == 'M' %} Male {% elif patient.gender == 'F' %} Female {% else %} {{ patient.gender|default:"Not specified" }} {% endif %}

Health Metrics

BMI {{ patient.bmi|default:"N/A" }} {% if patient.bmi %} {% if patient.bmi|floatformat:1|add:"0" < 18.5 %} (Underweight) {% elif patient.bmi|floatformat:1|add:"0" < 25 %} (Normal) {% elif patient.bmi|floatformat:1|add:"0" < 30 %} (Overweight) {% else %} (Obese) {% endif %} {% endif %}
Blood Pressure {{ patient.blood_pressure|default:"N/A" }} {% if patient.blood_pressure %} {% with systolic=patient.blood_pressure|cut:"/"|first|add:"0" %} {% if systolic < 120 %} {% elif systolic < 140 %} {% else %} {% endif %} {% endwith %} {% endif %}
Glucose Level {{ patient.glucose_level|default:"N/A" }} mg/dL {% if patient.glucose_level %} {% if patient.glucose_level|add:"0" < 100 %} (Normal) {% elif patient.glucose_level|add:"0" < 126 %} (Prediabetes) {% else %} (Diabetes Range) {% endif %} {% endif %}

Risk Factors

Family History {% if patient.family_history %} Yes {% else %} No {% endif %}
{% if patient.smoking_status %}
Smoking Status {{ patient.smoking_status }}
{% endif %} {% if patient.physical_activity %}
Physical Activity {{ patient.physical_activity }}
{% endif %} {% if patient.diet %}
Diet {{ patient.diet }}
{% endif %}
New Screening View History Print Report
{% endblock %}