[% META title = 'Request » Email Diagnosis Status' %]
<!-- BEGIN [% template.name %] -->
[% # PROCESS dumper.tt dump = recipients %]
[% IF recipients.size %]
<h2>Message dispatched successfully:</h2>
<div class="indent">
<h3>[% data.patient_case.patient.last_name | upper %],
[% data.patient_case.patient.first_name | ucfirst %]
[% data.patient_case.patient.middle_name | ucfirst %]
:: [% PROCESS site/lab_number.tt %]
</h3>
<p class="classname">The following details were e-mailed to:</p>
<ul id="id">
[% FOREACH contact IN recipients %]
<li>[% contact %]</li>
[% END %]
</ul>
<pre class="indent"
style="border: #f00 1px dashed; background: #f5f5f5; padding: 5px">
[% INCLUDE request/message/patient.tt %]
</pre>
</div>
<p align="right">
<a href="[% app_url %]/search/=/[% data.id %]">Continue »</a>
</p>
[% ELSE %]
<p class="warning">
WARNING: no recipients are configured for selected location - please
alert administrator
</p>
<p class="indent">[% site.html.back_button %]</p>
[% END %]
<!-- END [% template.name %] -->