-
Notifications
You must be signed in to change notification settings - Fork 1
/
findPatient.jsp
157 lines (107 loc) · 4.08 KB
/
findPatient.jsp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<script type="text/javascript">
//input the user data page
//validate fields for acuity max 16 min 0
function minmax(value)
{
if(parseInt(value) < 0 || isNaN(parseInt(value)))
return "";
else if(parseInt(value) > 16)
return 16;
else return value;
}
//validate fields for not empty
window.onload = function () {
var form = document.getElementById('patientForm');
form.button.onclick = function (){
for(var i=0; i < form.elements.length; i++){
if(form.elements[i].value === '' && form.elements[i].hasAttribute('required')){
alert('There are some required fields!');
return false;
}
}
};
};
</script>
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-111678682-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-111678682-1');
</script>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Hapi Fhir patient</title>
<link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}/style/drop.css">
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Open+Sans|Space+Mono">
<link href="https://fonts.googleapis.com/css?family=Open+Sans|Space+Mono" rel="stylesheet">
</head>
<body background="${pageContext.request.contextPath}/images/rockBackground.gif">
<script language="javascript" type="text/javascript"></script>
<table border="0" align="center" width="1000" >
<tr>
<td><img src="${pageContext.request.contextPath}/images/banner1.jpg"></td>
</tr>
<tr>
<td colspan="2" bgcolor="#a7c7fc">
<div align="center" class="menu-wrap">
<nav class="menu">
<ul class="clearfix">
<li><a href="http://114.142.160.89:8080/ic/index.jsp">Home</a></li>
<li>
<a href="#">Demonstrations <span class="arrow">▼</span></a>
<ul class="sub-menu">
<li><a href="http://114.142.160.89:8080/ic/out.jsp">ICD-10AM search</a></li>
<li><a href="http://114.142.160.89:8080/ic/reasoning.jsp">AI Reasoning</a></li>
<li><a href="http://114.142.160.89:8080/ic/IcnpInitServlet">ICNP text suggester</a></li>
<li><a href="http://114.142.160.89:8080/ic/jsonFhirSelector.jsp">JSON and FHIR</a></li>
</ul>
</li>
<li><a href="http://114.142.160.89:8080/ic/about.jsp">About</a></li>
<li><a href="http://114.142.160.89:8080/ic/contact.jsp">Contact</a></li>
<li> <a href="http://114.142.160.89:8080/ic/publications.jsp">Publications</a></li>
<li><a href="http://114.142.160.89:8080/ic/whatis.jsp">What's an ontology?</a></li>
</ul>
</nav>
</div>
</td>
</tr>
</table>
<p>
<form name="queryForm" id="patientForm" method="post" action="FindPatientServlet">
<p>
<div align="left">
<center>
<table border="0" width="1000" height="157" >
<tr>
<td>
</td>
</tr>
</table>
</center>
</div>
<div align="left">
<center>
<table border="0" width="1000" bgcolor="lightblue">
<tr>
<td width="514" valign="top">
<b><font color="blue">Input</font></b><p>
<b> Enter patient's id number to find </b>
<input type="text" name="patientId" value= "" size="15"> <br>
<p>
<input type="submit" value="Submit" name="aScores"><input type="reset" value="Reset" name="B2">
</div>
</td>
</table>
</center>
</div>
</form>
<p align="center"><a href="http://114.142.160.89:8080/hapi-fhir-jpaserver/">HAPI-FHIR server</a><br><p>
</body>