{{ region_ru.get(r.anatomical_region, 'снимок')|capitalize }}
{{ 'нарушение' if kind == 'bad' else 'годен' if kind == 'ok' else 'не оценено' }}-
{% for code, title in checks.get(r.anatomical_region, []) %}
- {{ '✕' if code in viol else '—' if kind == 'na' else '✓' }}{{ title }} {% endfor %}
{{ '✓ совпадает с экспертами' if same else '≠ эксперты иначе' }}: {{ 'годен' if ex.bad == 0 else ((ex.types or [])|map('replace', 'hip_positioning', 'укладка бедра')|map('replace', 'hip_roi', 'поля зоны интереса')|map('replace', 'axis_tilt', 'наклон оси')|map('replace', 'coverage', 'неполный охват')|map('replace', 'artifact', 'посторонний предмет')|join(', ')) or 'брак' }}{% if ex.comment %} · «{{ ex.comment }}»{% endif %}
{% endif %} {% set m = r.metrics or {} %}{% if r.anatomical_region == 'lumbar_spine' and m.angle_deg is defined and m.angle_deg is not none %}угол оси {{ '%.1f'|format(m.angle_deg)|replace('.', ',') }}°{% endif %} {% if m.hip_prob_bad is defined and m.hip_prob_bad is not none %}вероятность брака {{ '%.2f'|format(m.hip_prob_bad)|replace('.', ',') }}{% endif %} {% if r.time_of_processing is defined and r.time_of_processing not in (none, '') %}· {{ '%.2f'|format(r.time_of_processing|float)|replace('.', ',') }} с{% endif %}
{% set g = r._graph %}- {% for e in (r.explanations or [])[:6] %}
- {{ e }} {% endfor %}
image_uid {{ r.image_uid }} · карточка снимка