{% extends "layouts/base.html" %} {% import "macros/form_utils.html" as utils %} {% import "public_utils.html" as public_utils %} {% import "macros/comments.html" as comments %} {% block container %}
Case: {{ case.name }} Variants
Individuals
    {% for individual in case.individuals %}
  • {{ individual.name }} {% if individual.sex_human != 'unknown' %} {{ individual.sex_human }} {% endif %} {% if individual.is_affected %} AFFECTED {% endif %}
  • {% else %}
  • No individuals found.
  • {% endfor %}
Suspected variants
    {% for suspect in case.suspects %}
  • {{ suspect.name }}
  • {% else %}
  • No added suspects.
  • {% endfor %}
Synopsis
{% if case.synopsis %} {{ case.synopsis|markdown }} {% else %} Write about the case here... {% endif %}
{% if config['STORE_ENABLED'] and config['PHENOMIZER_AUTH'] %}
Phenotypes
{{ public_utils.phenotype_table(case.phenotypes) }}
{{ public_utils.phenotype_form(individuals=case.individuals) }}
{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %} {% endfor %} {% endif %} {% endwith %}
Gene lists
    {% for gene_list in case.gene_lists %}
  • {{ gene_list.gene_ids|length }} genes {{ gene_list.list_id }}
  • {% else %}
  • No gene lists added.
  • {% endfor %}
{{ comments.comments(case.case_id, case.case_comments) }}
Resources
{{ utils.select_input('ind_id', case.individuals|map(attribute='ind_id')) }}
{% endif %} {% endblock %}