[% META title="Sample storage" %] [% # PROCESS dumper.tt dump = specimen_map %] [% # PROCESS dumper.tt dump = storage %] [% # PROCESS dumper.tt dump = c.stash.errs %] [% # PROCESS dumper.tt dump = menu_options %] [% # define some data structures: # c.debug('##############'); # to reveal any db calls from templates data = request_data; patient = request_data.patient_case.patient; # not as_tree - preserve datetime objects; sample_codes = specimen_map.item(data.id).sample_code; %]
Number of vials in store: [% available.size %]
[% IF storage.size %]| Specimen | Vial ID | Sample | Source | Volume | Concn | Method | In | Out | ||
|---|---|---|---|---|---|---|---|---|---|---|
| [% loop.count %] | [% item.specimen.sample_code %] | [% item.vialId %] | [% item.sample %] | [% item.source || site.html.grey_null %] | [% IF item.volume; item.volume; 'µL'; ELSE; site.html.grey_null; END %] | [% IF item.concentration; item.concentration; 'ng/µL'; ELSE; site.html.grey_null; END %] | [% item.method || site.html.grey_null %] | [% item.created_at.strftime('%d.%b.%Y') %] | [% item.signed_out.strftime('%d.%b.%Y') %] | [edit] |
Scan multiple vials consecutively (no spaces):
ERROR: [% error %]
[% END %]