[% div_name = 'lab'; INCLUDE site/snippets/toggleview.tt type = 'folder' %]
Lab functions
[%
IF c.is_lab_staff;
INCLUDE row class_function = 'resources/dashboard'
title = 'Dashboard view';
END;
IF c.user_can('modify_results');
INCLUDE row class_function = 'result/export_test_results'
title = 'Export test results';
END;
IF c.user_can('modify_results') AND c.cfg('settings').xtr_96_addr;
INCLUDE row class_function = 'storage/read_xtr_96'
title = 'Import Fluidx XTR-96 data';
END;
IF c.is_lab_staff;
INCLUDE row class_function = 'search/deleted_record'
title = 'Deleted records search';
END;
IF c.user_can('register');
INCLUDE row class_function = 'referral-source'
title = 'Referrers & referral sources';
END;
IF c.user_can('patient_merge') %]