{% extends 'assistant/base.html' %} {% load static %} {% load i18n %} {% block header.add_script %} {% endblock %} {% block sidebar.dashboard %} {% endblock %} {% block sidebar.patients %} class="active" {% endblock %} {% block content %}

{% trans "اطلاعات پرونده ای " %}({{ patient.profile.first_name }} {{ patient.profile.last_name }})

{% if patient.phone_number %}

{{ patient.phone_number }}

{% endif %}
{% for disease in diseases_list %} {{ disease }} {% endfor %}
{% trans "اطلاعات اولیه" %}
{% trans "نام : " %}{{ patient.profile.first_name }} {{ patient.profile.last_name }}
{% trans "سن : " %}{{ age }}
{% trans "وزن : " %}{{ weight }}kg
{% trans "قد : " %}{{ patient.profile.height }}cm
{% trans "جنسیت : " %} {% if patient.profile.gender %} {% trans "زن" %} {% elif patient.profile.gender == False %} {% trans "مرد" %} {% endif %}
{% trans "آنالیز خواب" %}
{% trans "بیشتر-کمتر : " %}{{sleep_low}}/{{sleep_high}}
{% trans "آب" %}
{{ water }}
{% trans "لیوان" %}
{#
#} {#
{% trans "قدم ها" %}
#} {#
{{ steps.0.steps }}
#} {#
{% trans "قدم" %}
#} {# #} {# #} {# #} {# #} {# #} {##} {#
#}
{% trans "امتیاز وزن" %}
{% trans "وزن هدف لاکتو :" %} {{ patient.profile.goal_weight }} kg
{% trans "وزن هدف کاربر :" %} {% if user_goal_weight %} {{ user_goal_weight }} kg {% elif user_goal_weight == None %} None {% endif %}
{% trans "شاخص های بدنی" %}
{#
{{ BMI }}
#}
{% trans "BMI :" %} {{ BMI }}
{% trans "کالری پیشنهادی لاکتو :" %} {{ patient.profile.CR|floatformat:2 }} gr
{% trans "کالری پیشنهادی مربی :" %} {{ patient.profile.CR_coach }} gr
{% trans "ثبت رژیم جدید" %} {% trans "گفت و گو" %} {% trans "اطلاعات تکمیلی" %}
{% if has_data %}

{% trans "Wellness scores" %}


{% trans "Your Microbiome Age" %}

{{ microbiome_analysis.microbiome_age }}

{% trans "Rejuvenated" %}

{% trans "Your Microbiome Diversity" %}

{{ microbiome_analysis.microbiome_diversity }}

{% if microbiome_analysis.microbiome_diversity < 3 %}Low{% elif 3 <= microbiome_analysis.microbiome_diversity <= 7 %}Moderate{% else %}High{% endif %}
{% trans "EXCELLENT" %}
{% for name, values in excellent_scores.items %}
{{ name }} {{ values.current }}
{% trans "Avg" %} : {{ values.avg }}
{% trans "User" %} : {{ values.current }}
{% endfor %}
{% trans "MODERATE" %}
{% for name, values in moderate_scores.items %}
{{ name }} {{ values.current }}
{% trans "Avg" %} : {{ values.avg }}
{% trans "User" %} : {{ values.current }}
{% endfor %}
{% trans "POOR" %}
{% for name, values in poor_scores.items %}
{{ name }} {{ values.current }}
{% trans "Avg" %} : {{ values.avg }}
{% trans "User" %} : {{ values.current }}
{#
#} {# {% trans "Avg" %}#} {# {% trans "User" %} #} {#
#}
{% endfor %}
{% else %}
{% trans "No microbiome analysis data available for this user." %}
{% endif %}

{% trans "یادداشت های من" %}


{% csrf_token %}

{% trans "پیام روزانه" %}


{% csrf_token %}
    {% for note in daily_notes %}
  • {{ note.text }}
    {{ note.time }}, [{{ note.writer_name }}]
  • {% endfor %}

{% trans "نمودار وزن" %}


{% trans "گزارش خواب هفتگی" %}


    {% for sleep in sleep_list %}
  • {% trans "روز" %}: {{ sleep.day }} ({{ sleep.date }})
    {% trans "ساعت شروع" %}: {{ sleep.start_time }}
    {% trans "مدت زمان خواب" %}: {{ sleep.duration }}
  • {% empty %}
  • {% trans "هیچ گزارش خوابی ثبت نشده است." %}

  • {% endfor %}

{% trans "ورزش ها" %}


    {% for e in exercise %}
  • {% trans "فعالیت" %}: {{ e.activity.name }}
    {% trans "زمان شروع" %}: {{ e.start_date_time|date:"Y-m-d H:i" }}
    {% trans "زمان پایان" %}: {{ e.end_date_time|date:"Y-m-d H:i" }}
    {% trans "مدت زمان" %}: {% if e.hours > 0 %} {{ e.hours }} {% trans "ساعت" %} {% endif %} {% if e.minutes > 0 %} {{ e.minutes }} {% trans "دقیقه" %} {% endif %}
    {% trans "امتیاز" %}: {{ e.point }}
    {% trans "انرژی" %}: {{ e.energy }}
  • {% empty %}
  • {% trans "هیچ ورزشی ثبت نشده است." %}

  • {% endfor %}

{% trans "مصرف آب" %}


    {% for w in water_logs %}
  • {% trans "زمان" %}: {{ w.time|date:"Y-m-d H:i" }}
    {% trans "مقدار" %}: {{ w.amount }} {% trans "لیوان" %}
    {% trans "امتیاز" %}: {{ w.point }}
  • {% empty %}
  • {% trans "هیچ مصرف آبی ثبت نشده است." %}

  • {% endfor %}

{% trans "غذاها" %}


{% trans "کالری" %}

{{ total_calorie }}

{% trans "کربوهیدرات" %}

{{ total_carbohydrate }} /{{ Carbohydrates_to_use }}

{% trans "پروتئین" %}

{{ total_protein }} /{{ Protein_to_use }}

{% trans "چربی" %}

{{ total_fat }} /{{ Fat_to_use }}

{% for day_item in day_list %}

{{ day_item.day_label }} - {{ day_item.date|date:"Y-m-d" }}

{% for meal_key, records in day_item.foods_by_meal.items %}
{{ meal_labels|default_if_none:meal_key }} :
{% for eat_record in records %}

{{ eat_record.food.name }} - {{ eat_record.amount }} گرم

{% endfor %}
{% endfor %}
{% endfor %}
{% for diet in diets %}

{% trans "شروع از" %} {{ diet.jalali_starting_date }}

{% endfor %}

{% trans "لیست منوهای کنونی" %}


{% block table_content %} {% for diet in diets %}

{% trans "شروع از " %}{{ diet.jalali_starting_date }}

{{ diet.html_table | safe }}
{% endfor %} {% endblock %}
{% trans "گفت و گو" %}
{% endblock %} {% block script.add %} {% endblock %}