[% META title = 'Admin » Edit Lab Test' -%] [% # PROCESS dumper.tt dump = c.stash.errs %] [% # PROCESS dumper.tt dump = section_specimen_types %] [% # PROCESS dumper.tt dump = lab_test_specimen_types %] [% # PROCESS dumper.tt dump = specimen_types %] [% PROCESS admin/lab_test_nav.tt page = 'lab_test' %] [% lab_tests_dfv_js %]

Edit Lab Test Details

[% IF dfv_errors %]

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

[% END %]

[% site.html.back_button %]

* = default sample type for lab section

[% max_length = c.get_meta_data('LabTest').column('field_label').length %]
Field Label [% error_field_label %]
[% PROCESS site/countdown.tt %]
Test Name [% error_test_name %]
Lab Section [% error_lab_section_id %]
Test Type [% error_test_type %]
Results [% error_has_results %]
Permitted
sample types:
[% section_id = data.lab_section_id; FOREACH type IN specimen_types; # PROCESS dumper.tt dump = type is_default = section_specimen_types.item(section_id).item(type.id) ? 1 : 0 %]
[% type.specimen_type; IF is_default %] [*][% END %]
[% END %] [% error_sample_type_id %]
Active [% error_is_active %]
[% site.html.submit %]