{% extends "recruitment/base.html" %} {% load i18n static bootstrap4 utils auth %} {% block title %}{% trans "Recruitment" %} · {{ study }} · {{ block.super }}{% endblock %} {% block header %}

{{ subject.contact.full_name }}

{{ object|display:'status' }}
{% endblock %} {% block content %} {% if not object.match %} {% else %} {% if object.match == 'incomplete' %} {% endif %} {% if subject.contact.has_guardian and study.geo_filter %} {% endif %} {% endif %} {% if not subject.has_consent %} {% endif %}
{% for guardian in subject.contact.guardians.all %} {% has_privacy_level guardian.subject.privacy_level user as can_access %} {% if can_access %}
{% trans 'Legal guardian' %}
{{ guardian.full_name }}
{% include 'recruitment/__contact_detail.html' with contact=guardian %} {% else %}
{% trans 'Legal guardian' %}
{% trans 'Insufficient privacy level' %}
{% endif %}
{% empty %} {% include 'recruitment/__contact_detail.html' with contact=subject.contact %} {% endfor %}
{% trans "Show up rate" %}
{% if showup_stats %}({% for label, count in showup_stats %}{{ label }}: {{ count }}{% if not forloop.last %}, {% endif %}{% endfor %}){% endif %}
{% has_perm 'subjects.change_subject' user study as can_change_subject %} {% if can_change_subject %} {% if not subject.contact.is_complete %} {% endif %} {% trans 'Edit contact data' %} {% trans 'Edit attributes' %} {% if subject.consent.document.is_deprecated or subject.has_consent_from_before_full_age %} {% endif %} {% trans 'Edit data protection' %} {% trans 'Edit additional info' %} {% endif %}
{{ study|verbose_name:'recruitment_text' }}
{{ study|display:'recruitment_text' }}
{% trans 'Type of study' %}
{{ study|display:'study_type' }}
{% trans 'Duration of sessions in minutes' %}
{% if study.studysession_set.all %} {% for session in study.studysession_set.all %} {{ session.duration }}{% if not forloop.last %}, {% endif %} {% endfor %} {% else %} — {% endif %}
{{ study|verbose_name:'sessions_start' }}
{{ study|display:'sessions_start' }}
{{ study|verbose_name:'sessions_end' }}
{{ study|display:'sessions_end' }}
{% if study.has_exclusion_criteria %}
{% if study.exclusion_criteria %} {{ study.exclusion_criteria|linebreaks }} {% endif %} {% for study_type in study.study_type.all %} {% if study_type.exclusion_criteria %}

{{ study_type.label }}

{{ study_type.exclusion_criteria|linebreaks }} {% endif %} {% endfor %} {% if general_criteria %}

{% trans 'General criteria' %}

{{ general_criteria|linebreaks }} {% endif %} {% bootstrap_field form.exclusion_criteria_checked %}
{% endif %}
{% if study.session_instructions %} {{ study.session_instructions|linebreaks }} {% endif %}
{{ study|verbose_name:'sessions_start' }}
{{ study|verbose_name:'sessions_end' }}
{% for field in form.appointments %} {% bootstrap_field field %} {% endfor %} {% trans 'Calendar' %}
{% include 'utils/form_errors.html' with form=form %} {% if study.has_exclusion_criteria %} {% endif %} {% csrf_token %} {% bootstrap_field form.status %}
{% bootstrap_field form.followup_date %}
{% bootstrap_field form.followup_time %}
{% endblock %} {% block extra_scripts %} {% endblock %}