{% extends "subjects/subject_base.html" %} {% load i18n auth subjects utils %} {% block title %}{% translate "GDPR request" %} · {{ block.super }}{% endblock %} {% block content %} {% with subject.exportanswer_set.all|list as answers %} {% if answers %}

{% blocktranslate with count=answers|length %}Export issued {{ count }}× so far:{% endblocktranslate %}

{% endif %} {% endwith %}
{% csrf_token %} {% if subject.export_requested %} {% blocktranslate with date=subject.export_requested|longdate %}Export requested on {{ date }}{% endblocktranslate %} {% else %} {% translate 'No export requested' %} {% endif %}
{% if has_participations or general_domains_exist %}

{% translate 'Remember to also gather information from the following external sources:' %}

{% endif %} {% if subject.export_requested %}

{% translate 'Contact data' %}

{{ subject.contact|verbose_name:'title' }}
{{ subject.contact|display:'title' }}
{{ subject.contact|verbose_name:'first_name' }}
{{ subject.contact|display:'first_name' }}
{{ subject.contact|verbose_name:'last_name' }}
{{ subject.contact|display:'last_name' }}
{{ subject.contact|verbose_name:'date_of_birth' }}
{{ subject.contact|display:'date_of_birth' }}
{{ subject.contact|verbose_name:'gender' }}
{{ subject.contact|display:'gender' }}
{{ subject.contact|verbose_name:'address' }}
{% if subject.contact.address %}{{ subject.contact|display:'address' }}{% endif %}
{{ subject.contact|verbose_name:'email' }}
{{ subject.contact|display:'email' }}
{{ subject.contact|verbose_name:'phone_number' }}
{{ subject.contact|display:'phone_number' }}
{{ subject.contact|verbose_name:'phone_number_alternative' }}
{{ subject.contact|display:'phone_number_alternative' }}
{{ subject.contact|verbose_name:'preferred_contact_method' }}
{{ subject.contact|display:'preferred_contact_method' }}
{% translate 'Contact data created at' %}
{{ subject.contact|display:'created_at' }}
{% translate 'Contact data last updated at' %}
{{ subject.contact|display:'updated_at' }}
{{ subject.contact|verbose_name:'legal_representatives' }}
{{ subject.contact|display:'legal_representatives' }}
{% translate 'Legal representative of' %}
{{ subject.contact|display:'legal_representative_of' }}

{% translate 'Procedural data' %}

{{ subject|verbose_name:'privacy_level' }}
{{ subject|display:'privacy_level' }}
{{ subject|verbose_name:'source' }}
{{ subject|display:'source' }}
{{ subject|verbose_name:'deceased' }}
{{ subject|display:'deceased' }}
{{ subject|verbose_name:'blocked' }}
{{ subject|display:'blocked' }}
{% translate 'Deletion requested on' %}
{{ subject|display:'to_be_deleted' }}
{% translate 'Data export requested on' %}
{{ subject|display:'export_requested' }}
{{ subject|verbose_name:'exportanswer' }}
{{ subject|display:'exportanswer_set' }}
{% translate 'Procedural data created at' %}
{{ subject|display:'updated_at' }}
{% translate 'Procedural data last updated at' %}
{{ subject|display:'updated_at' }}
{% translate 'Additional notes' %}
{{ notes|join:', '|default:'—' }}
{{ subject|verbose_name:'additional_suitability_document' }}
{{ subject|display:'additional_suitability_document' }}
{{ subject|verbose_name:'study_type_disinterest' }}
{{ subject|display:'study_type_disinterest' }}
{{ subject|verbose_name:'onetime_invitation_disinterest' }}
{{ subject|display:'onetime_invitation_disinterest' }}
{{ subject|verbose_name:'not_available_until' }}
{{ subject|display:'not_available_until' }}
{% if subject.consent %}

{{ subject|verbose_name:'consent' }}

{{ subject.consent|verbose_name:'document' }}
{{ subject.consent|display:'document' }}
{{ subject.consent|verbose_name:'updated_at' }}
{{ subject.consent|display:'updated_at' }}
{{ subject.consent|verbose_name:'status' }}
{{ subject.consent|display:'status' }}
{% endif %}

{{ subject|verbose_name:'attributes' }}

{% for label, value in attributes %}
{{ label }}
{{ value }}
{% endfor %}
{% if subject.participation_set.exists %}

{{ subject|verbose_name:'participation' }}

{% for participation in subject.participation_set.all %}
{{ participation|verbose_name:'study' }}
{{ participation|display:'study' }}
{{ participation|verbose_name:'status' }}
{{ participation|display:'status' }}
{{ participation|verbose_name:'dropped_out' }}
{{ participation|display:'dropped_out' }}
{{ participation|verbose_name:'excluded_by_cleanup' }}
{{ participation|display:'excluded_by_cleanup' }}
{% translate 'Participation created at' %}
{{ participation|display:'created_at' }}
{% translate 'Participation last updated at' %}
{{ participation|display:'updated_at' }}
{% translate 'Exclusion criteria checked' %}
{{ participation|display:'exclusion_criteria_checked' }}
{% translate 'Contact attempts' %}
{{ participation|display:'attempts' }}
{{ participation|verbose_name:'batch' }}
{{ participation|display:'batch' }}
{{ participation|verbose_name:'followup_date' }}
{{ participation|display:'followup_date' }}
{{ participation|verbose_name:'followup_time' }}
{{ participation|display:'followup_time' }}
{{ participation|verbose_name:'news_interest' }}
{{ participation|display:'news_interest' }}
{{ participation|verbose_name:'execution_tags' }}
{{ participation|display:'execution_tags' }}
{% endfor %} {% endif %} {% if appointments %}

{% translate 'Appointments' %}

{% for appointment in appointments %}
{{ appointment|verbose_name:'session' }}
{{ appointment.session }}
{{ appointment|verbose_name:'start' }}
{{ appointment|display:'start' }}
{{ appointment|verbose_name:'reminded' }}
{{ appointment|display:'reminded' }}
{% endfor %} {% endif %} {% if subject.reliabilityentry_set.exists %}

{{ subject|verbose_name:'reliabilityentry' }}

{% for entry in subject.reliabilityentry_set.all %}
{{ entry|verbose_name:'study' }}
{{ entry|display:'study' }}
{{ entry|verbose_name:'was_reliable' }}
{{ entry|display:'was_reliable' }}
{% endfor %} {% endif %} {% endif %} {% endblock %}