{% extends "base.html" %} {% load crispy_forms_tags %} {% block content %}

{{ study.name }}

Study ID: {{ study.pk }} • {{ study.get_generation_mode_display }} • {{ study.get_randomisation_mode_display }}

Participant Entry URL Template

Append the pseudo-anonymised ID to this base URL to share with participants:

{{ request.scheme }}://{{ request.get_host }}{% url 'research:participant_entry' study.pk 'PSEUDO_ID' %}
Participants use CID + passcode generated at intake to access their results. {% if study.collect_demographics %} Demographics collected at intake. {% endif %}
Arms / Packets
{% if arm_rows %} {% for arm, assigned_count in arm_rows %} {% endfor %}
Name Collection Assigned Prerequisite Mark Scheme
{{ arm.name }} {{ arm.packet.name }} {% if arm.packet.marking_scheme_name %}
{{ arm.packet.marking_scheme_name }} {% endif %}
{{ assigned_count }} {% if arm.required_previous_arm %} {{ arm.required_previous_arm.name }} {% else %} - {% endif %} {{ arm.packet.marking_scheme_name|default:'-' }} Edit
{% else %}
No packets configured. Add at least one packet before sharing participant links.
{% endif %}
Add Arm
{% csrf_token %} {{ arm_form|crispy }}
Participants ({{ participants|length }})
{% if participants %}
{% for participant in participants %} {% endfor %}
Pseudo ID Group Assigned Arm CID Email Consented Assigned At
{{ participant.pseudo_id }} {{ participant.candidate_group|default:'-' }} {% if participant.assigned_arm %} {{ participant.assigned_arm.name }} {% else %} - {% endif %} {% if participant.cid_user %} {{ participant.cid_user.cid }} {% else %} - {% endif %} {% if participant.email %} {{ participant.email }} {% else %} - {% endif %} {% if participant.consented %} Yes {% else %} No {% endif %} {{ participant.assigned_at|default:'-' }}
{% else %}
No participants yet. {% if study.generation_mode == 'BULK' %} Use Bulk Generate to add participants. {% else %} Participants will be created automatically when they access the participant URL. {% endif %}
{% endif %}
{% endblock %}