[% META title = 'Admin » Lab Sections' -%] [% PROCESS admin/lab_test_nav.tt page = 'lab_section' %] [% # PROCESS dumper.tt dump = lab_section_specimen_types %] [% # PROCESS dumper.tt dump = specimen_types %] [% lab_sections_dfv_js %]

Lab Sections

[% IF dfv_errors %]

[% c.cfg('msg').dfv_errors %]

[% END %]

[% div_name = 'new'; INCLUDE site/snippets/toggleview.tt %] Add new entry

[% INCLUDE site/snippets/help.tt file = 'newlabsection' %]
[% IF c.cfg('settings').have_label_printer %] [% END %]
Description: [% PROCESS site/ajax_input.tt field = 'section_name' %] [% error_section_name %]
Results summary: [% error_has_result_summary %]
Section notes: [% error_has_section_notes %]
Sign out: [% error_has_test_sign_out %]
Results import: [% error_has_results_import %]
Remote system: [% error_has_foreign_id %]
Auto-expand: [% error_auto_expand %]
Print labels: [% error_has_labels %]
Default sample
types:
[% FOREACH type IN specimen_types; # PROCESS dumper.tt dump = type %]
[% type.specimen_type %]
[% END %] [% error_sample_type_id %]
Active: [% error_is_active %]

[% site.html.submit %]

 

[% IF sections.size %] [% IF c.cfg('settings').have_label_printer %] [% END %] [% FOREACH section IN sections; # INCLUDE dumper.tt dump = section.as_tree; %] [% IF c.cfg('settings').have_label_printer %] [% END %] [% FOREACH type IN specimen_types %] [% END %] [% END %]
Description Results Notes Sign-out Import Remote Expand Labels
Specimen
[% specimen_list = []; specimen_list.push(s.specimen_type) FOREACH s IN specimen_types; # INCLUDE dumper.tt dump = specimen_list; %] [% IF specimen_list.grep('liquid').size %] L | [% END %] [% IF specimen_list.grep('biopsy - unfixed').size %] BU | [% END %] [% IF specimen_list.grep('biopsy - fixed').size %] BF [% END %] [% IF specimen_list.grep('generic').size %] Generic [% END %]
Active
[% loop.count %] [% IF lab_section_specimen_types.item(section.id).item(type.id) %] [% ELSE %] X [% END %] Edit
[% END %]