{# patient_table.html #} {% comment %} template parameters: patient_lookup (object) consent_mode (object) OR: concise=True verbose (Boolean) include_sex (Boolean) include_prefers_email (Boolean) include_email (Boolean) include_researcher_detail (Boolean) {% endcomment %} {% comment %} {% endcomment %} {% if include_sex %} {% endif %} {% if include_prefers_email and consent_mode %} {% endif %} {% if include_email %} {% endif %} {% if verbose %} {% endif %} {% if include_researcher_detail %} {% endif %}
Name {{ patient_lookup.pt_title_forename_surname_str }}
Sex {{ patient_lookup.pt_sex }}
Date of birth {{ patient_lookup.pt_dob }}
Identifiers NHS number: {{ patient_lookup.nhs_number }}. {% if patient_lookup.pt_local_id_description %} {{ patient_lookup.pt_local_id_description}}: {{ patient_lookup.pt_local_id_number }}. {% endif %}
Address {{ patient_lookup.pt_address_components_str }}
Prefers e-mail? {{ consent_mode.prefers_email|yesno }}
E-mail address {{ patient_lookup.pt_email }}
GP {{ patient_lookup.gp_name_address_str }}
CPFT clinician {{ patient_lookup.clinician_name_address_str }} ({{ patient_lookup.clinician_signatory_title }})
Patient under 16? {{ patient_lookup.is_under_16|yesno }}
Patient discharged? {{ patient_lookup.pt_discharged|yesno:"yes,no,?" }} {% if patient_lookup.pt_discharged != False %} {% if consent_mode.consent_after_discharge %} (and: patient specifically consented to contact after discharge) {% else %} (note: patient has NOT consented to contact after discharge) {% endif %} {% endif %}
Patient’s previous special requests {{ consent_mode.other_requests }}
Was the patient specifically asked about your study? {{ contact_request.decided_send_to_clinician|yesno }}