{% extends 'reports/base.html' %} {% load static %} {% block header.scripts %} {% endblock %} {% block profile.image %}
{# #}
{% endblock %} {% block header.button %} {% endblock %} {% block content %}

Report From {{ FROM }} Until {{ Created_at }}

{{ profile.first_name }} {{ profile.last_name }}


Estimated HBA1C:

{{ a1c }}

Blood Sugar Average:
{% if BLOOD_SUGAR_AVERAGE < profile.hypo %}

{{ BLOOD_SUGAR_AVERAGE }}

{% elif BLOOD_SUGAR_AVERAGE < profile.minimum_sugar %}

{{ BLOOD_SUGAR_AVERAGE }}

{% elif BLOOD_SUGAR_AVERAGE < profile.maximum_sugar %}

{{ BLOOD_SUGAR_AVERAGE }}

{% elif BLOOD_SUGAR_AVERAGE < profile.hyper %}

{{ BLOOD_SUGAR_AVERAGE }}

{% elif BLOOD_SUGAR_AVERAGE >= profile.hyper %}

{{ BLOOD_SUGAR_AVERAGE }}

{% endif %}
Blood Sugar Deviation:
{% if BLOOD_SUGAR_DEVIATION < 50 %}
±{{ BLOOD_SUGAR_DEVIATION }}
{% else %}
±{{ BLOOD_SUGAR_DEVIATION }}
{% endif %}

Activity:

{{ ACTIVITY }}

Hypos:
{% if HYPOS > 0 %}

{{ HYPOS }}

{% else %}

{{ HYPOS }}

{% endif %}
Hypers:
{% if HYPERS > 0 %}

{{ HYPERS }}

{% else %}

{{ HYPERS }}

{% endif %}



What is iDia?
idia is a Smart Assistant (Mobile Application) for people with type 1 and type 2 diabetes which takes into consideration the BMI and physiology of each individual and based on latest scientific guidelines in diabetes control, healthy nutrition and physical activities, helps the users to control their blood glucose levels to prevent the serious complications that may arise from diabetes, if not controlled. idia focus is on combining technology and the 7 majors, being Healthy Eating, Monitoring, Weight Control, Taking Medications, Reducing Risk, Being Active, & Healthy Coping.

NOTE


The statistics displayed in this report (estimated HbA1c, blood sugar averages, blood sugar deviation, hypos, hypers, etc.) are estimation calculated based on the data entered by users and do not consider or capture data from CGMs (Continuous Glucose Monitors).

Preset, app default values


CARB UNIT

Gram

HYPO

{{ profile.hypo }}

mg/dL
TARGET RANGE

{{ profile.maximum_sugar }} - {{ profile.minimum_sugar }}

mg/dL
HYPER

{{ profile.hyper }}

mg/dL

{% for day, day_data in table_data.items %}
{{ day }}

{% for h in hours %} {% endfor %} {% for item,value in day_data.items %} {% if item == "Blood Sugar" %} {% elif item == "Insulin" or item == "Basal" or item == "Bolus" %} {% elif item == "Carb" %} {% elif item == "Blood Pressure" %} {% else %} {% endif %} {% for element in value %} {% if item == "Blood Sugar" %} {% if element > profile.hyper %} {% elif element > profile.maximum_sugar %} {% elif element > profile.minimum_sugar %} {% elif element > profile.hypo %} {% elif element <= profile.hypo %} {% else %} {% endif %} {% elif item == "Carb" %} {% if element == "" %} {% else %} {% endif %} {% elif item == "Insulin" or item == "Bolus" or item == "Basal"%} {% if element == "" %} {% else %} {% endif %} {% else %} {% endif %} {% endfor %} {% endfor %}
Item/time{{ h }}:00
🔴 {{ item }} (mg/dL)💉 {{ item }} (Unit)🍩 {{ item }} (g)💔 {{ item }} (mmHg){{ item }}{{ element }}{{ element }}{{ element }}{{ element }}{{ element }}{{ element }}{{ element }} (g)💉 {{ element }}{{ element }}

{% endfor %} {% endblock %} {% block scripts %} {# #} {% endblock %}