{% extends "base.html" %} {% from "_macros.html" import collapse_card_start, collapse_card_end %} {% block content %}

Cohort {{ cohort.label }}

{{ collapse_card_start("Cohort Information", show=True)}}
id
{{ cohort.id }}
label
{{ cohort.label }}
description
{{ cohort.description }}
{% if cohort.external_urls %}
external urls

{% for external_system, external_url in cohort.external_urls.items() %} {{ external_system }}: {{ external_url }} {% endfor %}

{% endif %}
{{ collapse_card_end("Cohort Information")}} {% if cohort.subjects %} {{ collapse_card_start("Subjects", show=True) }} {% for subject in cohort.subjects[:25] %} {% endfor %}
id label scan date
{{subject.id}} {{subject.label}} {{subject.scandate}}
{% if cohort.subjects | length > 25 %}

First 25 subjects of {{ cohort.subjects | length }} displayed. All subjects from this cohort are available here

{% endif %} {{ collapse_card_end("Subjects") }} {% endif %} {% endblock %}