[%- content_only = 1; # no html wrappers; called from record/default.tt -%]
<!-- BEGIN [% template.name %] -->
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<style type="text/css">
[% IF is_print_request %]
.printHide { display: none; }
[% END %]
</style>
</head>
<body>
[%
IF reports.size; # HTML print-run request:
FOREACH r IN reports; # INCLUDE dumper.tt dump = r.keys;
# create data structures expected by bhods.tt for single report:
data = r.data; # PROCESS dumper.tt dump = data.as_tree;
history = r.history;
patient = r.data.patient_case.patient;
specimen_map = r.specimen_map;
%]
<div style="page-break-after: always">
[% INCLUDE record/report/bhods.tt %]
</div>
[% END %]
[% ELSE; INCLUDE record/report/bhods.tt; END %]
</body>
</html>
<!-- END [% template.name %] -->