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

  [% # PROCESS dumper.tt dump = packs %]

<!-- BEGIN [% template.name %] -->
<html>
<head>
  <title>Outreach Pack Dispatches</title>
  <link type="text/css" rel="stylesheet" href="/css/outreach.css" />
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>

<body>
  [% FOREACH entry IN packs; # PROCESS dumper.tt dump = entry %]
    <div style="page-break-after: always">
      [%
        INCLUDE worklist/local/outreach/request_form.tt;
        INCLUDE worklist/local/outreach/eq5d_form.tt;
      %]
      <div class="symptoms">
        [%
          IF entry.diagnosis.match('MGUS|gammopathy')
                AND NOT entry.electrophoresis.match('IgM'); # IgM's require B-LPD
            INCLUDE worklist/local/outreach/mgus_questionnaire.tt;
          ELSE;
            INCLUDE worklist/local/outreach/blpd_questionnaire.tt;
          END;
          INCLUDE worklist/local/outreach/address.tt
        %]
      </div>
    </div>
    
    <div>
        [% INCLUDE worklist/local/outreach/path_request_forms.tt %]        
    </div>
  [% END %]
</body>
</html>
<!-- END [% template.name %] -->