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

  [% BLOCK row %]
    <tr>
      <td>
        <img alt="" src="/images/text.gif" class="text" />
      </td>
      <td>
        <a class="nav" href="[% app_url %]/chart/=/[% function %]">
						[% title %]
				</a>
			</td>
    </tr>
    [% END %]
    
    <div class='itemhidden' id="[% div_name %]">
      <table style="margin-left: 30px">
		<!--
            <tr>
                <td><img alt="" src="/images/text.gif" class="text" /></td>
                <td><a class="nav" href="[% app_url %]/chart">Example charts</a></td>
            </tr>
		-->
    [%
      INCLUDE row function = 'diagnosis_frequency'     title = 'Diagnosis frequency (all)';
      INCLUDE row function = 'new_diagnosis_frequency' title = 'Diagnosis frequency (new)';
      INCLUDE row function = 'presentation_frequency'  title = 'Presentation frequency';
      INCLUDE row function = 'specimen_frequency'      title = 'Specimen frequency';
      INCLUDE row function = 'diagnosis_status'        title = 'Diagnosis status';
      INCLUDE row function = 'requests_by_day_of_week' title = 'Requests by day of week';
      INCLUDE row function = 'reports_by_day_of_week'  title = 'Reports by day of week';
      INCLUDE row function = 'requests_by_month'       title = 'Requests by month';
      INCLUDE row function = 'diagnosis_errors'        title = 'Diagnosis errors';
      INCLUDE row function = 'requests_by_year'        title = 'Requests per year';
      INCLUDE row function = 'specimens_by_year'       title = 'Specimens per year';      
    %]
		<!--
    <tr>
				<td><img alt="" src="/images/text.gif" class="text" /></td>
          <td>
					<a class="nav" href="[% app_url %]/gnuplot">
						Gnuplot
					</a>
				</td>
    </tr>
		-->
    </table>
  </div>
<!-- END resources/menu/chart.tt -->
