[% META title = 'Worklist » Pre-screen' -%] [% # PROCESS dumper.tt dump = flow_screen_data %] [% # PROCESS dumper.tt dump = request_options_map %] [% # PROCESS dumper.tt dump = specimen_map %] [% # PROCESS dumper.tt dump = request_section_notes_map %] [% # PROCESS dumper.tt dump = unregistered_cases %] [% # PROCESS dumper.tt dump = unregistered_request_lab_tests %] [% # PROCESS dumper.tt dump = included_lab_tests %] [% # PROCESS dumper.tt dump = status_opts %]
| [% item %] | [% END %]||||||||
|---|---|---|---|---|---|---|---|---|
| [% entry %] | [% specimen_map.item(request_id).sample_code.join(', ') %] [% INCLUDE site/snippets/doi.tt IF request_options_map.item(request_id).doi %] | [% class = request_options_map.item(request_id).urgent ? 'red' : 'normal' %][% patient.last_name | upper %] | [% # empty DoB field %] | [% INCLUDE haematology( param = 'wbc', denominator = 10 ) %] | [% INCLUDE haematology( param = 'lymph', denominator = 10 ) %] | [% INCLUDE haematology( param = 'mixed', denominator = 10 ) %] | [% FOREACH col_name IN col_names; # BLS, TLC, PCS, etc %]
[% FOREACH test IN lab_tests; # array of lab_test data from flow_screen_data
abbreviated_test_name = lab_tests_map.item(test.name); # BLS, TLS, etc
NEXT UNLESS abbreviated_test_name == col_name;
%]
[% IF test.status.match('new') %]x
[% ELSE %]
[% END %]
[% END %]
|
[% END %]
[% request_section_notes_map.item(request_id) %] |
No outstanding pre-screen requests
[% END %]