{% extends "base.html" %} {% block title %}افزودن بیمار جدید - مدیریت بیماران{% endblock %} {% block content %}

افزودن دستی بیمار جدید

{# Fixed Fields Section #}

اطلاعات پایه بیمار

{% for i in range(28) %} {% if i < column_pairs|length %} {% set col = column_pairs[i][0] %} {% set name = column_pairs[i][1] %}
{% endif %} {% endfor %}

اطلاعات مراحل پیوند (۳۰۰ مرحله)

{% for stage_num in range(300) %} {% set stage_start_index = 28 + (stage_num * 3) %} {% if stage_start_index < column_pairs|length %}
اطلاعات مرحله {{ stage_num + 1 }}
{% for field_in_stage in range(3) %} {% set current_index = stage_start_index + field_in_stage %} {% if current_index < column_pairs|length %} {% set col = column_pairs[current_index][0] %} {% set name = column_pairs[current_index][1] %}
{% endif %} {% endfor %}
{% endif %} {% endfor %}
{% include 'label_modal.html' %} {% endblock %} {% block extra_js %} {% endblock %} {% block extra_css %} {% endblock %}