<%@ include file="/includes.jsp" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<html>
<head>
	<title>National MDM Submissions Summary Report</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">
	
	<style media="print" type="text/css">
	.noPrint {
		visibility: hidden;
		display: none;
	}
	</style>
</head>
<body>

<h2>National MDM Submissions Statistics Summary Report</h2>

<b>Date range:  <c:out value="${fromDate}"/> - <c:out value="${toDate}"/></b>
<br/>
<br/>
Total Number of Incomplete NMDM Submissions  <c:out value="${detailReportListDTO.numOfReferralsInDraft}"/><br/>
Total Number of NMDM Submissions waiting for response: <c:out value="${detailReportListDTO.numOfReferralsWaitingResp}"/><br/>
Total Number of NMDM Submissions waiting for acknowledgement: <c:out value="${detailReportListDTO.numOfReferralsWaitingAck}"/><br/>
Total Number of NMDM Submissions completed: <c:out value="${detailReportListDTO.numOfReferralsCompleted}"/><br/>
Total Number of NMDM Submissions Assigned: <c:out value="${detailReportListDTO.numOfReferralsAssigned}"/><br/>
Total Number of NMDM Submissions: <c:out value="${detailReportListDTO.numOfReferrals}"/><br/>
Total Number of Actions From Meeting: <c:out value="${detailReportListDTO.numOfActionsFromMeeting}"/><br/>
Maximum time for referral: <c:out value="${detailReportListDTO.timeTakenForReferral}"/> days<br/>
			
<br/>
<br/>
<table border="1" class="report">
	<tr>
		<th>Hospital Name</th>
		<th>Number of Incomplete NMDM Submissions</th>
		<th>Number of NMDM Submissions waiting for response</th>
		<th>Number of NMDM Submissions waiting for acknowledge</th>
		<th>Number of NMDM Submissions completed</th>
		<th>Number of NMDM Submissions Assigned</th>
		<th>Number of NMDM Submissions</th>
		<th>Number of Actions From Meeting</th>
	</tr>
	<c:forEach var="hospital" items="${detailReportListDTO.hospitals}" varStatus="line">
		<tr>
			<td>
				<c:out value="${hospital.hospitalName}"/>
			</td>
			<td>
				<c:out value="${hospital.numOfReferralsInDraft}"/>
			</td>
			<td>
				<c:out value="${hospital.numOfReferralsWaitingResp}"/>
			</td>
			<td>
				<c:out value="${hospital.numOfReferralsWaitingAck}"/>
			</td>
			<td>
				<c:out value="${hospital.numOfReferralsCompleted}"/>
			</td>
			<td>
				<c:out value="${hospital.numOfReferralsAssigned}"/>
			</td>
			<td>
				<c:out value="${hospital.numOfReferrals}"/>
			</td>
			<td>
				<c:out value="${hospital.numOfActionsFromMeeting}"/>
			</td>
		</tr>
	</c:forEach>
</table>
<br/>

<br/>
<br/>

<div id="navigation"  class="navButtonBar noPrint">
	<a href="nmdmSubmissionsReport.jsp?reportType=<c:out value="${reportType}"/>" class="noPrint"><img src="../images/16x16/arrow_undo.png" />&nbsp;&nbsp;Return to previous screen</a>
	&nbsp; &nbsp; &nbsp;
	<a href="javascript:print();"><img border="0" alt="Printer icon" src="../images/16x16/printer.png"> Print</a>
	&nbsp; &nbsp; &nbsp;
</div>


</body>
</html>