  [% 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 pair IN data.pairs; # PROCESS dumper.tt dump = pair;
			diagnosis = pair.key;
            tests     = pair.value; # PROCESS dumper.tt dump = tests; # AoH
            # NEXT UNLESS tests.size; # for yml method, not needed with db
        %]
            <dt>[% diagnosis %]</dt>
            [% FOREACH t IN tests; # PROCESS dumper.tt dump = t %]
                <dd>[% t.test %] ([% t.section %])</dd>
            [% END %]
        [% END %]
    </dl>
    <p class="center">[% site.html.back_button %]</p>
<!-- END [% template.name %] -->
