[% IF lab_section.match('trial') AND extraction_type.match('RNA');
have_nanodrop_result = 1 %]
Nanodrop
Result (ng/µl)
[% END %]
Comments
[% i = 0;
FOREACH data IN requests; # PROCESS dumper.tt dump = data.as_tree;
patient = data.patient_case.patient;
report = data.as_tree.request_report; # as_tree to prevent tt lookup if empty
specimens = request_specimen_map.item(data.id);
# PROCESS dumper.tt dump = specimens;
# force CHIM's to 3 lines:
IF specimens.grep('CHIM').size; # is, or contains 'CHIM':
specimens.push('CHIM','CHIM'); END;
# split specimens into new line for each:
FOREACH specimen IN specimens;
%]