RSS Git Download  Clone
Raw Blame History
[% content_only = 1 # no html wrappers %]

  [%-
    DEFAULT title = 'PROVISIONAL REPORT'; # in case diagnosis != 'new' || 'relaspe'
      IF data.request_report.status.match('new');
        title = 'NEW DIAGNOSIS';
      ELSIF data.request_report.status.match('relapse');
        title = 'DIAGNOSIS OF RELAPSE';
      ELSE;
        title = 'POSSIBLE NEW DIAGNOSIS';
      END;
   -%]

 **** [% title %] ****

 We thought you might like to know about the following patient:

 [% INCLUDE request/message/patient.tt %]

 [%- UNLESS data.request_report.status.match('new|relapse') -%]
 ------------------------------------------------------------------------------
 We do not have any record of a previous request with matching patient details.
 This is a *possible* new diagnosis. Please check your records.
 ------------------------------------------------------------------------------
 [% END -%]

 Please note this is a PROVISIONAL REPORT only. The definitive report is
 available online at <[% config.service_url %]>. Further details can be obtained
 from the department on [% config.service_telno %] or [% config.service_email %]

 The [% config.lab_name_abbreviation %] team