<!-- BEGIN [% component.name %] -->
    [% patient = entry.patient_case.patient %]
    [% demographics = patient.patient_demographic; # PROCESS dumper.tt dump = demographics %]
    
    <h3>Patient Details:</h3>
    <div class="indent">
        <b>Name</b>: [% patient.last_name | upper %], [% patient.first_name | ucfirst %]
    </div>
    <div class="indent">
        <b>Address:</b> [% demographics.address %], [% demographics.post_code %]    
    </div>
    <div class="indent"><b>Date of Birth</b>: [% patient.dob.dmy %]</div>
    <div class="indent"><b>NHS Number</b>: [% patient.nhs_number %]</div>
    <div class="indent"><b>GP</b>: [% demographics.practice.display_name %]</div>    
    
    <p align="right">Date: [% date.format %]</p>

    [% IF gp_copy;
        GP = get_referrer_surname(demographics.referrer.name); # C callback %]
        <p>
            Dear Dr. [% GP.replace('Unknown', '') %], this is a copy of a letter
            to your patient [% patient.first_name | ucfirst %]
            [% patient.last_name | ucfirst %]:
        </p>
    [% END %]
    
  <div class="[% gp_copy ? 'indent border' : 'normal' %]">
    <p>Dear [% patient.first_name | ucfirst %],</p>
    
    <p>We sent a blue pack to you for monitoring your haematological disorder
    about <span class="acronym" title="[% entry.delta_days %] days">
    [% entry.delta_days >= 60 ? 'two months' : 'a month' %]</span> ago. The pack
    with blood samples has not been returned to us yet.</p>
    
    <p>Please contact us if you have not received the blue pack, or if you are
    having any problems getting blood samples taken. If you have any issues with
    this monitoring approach we will do our best to arrange an alternative.</p>
    
    [% IF entry.delta_days >= 60 %]
        <p>If we do not receive your pack back or hear from you within the next
        month, we will contact your GP and ask them to arrange for further
        monitoring.</p>
    [% END %]

    <p>If you would like to discuss monitoring, please contact the HMDS laboratory
    on [% c.cfg('settings').service_telno %] and ask to speak to somebody about
    the Outreach service.</p>
  </div>
<!-- END [% component.name %] -->
