<!-- BEGIN resources/menu/audit.tt -->
  <table class="tree">
    <tr>
      <td>
		[% div_name = 'stats'; INCLUDE site/snippets/toggleview.tt type = 'folder' %]
      </td>
      <td>
        <span class="title">Stats &amp; Audit</span>
      </td>
    </tr>
  </table>

  [% BLOCK row %]
    <tr>
      <td>
        <img alt="" src="/images/text.gif" class="text" />
      </td>
      <td>
        <a class="nav" href="[% app_url %]/audit/[% function %]">
            [% title %]
			</a>
		</td>
    </tr>
    [% END %]
    
    <div class='itemhidden' id="[% div_name %]">
      <table style="margin-left: 30px">
      [% INCLUDE row function = 'nhs_number' title = 'NHS numbers supplied' %]
      [% INCLUDE row function = 'revised_diagnoses?sort_by=date'
            title = 'diagnosis revisions (by date)' %]
      [% INCLUDE row function = 'revised_diagnoses?sort_by=reporter'
            title = 'diagnosis revisions (by reporter)' %]
      [% INCLUDE row function = 'revised_diagnoses?sort_by=reviser'
            title = 'diagnosis revisions (by reviser)' %]
        <!--
        <tr>
          <td class="header" colspan="2">Request cycle:</td>
        </tr>
        -->
    [%
      INCLUDE row function = 'turnaround/average'
		title = 'request turnaround times (average)';
    %]
    [%
      INCLUDE row function = 'turnaround/percentile'
		title = 'request turnaround times (95th percentile)';
    %]
    </table>
  </div>
<!-- END resources/menu/audit.tt -->
