<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<form action="<%=request.getContextPath()%>/register.action?act=queryAll" method="post">
请输入病例号或名字:<input type="text" name="caseNumber" value="${register.caseNumber }">
<input type="submit" value="查询">
<c:if test="${list == null || list.size() == 0 }"></c:if>
<c:if test="${list != null || list.size() != 0 }">
<table border="1" width="90%" align="center">
<tr>
<th>就诊状态</th>
<th>id</th>
<th>姓名</th>
<th>性别</th>
<th>年龄</th>
</tr>
<c:forEach items="${list }" var="r" >
<tr align="center">
<td>${r.visitState }</td>
<td>${r.id }</td>
<td>${r.realName }</td>
<td>${r.gender }</td>
<td>${r.age }</td>
</tr>
</c:forEach>
</table>
</c:if>
主诉:<input type="text" name="readme" ><br>
现病史:<input type="text" name="present" value=""><br>
既往史:<input type="text" name="history" value=""><br>
过敏史:<input type="text" name="allergy" value=""><br>
<input type="button" value="暂存" onclick="addRecord1()">
<input type="button" value="提交" onclick="addRecord2()">
<br>
疾病:<input type="text" name="diseaseID" value="1"><br>
诊断类型:<input type="text" name="diagnoseType" value="1"><br>
<input type="button" value="暂存" onclick="addDisease1()">
<input type="button" value="提交" onclick="addDisease2()">
</form>