<!-- BEGIN worklist/local/preregistration/specimen_row.tt -->
      [% test_data = unregistered_request_lab_tests.item(reg_specimen.id); %]
      <tr>
        <td>
          <a href="[% app_url %]/image/=/[% entry.labno %]">[% entry.labno %]</a>          
        </td>
        <td>
          [% reg_specimen.specimen_code %]
        </td>
        <td>
          [% entry.surname %]
        </td>
        <td>[% # empty DoB field %]</td>
        [% FOREACH col_name IN col_names; # BLS, TLC, PCS, etc %]
          <td align="center">
          [% FOREACH test IN test_data; # test.key;         
              abbreviated_test_name = lab_tests_map.item(test.key); # BLS, TLS, etc
              NEXT UNLESS abbreviated_test_name == col_name %]
            x
          [% END %]
          </td>
        [% END %]
        <td>[% entry.time.ymd %] [% entry.time.hms %]</td>
        <td>
          <a href="[% app_url %]/local_worklist_preregistration/specimen_edit/[% reg_specimen.id %]">
            edit
          </a>
        </td>
        <td>
          <a href="[% app_url %]/local_worklist_preregistration/add_new/[% entry.id %]">
            add
          </a>
        </td>
      </tr>
<!-- END worklist/local/preregistration/specimen_row.tt -->
