<%@ include file="/includes.jsp" %>
<tiles:importAttribute />
<table width="100%" height="100%">
	<tr>
		<td valign="top" height="10px">
			<tiles:insertTemplate  template="emdtTopHeader.jsp" >
				<tiles:putAttribute name="pageTitle" value="${pageTitle}"/>
			</tiles:insertTemplate>
		</td>
	</tr>
<tr>
		<td valign="top" height="10px">
			<tiles:insertTemplate template="emdtMenu.jsp" flush="true"/>
		</td>
	</tr>
	<tr>
		<td valign="top" height="10px">
			<tiles:insertTemplate template="patientDemographics.jsp" flush="true"/>
		</td>
	</tr>

	<tr>
		<td valign="top" height="10px">
			<tiles:insertTemplate template="emdtMenu.jsp" flush="true"/>
		</td>
	</tr>
	
	<tr>
		<td style="padding: 2px;" valign="top" align="center">
		<c:if test="${not empty message}">
			<span class="info"><c:out value="${message}"/></span>
		</c:if>
			<tiles:insertTemplate template="${innerContent}" flush="true"/>
		</td>
	</tr>
</table>