[% META title = 'Worklist » Histology Cut-up & Processing' -%] [% # PROCESS dumper.tt dump = request_data %] [% # PROCESS dumper.tt dump = specimens %] [% # PROCESS dumper.tt dump = lab_test_status %] [% # PROCESS dumper.tt dump = results %] [% # define some data structures: headers = [ 'LabNo' 'Name' 'Sample' "Initial\ncut-up" "DABS\nprepared" "Frozen\ntissue" "Cells for\nflow" "Pieces\n& blocks" "Final\ncut-up" 'Complete' ]; %] [% histology_processing_dfv_js %]

Histology cut-up & processing

[% IF dfv_errors # no mandatory fields for this worklist %]
[% c.cfg('msg').dfv_errors %]
[% IF error_foo %]
foo [% error_surname %]
[% END %]
[% END %]
[% INCLUDE worklist/snippets/data_entry.tt skip_status = 1 # just need users %]

[% BLOCK status_display; # displays tick or cross: IF lab_test_status.item(status); ''; ELSE; ""; END; END; %] [% FOREACH item IN headers %] [% END %]
[% item | html_line_break %]
[% data = request_data; INCLUDE site/lab_number.tt want_url = 1 %] [% patient = request_data.patient_case.patient %] [% patient.last_name | upper %], [% patient.first_name | ucfirst %] [% patient.middle_name | ucfirst %] [% specimens.join(', ') %] [% INCLUDE status_display status = 'initial cut-up' %] [% INCLUDE status_display status = 'prepared dabs' %] [% INCLUDE status_display status = 'cells for flow' %] [% INCLUDE status_display status = 'final cut-up' %] [% site.html.submit %]