<!-- BEGIN [% component.name %] -->
      [% test_data = unregistered_request_lab_tests.item(reg_specimen.id); %]
      <tr>
        <td>
          <div class="no-wrap">
            [% USE url( app_url _ '/local_worklist_preregistration/edit/'
                _ entry.id _'/' _ reg_specimen.id ) %]
            <a title="edit" href="[% url %]">
                <span class="acronym">[% entry.labno %]</span>
            </a>
            [% IF entry.request_form %]
              <a href="[% entry.request_form %]" target="_new">
                <img class="mid-align" src="/images/pdf.gif" />
              </a>
            [% END %]
          </div>
        </td>
        <td>
          [% reg_specimen.specimen_code %]
          [<a title="add new"
              href="[% app_url %]/local_worklist_preregistration/add_new/[%
                  entry.id %]"><span class="acronym">+</span></a>]
        </td>
        <td>
          [% entry.surname %]
        </td>
        <td>[% # empty DoB field %]</td>
        <td colspan="3">[% # 3 empty haematology fields %]</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>
      </tr>
<!-- END [% component.name %] -->
