<!-- BEGIN [% component.name %] -->
  [%
    lab_data = outreach.biochemistry; # PROCESS dumper.tt dump = lab_data;
    fields = lab_data.keys; # PROCESS dumper.tt dump = fields;
  %]
  
  [% outreach_biochemistry_dfv_js %]
  
  <form method="post" action="[% app_url %]/outreach/lab_results/[% request_data.id %]"
      name="outreachBiochem" id="outreachBiochem" [% outreach_biochemistry_onsubmit %]>
     <input type="hidden" name="department" value="biochemistry" />
    <table class="indent">
      <tr>
        [% FOREACH param IN fields %]
          [% class = # highlight if param result below param lower_limit:
              lab_data.item(param).result AND # have data
              lab_data.item(param).lower_flag AND # and lower_limit
              lab_data.item(param).result < lab_data.item(param).lower_flag # data below lower_limit
            ? 'highlight' : 'normal'
          %]
          <th class="[% class %]">
            [% INCLUDE th_default_val lab_data_param = lab_data.item(param) %]
          </th>
        [% END %]
      </tr>  
			
			<tr>
			[% FOREACH param IN fields;
          # error = errs.item(param);
      %]
				<td>
					<input type="text" size="3" name="[% param %]" id="[% param %]"
            value="[% lab_data.item(param).result %]" />
          [% error %]
				</td>				
			[% END %]
        <td class="borderless">
          [% INCLUDE outreach_submit %]
        </td>
			</tr>
		</table>
	</form>
<!-- END [% component.name %]  -->    
