[% META title = 'Worklist » Recruitment Report' -%] [% # INCLUDE dumper.tt dump = s.as_tree FOREACH s IN screens %]

Genomics recruitment progress report

[% addcss = [ 'jquery.datetimepicker.css' ] %]

1)select disease type (optional; default 'all')

2)select GMC centre (optional; default 'all')

3)select dates from to [% IF reports.size # need to display at least once %] OR [% END %]

[% IF reports.size; # INCLUDE dumper.tt dump = reports %] [% UNLESS c.query.param('disease_type').match('[Cc]ancer') %] [% END %] [% UNLESS c.query.param('disease_type').match('[Cc]ancer') %] [% END %] [% UNLESS c.query.param('disease_type').match('rd') %] [% END %] [% FOREACH data IN reports; # INCLUDE dumper.tt dump = data; # filters: IF c.query.param('organisation'); NEXT IF c.query.param('organisation').match('leeds') AND data.organisation.match('SHEFFIELD'); NEXT IF c.query.param('organisation').match('sheffield') AND NOT data.organisation.match('SHEFFIELD'); END; IF c.query.param('disease_type'); IF c.query.param('disease_type').match('all_cancer'); NEXT IF data.presentation.match('Rare disease'); ELSIF c.query.param('disease_type').match('rd'); NEXT UNLESS data.presentation.match('Rare disease'); ELSE; # must be specific cancer: NEXT UNLESS c.query.param('disease_type').match(data.presentation); END; END; disease_type = data.presentation.match('Rare disease') ? 'rd' : 'cancer'; %] [% UNLESS c.query.param('disease_type').match('[Cc]ancer') %] [% END %] [% UNLESS c.query.param('disease_type').match('[Cc]ancer') %] [% END %] [% UNLESS c.query.param('disease_type').match('rd') %] [% END %] [% END %]
Lab number Name NHS number Participant ID PresentationFamily IDSourceParticipant typeRegistered Consent given Blood taken OMICS taken Blood DNA QCTumour resected Tumour type Tumour DNA QCDNA dispatched OMICS dispatched Consent withdrawn
[% i = ( i || 0 ) + 1; i %] [% PROCESS site/lab_number.tt want_url=1 %] [% data.last_name.upper %], [% data.first_name.ucfirst %] [% data.nhs_number %] [% data.unit_number %] [% data.presentation %] [% disease_type.match('rd') ? data.family_id : 'N/A' %] [% data.location %] [% IF disease_type.match('rd'); IF data.family_id; data.unit_number == data.family_id ? 'Proband' : 'Relative'; ELSE; 'UNKNOWN'; END; ELSE; 'N/A'; END %] [% data.registered %] [% data.consent_date %] [% data.sample_taken %] [% (data.paxgene_rna + data.sst + data.pst + data.ccft_dna) ? 'Y' : 'N' %] [% data.blood_summary_qc %][% data.tumour_sample_taken %] [% data.clinic_sample_type %] [% data.tumour_summary_qc %][% data.dna_dispatched %] [% data.omics_dispatched %] [% data.withdrawal_option %]
[% ELSIF c.query.param('date_begin') %]

No data for selected interval

[% END %]