[% content_only = 1 # no html wrappers %] [% worklist_function = c.query.param('worklist_function') %] [% worklist_function.replace('_', ' ') %] worksheet [% # FOREACH entry IN requests; PROCESS dumper.tt dump = entry.as_tree; END %] [% # PROCESS dumper.tt dump = c.query.self_url %] [% # PROCESS dumper.tt dump = request_specimen_map %] [% tbl_id = 'pcrWorksheet'; INCLUDE site/js/reorderRows.js %]

[% site.html.back_button %]

[% worklist_function.replace('_', ' ') %] Worksheet

[% IF test_names.size %]

Test(s): [% test_names.join('; ') %]

[% END %]

Performed by: [% c.authen.username.upper %]

Date: [% USE date(format = '%d.%m.%Y @ %H:%M', locale = 'en_GB'); date.format %]

[drag & drop rows to re-order]

[% i = 0; # row counter FOREACH entry IN requests; # PROCESS dumper.tt dump = entry.as_tree; NEXT; data = entry.request; # for lab_number.tt patient = data.patient_case.patient; # want to split specimens into new line for each: specimens = specimen_map.item(data.id).sample_code; FOREACH specimen IN specimens; # only show requested specimens: NEXT UNLESS request_specimen_map.item(data.id).grep(specimen).size; %] [% END; END %] [% BLOCK empty_row %] [% END; FOREACH n IN [ 1 .. 5 ]; PROCESS empty_row; END %]
HMDS ref Name Date Sample Lab Test Flow Purity Flow performed by: Adequate for FISH/molecular?
[% i = i + 1; i %] [% PROCESS site/lab_number.tt want_url = 0 %] [% patient.last_name | upper %], [% format_firstname(patient) || patient.first_name | ucfirst %] [% data.created_at.strftime('%d.%m.%Y') %] [% specimen %] [% entry.lab_test.field_label %]
[% i = i + 1; i %]

Tube order and alignment must be checked at all transfer stages. Initial once done.

Selections performed by:
Sample/lysing tube order
checked by:
Final product/DNA tube order
checked by:
Lysing tube/Facstube for microbeads order checked by: MAA sample transfer (FISH LAB)
performed by:
Final product tube labelling/sample order in chilled rack checked by: MAA sample transfer (FISH LAB)
checked by:

[% UNLESS worklist_function.match('MLPA_myeloma') %] [% items = [ 'Washing Solution', 'Running Buffer', 'CD138 Microbeads', 'CD19 Microbeads' ]; FOREACH i IN items %] [% FOR [1..3 ] %][% END %] [% END %]
AutoMacs HD number:
Reagent Batch number Opened date Comments
[% i %] 

[% END %]
Reagent expiry checked by:

Other / comments