<!-- BEGIN [% component.name %] -->
      <div class="row">
        <div class="span7.5">
          <table class="table table-bordered demographics">
            <tr>
              <td><span class="pull-right">Address</span></td>
              <td>
                [% outreach.demographics.address | html %],
                [% outreach.demographics.post_code %]
              </td>
            </tr>
            <tr>
              <td><span class="pull-right">GP practice</span></td>
              <td>
                [% outreach.demographics.practitioner || 'UNKNOWN' %],
                [% outreach.demographics.display_name | html %]
              </td>
            </tr>
          </table>
        </div>
      </div>
 
      <h4 class="bright">Laboratory results:</h4>
    
      <div class="indent">
        [% img_url = app_url _ '/chart/outreach/' _ patient.id;
          # append "?CGISESSION=c.session.id" to pass session from URL
          IF use_file_sessions; # eg called from cron script
              img_url = img_url _ '?USE_FILE_SESSIONS=1'; END; # not using 'url' now:
        %]
        <!-- BEGIN outreach charts - div width to prevent wrapping when printed -->
        [% # INCLUDE dumper.tt dump = outreach.requested_lab_tests %]
        <div style="width: 740px">
          <img src="[% app_url %]/chart/outreach_common/[% patient.id %]" />
          [% IF outreach.requested_lab_tests.grep('rq_cml').size %]
            <img src="[% app_url %]/chart/imatinib/[% data.id %]?outreach=1" />
          [% ELSE %]
            <img src="[% app_url %]/chart/outreach_others/[% patient.id %]" />
          [% END %]
        </div>
        <!-- END outreach charts -->
  
        <div class="data_summary">
          [% INCLUDE outreach/data_summary.tt skip_url = 1 # switches off td hrefs %]
        </div>
      </div>
<!-- END [% component.name %] -->
