RSS Git Download  Clone
Raw Blame History
[% META title="Report » Authorisation check" %]
<!-- BEGIN report/authorisation_check.tt -->
    [% # PROCESS dumper.tt dump = diagnoses_map %]
    [% # PROCESS dumper.tt dump = authorisation_check_diagnosis %]
    [% # PROCESS dumper.tt dump = report.diagnosis_id %]
    [% # PROCESS dumper.tt dump = history %]
    
	[% data = report.request %]
	
    <h3>Pre-authorisation check:
        [% patient_case.patient.last_name | upper %],
        [% patient_case.patient.first_name | ucfirst %]
        [[% PROCESS site/lab_number.tt %] ]
    </h3>
    
    <table class="indent">
      <tr>
        <th scope="col">Original diagnosis:</th>
        <td>
          [% report.diagnosis.name | html %]
          [% reporter = history.reported.user %]
          [[% reporter.first_name | ucfirst %] [% reporter.last_name | ucfirst %]]
        </td>
      </tr>
      <tr>
        <td class="label">Your selection:</th>
        <td>
          [% class = report.diagnosis_id != authorisation_check_diagnosis.id
            ? 'red' : 'normal' %]
          <span class="[% class %]">
            [% authorisation_check_diagnosis.name | html %]
          </span>
        </td>
      </tr>
      <tr>
        <td colspan="2" class="borderless" align="right">
          proceed to 'Report' page
          <a href="[% app_url %]/report/=/[% data.id %]?pre-authorisation-check=1">&#187;</a>
        </td>
      </tr>
    </table>
<!-- END report/authorisation_check.tt -->