-
Notifications
You must be signed in to change notification settings - Fork 0
/
page12.php
190 lines (157 loc) · 8.16 KB
/
page12.php
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<?php
session_start();
error_reporting(0);
if($_SESSION["docid"]==""){
echo "<script> alert('Bad Bad Boy');
location = '404.php';
</script>";
}
require 'connect.php';
?>
<html>
<head>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="1.css">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<link href="https://fonts.googleapis.com/css?family=Lora" rel="stylesheet">
<link rel="stylesheet" href="css/topnav.css">
<title>List of History</title>
<style type="text/css">
.nested {
display: none;
}
.active {
display: block;
}
</style></head>
<body>
<div class="container">
<form action="check7.php" method="post">
<table width=100%>
<tr><td width=40%>
<h2>Fundoscopy</h2></td>
<td width="35%"></td>
<td><input type="text" value="" class="form-control" name="searchColumn" id="searchColumn"/><label><b>Search</b></label></td></tr>
</table>
<hr>
<div class="topnav">
<a href="general.php">General</a>
<a href="pain.php">Pain</a>
<a href="visdis.php">Visual Disturbance</a>
<a href="page4.php">Past History</a>
<a href="page5.php">Related Information</a>
<a href="page6.php">Related Information 2</a>
<a href="page7.php">Drug Usage</a>
<a href="page8.php">Exposure and Family History</a>
<a href="page9.php">Local Examination</a>
<a href="page10.php">Lids</a>
<a href="page11.php">Iris</a>
<a class="active" href="page12.php">Fundoscopy</a>
</div>
<hr>
<ul>
<h4>Optic Disc</h4>
<div><input type="checkbox" name="opd0" value=" Pseudopapillitis"> Pseudopapillitis<br/></div>
<div><input type="checkbox" name="opd1" value=" Papilloedema"> Papilloedema<br/></div>
<div><input type="checkbox" name="opd2" value=" Neuroretinitis"> Neuroretinitis<br/></div>
<div><input type="checkbox" name="opd3" value=" Neovascularization"> Neovascularization<br/></div>
<div><input type="checkbox" name="color" value="Color" onclick="changeClass1()"> Color</div>
<ul class="nested" id="main1">
<div><input type="radio" name="opd4" value="Pink"> Pink<br/></div>
<div><input type="radio" name="opd4" value="White"> White<br/></div>
</ul>
<div><input type="checkbox" name="polar" value="Polar" onclick="changeClass2()"> Polar<br/></div>
<ul class="nested" id="main2">
<div><input type="radio" name="opd5" value="PartialPolar"> Partial<br/></div>
<div><input type="radio" name="opd5" value="TotalPolar"> Total<br/></div>
</ul>
<div><input type="checkbox" name="opd6" value="ChampagneCorkAppearance"> Champagne cork appearance<br/></div>
<div><input type="checkbox" name="opd7" value="Atrophy"> Atrophy <br/></div>
<div><input type="checkbox" name="opd8" value="LamellarDotSign"> Lamellar dot sign<br/></div>
<div><input type="checkbox" name="opd9" value="ThinningNeuroretinalRim"> Thinning of neuroretinal rim<br/></div>
<div><input type="checkbox" name="opd10" value="BlurringDiscMargin"> Blurring of disc margin<br/></div>
<br/>
<hr>
<!--
turn out that Cup is to disc ratio is an important factor in the diagnosis of glaucoma
not solely. as it increases with age as well..
0.5 or less is considered normal
above 0.5 tests needed to confirm glaucoma
-->
<h4>Physiological Cup</h4>
<label>Cup Disc ratio: <input type="number" placeholder="0 - 1" name="CupDiscRatio" min="0" step="0.01" max="1"/></label>
<br/><hr>
<h4>Retinal Vessel</h4>
<div><input type="checkbox" name="retv0 " value="Pulsation"> Pulsation<br/></div>
<div><input type="checkbox" name="retv1" value="BonnetSign"> Bonnet Sign<br/></div>
<div><input type="checkbox" name="retv2" value="MarcusCreaseSign"> Marcus Crease Sign<br/></div>
<div><input type="checkbox" name="retv3" value="90DeflectionAtAVCrossing"> Right angle deflection at AV crossing<br/></div>
<div><input type="checkbox" name="retv4" value="Copper-wire"> Copper-wire<br/></div>
<div><input type="checkbox" name="retv5" value="Silver-wire"> Silver-wire<br/></div>
<div><input type="checkbox" name="retv6" value="Microaneurysm"> Microaneurysm<br/></div>
<div><input type="checkbox" name="retv7" value="TortuousVeinEngorged"> Tortuous vein and engorged<br/></div>
<br/><hr>
<h4>Macular Region</h4>
<div><input type="checkbox" name="mcr0" value="MacularStar"> Macular Star<br/></div>
<div><input type="checkbox" name="mcr1" value="CherryRedSpot"> Cherry red spot<br/></div>
<div><input type="checkbox" name="mcr2" value="Drusens">Drusens<br/></div>
<div><input type="checkbox" name="mcr3" value="CystoidMacularDegeneration"> Cystoid Macular Degeneration<br/></div>
<div><input type="checkbox" name="mcr4" value="Neovascularization"> Neovascularization<br/></div>
<div><input type="checkbox" name="mcr5" value="HoneycombAppearance"> Honeycomb Appearance<br/></div>
<br/><hr>
<h4>Hemorrhage in Retina</h4>
<div><input type="checkbox" name="hemr0" value="Flame/SplinterShaped"> Flame/Splinter shaped<br/></div>
<div><input type="checkbox" name="hemr1" value="DotBlot"> Dot Blot<br/></div>
<div><input type="checkbox" name="hemr2" value="Retrohyaloid"> Retrohyaloid<br/></div>
<div><input type="checkbox" name="hemr3" value="SubRetinal"> Sub Retinal<br/></div>
<div><input type="checkbox" name="hemr4" value="Viterous"> Viterous<br/></div>
<br/><hr>
<h2>Final Diagonosis</h2>
<ol>
<div class="form-group">
<label>Diseases</label><input type="text" class="form-control" name="t0"><br><br>
<label>Comments</label><textarea name = "t1" rows="4" cols="50" class="form-control"></textarea><br><br>
</ol>
<h2>Medicines</h2>
<ol>
<div class="form-group">
<li> <input type="text" class="form-control" name="c0">
<li> <input type="text" class="form-control" name="c1">
<li> <input type="text" class="form-control" name="c2">
<li> <input type="text" class="form-control" name="c3">
<li> <input type="text" class="form-control" name="c4">
<li> <input type="text" class="form-control" name="c5">
<li> <input type="text" class="form-control" name="c6">
<li> <input type="text" class="form-control" name="c7">
</ol>
</ul>
<input class="btn btn-primary" name = "next2" type = "submit" value = "Next">
</form>
<script>
function changeClass1(){
document.getElementById("main1").classList.toggle('active');
}
function changeClass2(){
document.getElementById("main2").classList.toggle('active');
}
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script>
$(document).ready(function(){
$("#searchColumn").on("input",function(){
var searchTxt = $(this).val();
searchTxt = searchTxt.replace(/[.()+]0/g,"\\$&");
var patt = new RegExp("^" + searchTxt,"i");
$(":checkbox").each(function(){
if(patt.test($(this).val()))
$(this).closest("div").show(500);
else
$(this).closest("div").hide(500);
})
})
})
</script>
</div>
</body>