<%@ include file="/includes.jsp"%>

<html>
<head>
<title><c:out value="${title}"/></title>
	<link rel="icon" href="../../images/emdt.ico" type="image/x-icon" >
	<link rel="shortcut icon" href="../../images/emdt.ico" type="image/x-icon" >
	<link rel="stylesheet" href="../referrals/css/reports.css" type="text/css" media="screen, print">
	<link rel="stylesheet" href="../css/webapp.css" type="text/css" />
	<style media="print" type="text/css">
	.noPrint {
		visibility: hidden;
		display: none;
	}
	</style>
</head>
<body>
<div class="breadcrumb">
You are here: <a href="../emdt/emdtHome.form"><img src="../emdt/images/16x16/icon.png" style="vertical-align: top;"/> eMDT</a> &gt; <a href="../emdt/reportMenu.jsp">Reports</a> &gt; <a class="selected" href="../emdt/meetingTrackingReport.jsp">Patient Meeting Tracking report</a>
</div>
<input type="hidden" name="selectedSpeciality" value="<c:out value="${selectedSpeciality}"/>"/>
<input type="hidden" name="selectedClinician" value="<c:out value="${selectedClinician}"/>"/>
<input type="hidden" name="addedDate" value="<c:out value="${addedDate}"/>"/>
<center>
	<br />
		<table width="90%"><tr><td><tags:table title="${title}">
		<table class="table">
			<c:if test="${error ne null}">
			<tr><td align="center"><font color="Red"><c:out value="${error }"/></font></td></tr></c:if>
			<c:forEach var="row" items="${results }" varStatus="resultsStatus">
				<c:choose>
					<c:when test="${resultsStatus.count == 1}">
						<tr>
							<c:forEach var="item" items="${row}">
								<th><c:out value="${item }"/></th>
							</c:forEach>
						</tr>
					</c:when>
					<c:otherwise>
						<tr>
							<c:forEach var="item" items="${row}">
								<td align="center"><c:out value="${item }"/></td>
							</c:forEach>
						</tr>
					</c:otherwise>
				</c:choose>
			</c:forEach>
		</table></tags:table></td></tr></table>
</center>
<c:if test="${results != null }">
	<br />
		&#160;<a
		href="meetingtrackingReport.form?view=csv" title="Download CSV">Download CSV <img
		src="../images/16x16/database_save.png" alt="Download" />
	</a>
	<br />
</c:if>
</body>
</html>