{% extends "cephia/base.html" %} {% load bootstrap3 %} {% load el_pagination_tags %} {% block submit_action %} {% url 'subjects' %} {% endblock %} {% block filter_col_a %} {% bootstrap_field form.subject_label %} {% bootstrap_field form.cohort_entry_date %} {% bootstrap_field form.cohort_entry_hiv_status %} {% endblock %} {% block filter_col_b %} {% bootstrap_field form.sex %} {% bootstrap_field form.transgender %} {% bootstrap_field form.population_group %} {% endblock %} {% block filter_col_c %} {% bootstrap_field form.risk_sex_with_men %} {% bootstrap_field form.risk_sex_with_women %} {% endblock %} {% block filter_col_d %} {% bootstrap_field form.risk_idu %} {% bootstrap_field form.has_visits %} {% endblock %} {% block page_content %} {% paginate subjects %}

Subjects

{% show_pages %}
{% for subject in subjects %} {% endfor %}
Subject Label Entry Date Entry Status Country Last Negative Date First Positive Date ARS Onset Fiebig DoB DoD Sex Transgender Population Group Sex with men Sex with women IDU Subtype Confirmed Subtype ART Init Date AIDS Diagnosis Date ART Interruption Date ART Resumption Date
{{subject.subject_label}} {{subject.cohort_entry_date}} {{subject.cohort_entry_hiv_status}} {{subject.country.name}} {% if subject.last_negative_date %}{{subject.last_negative_date}}{% endif %} {% if subject.first_positive_date %}{{subject.first_positive_date}}{% endif %} {% if subject.ars_onset_date %} {{subject.ars_onset_date}} {% else %}   {% endif %} {{subject.fiebig_stage_at_firstpos}} {% if subject.date_of_birth %}{{ subject.date_of_birth|date:"Y" }}{% endif %} {% if subject.date_of_death %}{{ subject.date_of_death|date:"Y" }}{% endif %} {{subject.sex}} {% if subject.transgender %}{% bootstrap_icon "ok" %}{% else %}{% bootstrap_icon "remove" %}{% endif %} {{subject.population_group.name}} {% if subject.risk_sex_with_men %}{% bootstrap_icon "ok" %}{% else %}{% bootstrap_icon "remove" %}{% endif %} {% if subject.risk_sex_with_women %}{% bootstrap_icon "ok" %}{% else %}{% bootstrap_icon "remove" %}{% endif %} {% if subject.risk_idu %}{% bootstrap_icon "ok" %}{% else %}{% bootstrap_icon "remove" %}{% endif %} {% if subject.subtype_confirmed %}{% bootstrap_icon "ok" %}{% else %}{% bootstrap_icon "remove" %}{% endif %} {{subject.subtype.name}} {% if subject.art_initiation_date %} {{subject.art_initiation_date}} {% else %}   {% endif %} {% if subject.aids_diagnosis_date %} {{subject.aids_diagnosis_date}} {% else %}   {% endif %} {% if subject.art_interruption_date %} {{subject.art_interruption_date }} {% else %}   {% endif %} {% if subject.art_resumption_date %} {{subject.art_resumption_date}} {% else %}   {% endif %}
{% endblock %}