{% extends "subjects/subject_base.html" %} {% load i18n django_bootstrap5 utils auth subjects %} {% block title %}{% translate "Overview" %} · {{ block.super }}{% endblock %} {% block content %} {% if not subject.contact.is_complete or not subject.has_legal_basis or subject.consent_action_required %} {% endif %}
{% if subject.contact.has_legal_representative %}
{{ subject.contact|verbose_name:'legal_representatives' }}
{% for c in subject.contact.legal_representatives.all %} {% has_privacy_level c.subject.privacy_level user as can_access %} {% if can_access %} {{ c }}{% if not forloop.last %},{% endif %} {% else %} {% translate '(insufficient privacy level)' %}{% if not forloop.last %},{% endif %} {% endif %} {% endfor %}
{% endif %} {% if subject.contact.is_legal_representative %}
{% translate 'Legal representative of' %}
{% for c in subject.contact.legal_representative_of.all %} {% has_privacy_level c.subject.privacy_level user as can_access %} {% if can_access %} {{ c }}{% if not forloop.last %},{% endif %} {% else %} {% translate '(insufficient privacy level)' %}{% if not forloop.last %},{% endif %} {% endif %} {% endfor %}
{% endif %}
{% translate 'Subject data registered' %}
{{ subject.created_at }}
{% translate 'Last contacted' %}
{{ subject.updated_at }}
{% translate 'Recruitment attribute completeness' %}
{{ attribute_completeness|default:'—' }}
{{ subject|verbose_name:'privacy_level' }}
{% icon 'user-shield' %} {{ subject|display:'privacy_level' }}
{% translate "Reliability" %}
{{ subject|display:'reliability' }}
{% translate "Drop out rate" %}
{{ dropout_rate }}

{% translate 'Legal basis for data processing' %}

{% if not subject.has_legal_basis %}

{% translate 'Currently there is no legal basis for storing this subject. This subject will be deleted unless you provide at least one of these options.' %}

{% endif %}
{% translate 'Recruitment consent' %} {% translate 'Art. 6 (1) lit. a, Art. 9 (2) lit. a GDPR (explicit consent)' %}
{% if subject.deceased %} {% translate 'deceased' %} {% elif subject.has_legal_basis %} {{ subject|display:'has_consent' }} {% else %} {% url 'subjects:data-protection' subject.pk as url %} {% blocktranslate with url=url %}If applicable, set consent status.{% endblocktranslate %} {% endif %}
{% translate 'Study consent' %} {% translate 'Art. 6 (1) lit. a, Art. 9 (2) lit. a GDPR (explicit consent) and Art. 27 BDSG (additional rules for scientific research)' %}
{% if subject.has_legal_basis %} {{ subject|display:'has_study_consent' }} {% else %} {% url 'subjects:participation-list' subject.pk as url %} {% blocktranslate with url=url %}If applicable, add to a study.{% endblocktranslate %} {% endif %}
{% translate 'Legal representative' %} {% translate 'Art. 6 (1) lit. a, Art. 9 (2) lit. a GDPR (explicit consent) and Art. 1626, 1902 BGB (responsibilities of legal representatives)' %}
{% if subject.has_legal_basis %} {{ subject.contact|display:'is_legal_representative' }} {% else %} {% url 'subjects:index' as url %} {% blocktranslate with url=url %}If applicable, find or create a subject and set this one as their legal representative.{% endblocktranslate %} {% endif %}
{{ subject|verbose_name:'blocked' }} {% translate 'Art. 6 (1) lit. f GDPR (legitimate interests)' %}
{% if subject.deceased %} {% translate 'deceased' %} {% elif subject.has_legal_basis %} {{ subject|display:'blocked' }} {% else %} {% url 'subjects:additional-info' subject.pk as url %} {% blocktranslate with url=url %}If applicable, block this subject.{% endblocktranslate %} {% endif %}
{% endblock %}