-
Notifications
You must be signed in to change notification settings - Fork 0
/
Addpatient.html
493 lines (410 loc) · 15.7 KB
/
Addpatient.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
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
<!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">
<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">Add 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="#account" role="tab"> Account </a>
<a class="list-group-item list-group-item-action" data-bs-toggle="list"
href="#Duration" role="tab">Duration</a>
<a class="list-group-item list-group-item-action" data-bs-toggle="list"
href="#MedicineRecord" role="tab">Medicine Record</a>
<a class="list-group-item list-group-item-action" data-bs-toggle="list"
href="#Doctordetails" role="tab">Doctors Details </a>
<a class="list-group-item list-group-item-action" data-bs-toggle="list"
href="#Registerpatient" role="tab">Register Patient </a>
</div>
</div>
</div>
<div class="col-md-9 col-xl-10">
<div class="tab-content">
<div class="tab-pane fade show active" id="account" 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>
</div>
</form>
</div>
</div>
<div class="card">
<div class="card-header">
<h5 class="card-title mb-0">Contact information</h5>
</div>
<div class="card-body">
<form>
<div class="row">
<div class="mb-3 col-md-6">
<label class="form-label" for="inputFirstName">First
name</label>
<input type="text" class="form-control" id="FirstName"
placeholder="First name">
</div>
<div class="mb-3 col-md-6">
<label class="form-label" for="inputLastName">Last name</label>
<input type="text" class="form-control" id="LastName"
placeholder="Last name">
</div>
</div>
<div class="mb-3">
<label class="form-label" for="Age">Age</label>
<input type="contactnumber" class="form-control" id="age"
placeholder="Age">
</div>
<div class="mb-3">
<label class="form-label" for="Gender">Gender</label>
<select class="form-control mb-3" id="gender">
<option selected>Open this select menu</option>
<option>Male</option>
<option>Female</option>
<option>Others</option>
</select>
</div>
<div class="mb-3">
<label for="Date of birth" class="form-label">Date-OF-Birth</label>
<input class="form-control" type="date" value="2021-05-09" id="dob">
</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 class="form-label" for="contact number">Contact Number
</label>
<input type="contactnumber" class="form-control" id="contact-no2"
placeholder="Contact Number">
</div>
<div class="mb-3">
<label class="form-label" for="inputEmail4">Email</label>
<input type="email" class="form-control" id="pat-Email"
placeholder="Email">
</div>
<div class="mb-3">
<label class="form-label" for="inputAddress">Address</label>
<input type="text" class="form-control" id="Pat-Address"
placeholder="1234 Main St">
</div>
<div class="row">
<div class="mb-3 col-md-6">
<label class="form-label" for="inputCity">City</label>
<input type="text" class="form-control" id="Pat-City">
</div>
<div class="mb-3 col-md-4">
<label class="form-label" for="inputState">State</label>
<input type="text" class="form-control" id="Pat-State">
</div>
<div class="mb-3 col-md-2">
<label class="form-label" for="inputZip">Zip</label>
<input type="text" class="form-control" id="inputZip">
</div>
</div>
</form>
</div>
</div>
</div>
<div class="tab-pane fade" id="Duration" role="tabpanel">
<div class="card">
<div class="card-body">
<h5 class="card-title">Treatment Duration</h5>
<form>
<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>
</form>
</div>
</div>
</div>
<div class="tab-pane fade" id="Doctordetails" role="tabpanel">
<div class="card">
<div class="card-body">
<h5 class="card-title">Doctor Details</h5>
<form>
<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"> 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>
</form>
</div>
</div>
</div>
<div class="tab-pane fade" id="Registerpatient" role="tabpanel">
<div class="card">
<div class="card-body">
<h5 class="card-title">Treatment Details</h5>
<form>
<div class="mb-3">
<label class="form-label" for="Hospital Location">Check all the
details of the patients </label>
</div>
<button type="submit" class="btn btn-primary" id="addpatient">Add
Patient </button>
</form>
</div>
</div>
</div>
<div class="tab-pane fade" id="MedicineRecord" role="tabpanel">
<div class="card">
<div class="card-body">
<h5 class="card-title">Medicine Record</h5>
<form>
<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 class="form-label" for="Gender">Patients Condition</label>
<select class="form-control mb-3" id="pat-Condition">
<option selected>Open this select menu</option>
<option>High Risk</option>
<option>Attention Needed</option>
<option>Low Risk</option>
</select>
</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>
</div>
</div>
</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>
firebase.auth().onAuthStateChanged(function (user) {
if (!user) {
window.location.href = "index.html"
}
});
</script>
</body>
</html>