{% extends "base.html" %} {% block title %} Long image follow-up {% endblock %} {% block content %}

Long image follow-up

{% for patient, days, tdate, idate, vdate in results %} {% ifequal idate vdate %} {% else %} {% endifequal %} {% endfor %}
No. 姓名 病歷號 性別 生日 地址 診斷 身份證號 追蹤日數 治療日期 追蹤日期 最後輸入 測量
{{ forloop.counter }} {{ patient.name }} {{ patient.medical_records }} {{ patient.get_gender_display }} {{ patient.birthday }} {{ patient.address }} {% for treatment in patient.treatment_set.all %} {{ treatment.icd9 }}
{% endfor %}
{{ patient.id_cards }} {{ days }} {{ tdate }}{{ idate }}{{ idate }}{{ vdate }} Measure
{% endblock %}