Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
study_columns.py 6.11 KiB
# coding=utf-8
from django.db import models


class StudyColumns(models.Model):
    class Meta:
        app_label = 'web'

    postponed = models.BooleanField(
        verbose_name='Postponed',
        default=True
    )

    datetime_contact_reminder = models.BooleanField(
        default=True,
        verbose_name='Please make a contact on'
    )
    type = models.BooleanField(
        default=True,
        verbose_name='Type'
    )

    default_location = models.BooleanField(
        default=True,
        verbose_name='Default appointment location',
    )

    flying_team = models.BooleanField(
        default=True,
        verbose_name='Default flying team location (if applicable)',
    )

    screening_number = models.BooleanField(
        default=True,
        verbose_name='Screening number',
    )
    nd_number = models.BooleanField(
        default=True,
        verbose_name='ND number',
    )
    mpower_id = models.BooleanField(
        default=True,
        verbose_name='MPower ID'
    )
    comments = models.BooleanField(
        default=True,
        verbose_name='Comments'
    )
    referral = models.BooleanField(
        default=True,
        verbose_name='Referred by'
    )
    diagnosis = models.BooleanField(
        default=True,
        verbose_name='Diagnosis'
    )
    year_of_diagnosis = models.BooleanField(
        default=True,
        verbose_name='Year of diagnosis (YYYY)'
    )

    information_sent = models.BooleanField(
        default=True,
        verbose_name='Information sent',
    )
    pd_in_family = models.BooleanField(
        default=True,
        verbose_name='PD in family',
    )
    resigned = models.BooleanField(
        default=True,
        verbose_name='Resigned',
    )
    resign_reason = models.BooleanField(
        default=True,
        verbose_name='Resign reason'
    )

    excluded = models.BooleanField(default=False, verbose_name='Excluded')

    endpoint_reached = models.BooleanField(default=True, verbose_name='Endpoint reached')

    resign_reason = models.BooleanField(default=True, verbose_name='Endpoint reached comments')

    referral_letter = models.BooleanField(
        default=False,
        verbose_name='Referral letter'
    )

    health_partner = models.BooleanField(
        default=False,
        verbose_name='Health partner'
    )

    health_partner_feedback_agreement = models.BooleanField(
        default=False,
        verbose_name='Agrees to give information to referral'
    )

    screening = models.BooleanField(
        default=False,
        verbose_name='Screening'
    )

    previously_in_study = models.BooleanField(
        default=False,
        verbose_name='Previously in PDP study',
    )

    voucher_types = models.BooleanField(
        default=False,
        verbose_name='Voucher types',
    )

    vouchers = models.BooleanField(
        default=False,
        verbose_name='Vouchers',
    )

    brain_donation_agreement = models.BooleanField(
        default=False,
        verbose_name='Brain donation agreement',
    )

    virus_test_1 = models.BooleanField(
        default=False,
        verbose_name='Visit 1 virus results',
    )
    virus_test_2 = models.BooleanField(
        default=False,
        verbose_name='Visit 2 virus results',
    )
    virus_test_3 = models.BooleanField(
        default=False,
        verbose_name='Visit 3 virus results',
    )
    virus_test_4 = models.BooleanField(
        default=False,
        verbose_name='Visit 4 virus results',
    )
    virus_test_5 = models.BooleanField(
        default=False,
        verbose_name='Visit 5 virus results',
    )
    virus_test_1_updated = models.BooleanField(
        default=False,
        verbose_name='Visit 1 virus results date',
    )
    virus_test_2_updated = models.BooleanField(
        default=False,
        verbose_name='Visit 2 virus results date',
    )
    virus_test_3_updated = models.BooleanField(
        default=False,
        verbose_name='Visit 3 virus results date',
    )
    virus_test_4_updated = models.BooleanField(
        default=False,
        verbose_name='Visit 4 virus results date',
    )
    virus_test_5_updated = models.BooleanField(
        default=False,
        verbose_name='Visit 5 virus results date',
    )
    virus_test_1_collection_date = models.BooleanField(
        default=False,
        verbose_name='Visit 1 virus collection date',
    )
    virus_test_2_collection_date = models.BooleanField(
        default=False,
        verbose_name='Visit 2 virus collection date',
    )
    virus_test_3_collection_date = models.BooleanField(
        default=False,
        verbose_name='Visit 3 virus collection date',
    )
    virus_test_4_collection_date = models.BooleanField(
        default=False,
        verbose_name='Visit 4 virus collection date',
    )
    virus_test_5_collection_date = models.BooleanField(
        default=False,
        verbose_name='Visit 5 virus collection date',
    )
    virus_test_1_iga_status = models.BooleanField(
        default=False,
        verbose_name='Visit 1 virus IgA status',
    )
    virus_test_1_igg_status = models.BooleanField(
        default=False,
        verbose_name='Visit 1 virus IgG status',
    )
    virus_test_2_iga_status = models.BooleanField(
        default=False,
        verbose_name='Visit 2 virus IgA status',
    )
    virus_test_2_igg_status = models.BooleanField(
        default=False,
        verbose_name='Visit 2 virus IgG status',
    )
    virus_test_3_iga_status = models.BooleanField(
        default=False,
        verbose_name='Visit 3 virus IgA status',
    )
    virus_test_3_igg_status = models.BooleanField(
        default=False,
        verbose_name='Visit 3 virus IgG status',
    )
    virus_test_4_iga_status = models.BooleanField(
        default=False,
        verbose_name='Visit 4 virus IgA status',
    )
    virus_test_4_igg_status = models.BooleanField(
        default=False,
        verbose_name='Visit 4 virus IgG status',
    )
    virus_test_5_iga_status = models.BooleanField(
        default=False,
        verbose_name='Visit 5 virus IgA status',
    )
    virus_test_5_igg_status = models.BooleanField(
        default=False,
        verbose_name='Visit 5 virus IgG status',
    )