{% extends view.base_template|default:"subjects/base.html" %} {% load static i18n django_bootstrap5 utils subjects %} {% block title %} {% translate "Data protection" %} · {{ block.super }} {% endblock %} {% block content %}
{% include 'utils/form_errors.html' with form=form %} {% csrf_token %}
{% if object.consent.document %} {% else %} {% endif %}
{% if object.unknown_consent %}
{% translate 'This subject has no recruitment consent yet' %}
{% translate 'Subject created on' %} {{ subject.created_at|date }} {% elif not object.consent.document %}
{% translate 'This subject has declined recruitment consent' %}
{% translate 'on' %} {{ object.consent.updated_at|date }} {% else %}
{% translate 'This subject has given recruitment consent' %}
{% translate 'on' %} {{ object.consent.updated_at|date }} · {% if object.consent.document.file %} {{ object.consent.document }} {% else %} {{ object.consent.document }} {% endif %} {% if object.consent.document.is_deprecated %} {% translate "deprecated" %} {% endif %} {% if object.consent.file %} · {% translate 'Download signed document' %} {% endif %} {% endif %}
{% if not subject.to_be_deleted %} {% translate "Change" %} {% endif %}
{% if object.consent.document.is_deprecated %}
{% blocktranslate %} The current consent refers to an outdated document and will soon expire, thus rendering the recruitment consent invalid. Please contact the subject to confirm the latest document. {% endblocktranslate %}
{% endif %} {% if object.has_consent_from_before_full_age %}
{% blocktranslate %} The subject has recently come of age. Please contact the parents to get the child's contact information and recruitment consent. {% endblocktranslate %}
{% endif %} {% if object.unknown_consent %}
{% blocktranslate %} The subject has not told us their position on recruitment consent yet. Please contact and ask them to either explicitly give or decline consent to be recruited for future studies. {% endblocktranslate %}
{% endif %}
{% blocktranslate %} Without recruitment consent, this subject will not be taken into account for future recruitment. Withdrawing recruitment consent has no effect on study consent. Therefore no data related to existing studies is deleted. {% endblocktranslate %}
{% if subject.consentrevision_set.exists %}
{% translate 'History' %}
    {% for revision in subject.consentrevision_set.all reversed %}
  • {% if revision.document %} {% else %} {% endif %}
    {% if not revision.document %}
    {% translate 'This subject has declined recruitment consent' %}
    {% translate 'on' %} {{ revision.created_at|date }} {% else %}
    {% translate 'This subject has given recruitment consent' %}
    {% translate 'on' %} {{ revision.created_at|date }} · {% if revision.document.file %} {{ revision.document }} {% else %} {{ revision.document }} {% endif %} {% if not revision.document.is_valid %} {% translate "invalid" %} {% elif revision.document.is_deprecated %} {% translate "deprecated" %} {% endif %} {% if revision.file %} · {% translate 'Download signed document' %} {% endif %} {% endif %}
  • {% endfor %}
{% endif %}
{% bootstrap_field form.privacy_level %} {% bootstrap_field form.export_requested %} {% bootstrap_field form.to_be_deleted %}
{% endblock %}