-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRemovepatient.html
401 lines (319 loc) · 12.2 KB
/
Removepatient.html
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
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Track my pill</title>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
<link href="css/app.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap" rel="stylesheet">
<script src="https://www.gstatic.com/firebasejs/8.6.5/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.6.5/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.6.5/firebase-firestore.js"></script>
</head>
<body>
<div class="wrapper">
<nav id="sidebar" class="sidebar">
<div class="sidebar-content js-simplebar">
<a class="sidebar-brand" href="home.html">
<span class="align-middle">Track My Pill</span>
</a>
<ul class="sidebar-nav">
<li class="sidebar-header">
Section
</li>
<li class="sidebar-item active">
<a class="sidebar-link" href="home.html">
<i class="align-middle" data-feather="sliders"></i> <span
class="align-middle">Dashboard</span>
</a>
</li>
<li class="sidebar-item">
<a class="sidebar-link" href="PatientManagement.html">
<i class="align-middle" data-feather="user"></i> <span class="align-middle">Patient
Management </span>
</a>
</li>
<li class="sidebar-item">
<a class="sidebar-link" href="TaskList.html">
<i class="align-middle" data-feather="settings"></i> <span class="align-middle">Task
List</span>
</a>
</li>
<li class="sidebar-item">
<a class="sidebar-link" href="MemberDetails.html">
<i class="align-middle" data-feather="credit-card"></i> <span class="align-middle">Member
Details</span>
</a>
</li>
<li class="sidebar-item">
<a href="#auth" data-bs-toggle="collapse" class="sidebar-link collapsed">
<i class="align-middle" data-feather="users"></i> <span class="align-middle">Auth</span>
</a>
<ul id="auth" class="sidebar-dropdown list-unstyled collapse " data-bs-parent="#sidebar">
<li class="sidebar-item"><a class="sidebar-link" href="Addpatient.html">Add Patient</a></li>
<li class="sidebar-item"><a class="sidebar-link" href="Removepatient.html">Remove
Patient</a></li>
</ul>
</li>
<li class="sidebar-header">
Reports
</li>
<li class="sidebar-item">
<a data-bs-target="#ui" data-bs-toggle="collapse" class="sidebar-link collapsed">
<i class="align-middle" data-feather="briefcase"></i> <span class="align-middle">Patient
Condition</span>
</a>
<ul id="ui" class="sidebar-dropdown list-unstyled collapse " data-bs-parent="#sidebar">
<li class="sidebar-item"><a class="sidebar-link" href="highrisk.html">High Risk</a></li>
<li class="sidebar-item"><a class="sidebar-link" href="attention.html">Attention Needed</a>
</li>
<li class="sidebar-item"><a class="sidebar-link" href="lowrisk.html">Low Risk</a></li>
</ul>
</li>
<li class="sidebar-item">
<a class="sidebar-link" href="MedicineRefill.html">
<i class="align-middle" data-feather="coffee"></i> <span class="align-middle">Medicine
Refill</span>
</a>
</li>
<li class="sidebar-item">
<a class="sidebar-link" href="Report.html">
<i class="align-middle" data-feather="check-circle"></i> <span class="align-middle">report
</span>
</a>
</li>
<li class="sidebar-header">
Analysis
</li>
<li class="sidebar-item">
<a class="sidebar-link" href="">
<i class="align-middle" data-feather="bar-chart-2"></i> <span
class="align-middle">Charts</span>
</a>
</li>
</ul>
</div>
</nav>
<div class="main">
<nav class="navbar navbar-expand navbar-light navbar-bg">
<a class="sidebar-toggle d-flex">
<i class="hamburger align-self-center"></i>
</a>
<div class="navbar-collapse collapse">
<ul class="navbar-nav navbar-align">
<li class="nav-item dropdown">
<div class=" text-center">
<div class="mb-3">
<div class="btn-group">
<button type="button" class="btn btn-primary " id="btn-logout">
Logout
</button>
</div>
</div>
</div>
</li>
</ul>
</div>
</nav>
<main class="content">
<div class="container-fluid p-0">
<h1 class="h3 mb-3">Update / Remove Patient Record</h1>
<div class="row">
<div class="col-md-3 col-xl-2">
<div class="card">
<div class="card-header">
<h3 class="card-title mb-0">Patient Details</h3>
</div>
<div class="list-group list-group-flush" role="tablist">
<a class="list-group-item list-group-item-action active" data-bs-toggle="list"
href="#Update" role="tab"> Update Patient Record </a>
<a class="list-group-item list-group-item-action" data-bs-toggle="list"
href="#Remove" role="tab">Delete Patient Record</a>
</div>
</div>
</div>
<div class="col-md-9 col-xl-10">
<div class="tab-content">
<div class="tab-pane fade show active" id="Update" role="tabpanel">
<div class="card">
<div class="card-header">
<h5 class="card-title mb-0">Patient information</h5>
</div>
<div class="card-body">
<form>
<div class="row">
<div class="col-md-8">
<div class="mb-3">
<label class="form-label" for="inputUsername">Patient
ID</label>
<input type="text" class="form-control" id="patientid"
placeholder="Patient ID">
</div>
<div class="mb-3">
<label class="form-label" for="inputUsername">Patient
Name</label>
<input type="text" class="form-control" id="patientname"
placeholder="Patient Name">
</div>
<div class="mb-3">
<label class="form-label" for="inputUsername">Pre Medical
Data</label>
<textarea rows="2" class="form-control" id="patientmedrec"
placeholder="Patients pre-medical Condition"></textarea>
</div>
<div class="mb-3">
<label class="form-label" for="contact number">Primary
Contact Number</label>
<input type="contactnumber" class="form-control"
id="contact-no1" placeholder="Contact Number">
</div>
<div class="mb-3">
<label for="Treatment start" class="form-label">Treatment
Start Date</label>
<input class="form-control" type="date" value="2021-05-09"
id="tret-start">
</div>
<div class="mb-3">
<label for="Treatment start" class="form-label">Treatment
End Date</label>
<input class="form-control" type="date" value="2021-05-09"
id="tret-End">
</div>
<div class="mb-3">
<label class="form-label" for="Treatment Duration">Treatment
Duration</label>
<input type="text" class="form-control" id="tret-Duration"
placeholder=" Enter the duration in months">
</div>
<div class="mb-3">
<label class="form-label" for="Doctor Name">Doctor
Name</label>
<input type="text" class="form-control" id="Doctor-Name"
placeholder="Doctor's Name">
</div>
<div class="mb-3">
<label class="form-label" for="Doctor Name">Doctor Contact
Number</label>
<input type="text" class="form-control" id="Doc-Num"
placeholder="Contact number">
</div>
<div class="mb-3">
<label class="form-label" for="Hospital name">Hospital
Name</label>
<input type="text" class="form-control" id="HospitalName"
placeholder="Hospital Name">
</div>
<div class="mb-3">
<label class="form-label" for="Hospital Location">Hospital
Location</label>
<input type="text" class="form-control"
id="Hospital-Location" placeholder="Hospital Location">
</div>
<div class="mb-3">
<label class="form-label" for="Disease"> Reason for
Treatment </label>
<input type="text" class="form-control" id="pre-Disease"
placeholder=" Enter the name of the condition">
</div>
<div class="mb-3">
<label for="example-time-input"
class="form-label">Prescription timing</label>
<input class="form-control" type="time" value="00:00:00"
id="pres-Timing">
</div>
<div class="mb-3">
<label class="form-label" for="Gender">Medication
Hours</label>
<select class="form-control mb-3" id="pres-Dur">
<option selected>Open this select menu</option>
<option>Morning</option>
<option>Afternoon</option>
<option>Night</option>
<option>Morning & Night</option>
<option>12 hours</option>
<option>8 hours</option>
</select>
</div>
<button type="button" class="btn btn-primary"
id="updatepatient"> Update Patient Record</button>
</div>
</div>
</form>
</div>
</div>
</div>
<div class="tab-pane fade" id="Remove" role="tabpanel">
<div class="card">
<div class="card-body">
<h1 class="card-title">Remove Patient Details</h1>
<form>
<div class="row">
<div class="col-md-8">
<div class="mb-3">
<label class="form-label" for="inputremoveUsername">Patient
ID</label>
<input type="text" class="form-control" id="removepatientid"
placeholder="patient id">
</div>
<div class="mb-3">
<label class="form-label" for="inputremoveUsername">Patient
Name</label>
<input type="text" class="form-control" id="rpatientname"
placeholder="patient name">
</div>
<div class="mb-3">
<label class="form-label" for="inputUsername">Reason</label>
<textarea rows="2" class="form-control" id="reason"
placeholder="Reason for patient Removal "></textarea>
</div>
</div>
</div>
<button type="button" class="btn btn-primary"
id="removepatient">Remove</button>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<footer class="footer">
<div class="container-fluid">
<div class="row text-muted">
<div class="col-6 text-start">
<p class="mb-0">
<a href="home.html" class="text-muted"><strong>Track My Pill</strong></a>
</p>
</div>
<div class="col-6 text-end">
<ul class="list-inline">
<li class="list-inline-item">
<a class="text-muted" href="#">Support</a>
</li>
<li class="list-inline-item">
<a class="text-muted" href="#">Help Center</a>
</li>
</ul>
</div>
</div>
</div>
</footer>
</div>
</div>
<script src="js/app.js"></script>
<script src="js/index.js"></script>
<script src="js/removerecord.js"></script>
<script>
firebase.auth().onAuthStateChanged(function (user) {
if (!user) {
window.location.href = "index.html"
}
});
</script>
</body>
</html>