<!-- BEGIN [% template.name %] -->
[% META title = 'Worklist' -%]
[% # PROCESS dumper.tt dump = request_status_options %]
[% title = lab_tests ? 'Display/Print:' : 'Lab section worksheets:' %]
<h3 class="header">[% title %]</h3>
<div class="indent">
<form action="[% app_url %]/worklist/select" method="get" name="worklist"
id="worklist">
[% IF active_sections.size; PROCESS worklist/snippets/lab_section.tt;
ELSE; %]
<p class="info">no outstanding lab-tests</p>
[% END %]
</form>
</div>
[% IF active_investigations; # PROCESS dumper.tt dump = active_investigations %]
[% PROCESS worklist/tests.tt %]
[% ELSE %]
[% IF local_worklists; INCLUDE worklist/others.tt; END; %]
[% PROCESS worklist/status.tt %]
[% IF print_labels; INCLUDE worklist/print_labels.tt; END; %]
[% END %]
<p>[% site.html.back_button %]</p>
<!-- END [% template.name %] -->