<!-- BEGIN [% template.name %] -->
[% META title = 'Pre-screen » Delete Pre-screen Data' -%]
[% # PROCESS dumper.tt dump = data %]
[%
col_names = [ 'PCS','BLS','SCS','TLS','RIT','OUT' ];
lab_tests_map = {
PCS => 'plasma_cell',
BLS => 'b_lymphoid',
SCS => 'stem_cell',
TLS => 't_lymphoid',
RIT => 'rituximab',
OUT => 'outreach',
};
%]
<h3 class="header">Delete pre-screen data</h3>
<p class="indent warning">Confirm you really want to delete this entry:</p>
<form action="[% app_url %]/local_worklist_preregistration/delete/[% data.id;
'/' _ data.specimen_lab_test_data.id IF data.specimen_lab_test_data %]"
method="post">
<input type="hidden" name="lab_section_id" value="[% lab_section_id %]" />
<table class="indent">
<tr>
<th>LabNo</th>
<th>Surname</th>
<th>Screened</th>
[% IF data.specimen_lab_test_data %]
<th>Specimen</th>
[% FOREACH col IN col_names %]
<th>[% col %]</th>
[% END %]
[% END %]
<td class="borderless"></td>
</tr>
<tr>
<td>[% data.labno %]</td>
<td>
<input type="text" size="15" [% site.html.disabled %]
value="[% data.surname %]" />
</td>
<td>
<select [% site.html.disabled %]>
<option>[% data.is_screened %]</option>
</select>
</td>
[% IF data.specimen_lab_test_data %]
<td>
<select [% site.html.disabled %]>
<option>[% data.specimen_lab_test_data.specimen_code %]</option>
</select>
</td>
[% FOREACH col IN col_names;
test_name = lab_tests_map.item(col); # test_name
%]
<td width="35" align="center">
[% IF data.lab_tests.${test_name} %]
<img src="/images/tick.gif" />
[% END %]
</td>
[% END %]
[% END %]
<td>
<input type="checkbox" name="confirm_delete" value="1">
<input type='submit' value='Delete' name='.submit' class='button' />
<span class="error">THERE IS NO 'UNDO' OPTION</span>
</td>
</tr>
</table>
<p>[% site.html.back_button %]</p>
</form>
<!-- END [% template.name %] -->