<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html
	PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN"
	"http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
    <title></title>
    <style type="text/css">
        <!--/* <![CDATA[ */
            table { border-collapse: collapse; margin-left: 1em }
            td,th { border: solid 1px #00f; padding: 2px; font-size: small }
            th { background: #c0c0c0 }
        /* ]]> */-->
    </style>
</head>
    
<body>
    <h4>Teaching cases</h4>
    
    <table>
        <tr>
            <th>ReqNo</th>
            <th>Year</th>
            <th>Diagnosis</th>
            <th>Status</th>
            <th>AuthDate</th>
        </tr>
        [% FOREACH row IN data # A.o.A's %]
        <tr>
            [% FOREACH col IN row; NEXT IF loop.count == 1; # skip request.id %]
              <td>[% col %]</td>
            [% END %]
        </tr>
        [% END %]
    </table>
</body>
</html>
