DSA 統計分析

首頁 歷史紀錄 {% if chart_no and patient %} 此病患歷史 {% endif %} 新增資料
{% if patient %}
{{ patient.patient_name }} ({{ patient.chart_no }}) — Donor HLA
Serology
A DR
B DQ
Cw DP
DNA Typing
A* DRB1*
B* DQB1*
C* DQA1*
DPB1*
DPA1*
Reports
{% for r in reports %} {% endfor %}
DateClass%SAOverallSpecificity
{{ r.report_date }} {{ r.dsa_class }} {{ r.pct_sa }}% {{ r.overall }} {%- set spec_text = (r.specificity or '') | replace('>', '>') -%} {%- if 'Weak (MFI' in spec_text -%} {%- set parts = spec_text.split('Weak (MFI', 1) -%}
{{ parts[0]|trim }}
Weak (MFI{{ parts[1] }}
{%- else -%}
{{ spec_text or '(-)' }}
{%- endif -%}
{% for comp_label, comp_id, comp_dates, comp_antigens in [ ('DSA Class I', 'chart1', comparison_class1.dates if comparison_class1 else [], comparison_class1.antigens if comparison_class1 else []), ('DSA Class II', 'chart2', comparison_class2.dates if comparison_class2 else [], comparison_class2.antigens if comparison_class2 else []) ] %} {% if comp_dates and comp_dates | length >= 2 %}
{{ comp_label }} — MFI Trend
點圖例可顯示/隱藏抗體
{% endif %} {% endfor %}
Antibody Strength
{% for r in reports %} {% if r.antibodies %}
{{ r.dsa_class }} — {{ r.report_date }} %SA {{ r.pct_sa }}%
{% for a in r.antibodies %} {% endfor %}
AntigenAlleleStrengthMax MFI Mean MFINo of BeadsBead IDs
{{ a.antigen }}{{ a.allele }} {{ a.strength or '' }} {{ a.max_mfi|int }} {{ a.mean_mfi|int }} {{ a.no_of_beads }} {{ a.bead_ids }}
{% endif %} {% endfor %} {% else %}
請先選擇病人。
{% endif %}