<!-- BEGIN resources/menu/lab_functions.tt -->
<table class="tree">
<tr>
<td>
[% div_name = 'lab'; INCLUDE site/snippets/toggleview.tt type = 'folder' %]
</td>
<td>
<span class="title">Lab functions</span>
</td>
</tr>
</table>
[% BLOCK row %]
<tr>
<td>
<img alt="" src="/images/text.gif" class="text" />
</td>
<td>
<a class="nav" href="[% app_url %]/[% class_function %]">
[% title | html %]
</a>
</td>
</tr>
[% END %]
<div class='itemhidden' id="[% div_name %]">
<table style="margin-left: 30px">
[% IF c.user_can('screen');
INCLUDE row class_function = 'resources/list_all_screen_tests'
title = 'List all screen tests';
END %]
[% IF c.user_can('modify_results');
INCLUDE row class_function = 'result/export_test_results'
title = 'Export test results';
END %]
[% # IF c.user_can(''); # need to restrict ?
INCLUDE row class_function = 'resources/list_linked_lab_tests'
title = 'List linked lab tests';
# END %]
[% # IF c.user_can(''); # need to restrict ?
INCLUDE row class_function = 'resources/teaching_cases'
title = 'Teaching cases';
# END %]
[% IF c.cfg('settings').have_outreach;
INCLUDE row class_function
= 'resources/outreach_practice_blood_tube_overrides'
title = 'Practice blood tube overrides';
END %]
[% IF c.user_can('register');
INCLUDE row class_function = 'referral-source'
title = 'Referrers & referral sources';
END %]
[% IF c.user_can('patient_merge') %]
<tr>
<td><img alt="" src="/images/text.gif" class="text" /></td>
<td>
<a class="nav" href="[% app_url %]/admin/patient_merge"
target="_blank">
Merge patients
</a>
</td>
</tr>
[% END %]
</table>
</div>
<!-- BEGIN resources/menu/lab_functions.tt -->