  [% META title = 'Admin &raquo; Diagnosis Generated Lab Tests View' -%]
<!-- BEGIN [% template.name %] -->
    [% # INCLUDE dumper.tt dump = data; %]

	<h2 align="center">Diagnosis Generated Lab Tests [All]</h2>

    <dl>
        [% FOREACH entry IN data; # PROCESS dumper.tt dump = entry.values.0;
            label = entry.keys.0; # WTF?? why an array ?
            tests = entry.values.0; # AoH
            NEXT UNLESS tests.size; # commented out entries
        %]
            <dt>[% label %]</dt>
            [% FOREACH test IN tests %]
                <dd>[% test.field_label %] ([% test.lab_section %])</dd>
            [% END %]
        [% END %]
    </dl>
    <p class="center">[% site.html.back_button %]</p>

<!-- END [% template.name %] -->
