-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathneworders.html
508 lines (501 loc) · 22.1 KB
/
neworders.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
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
<!DOCTYPE html>
<!-- Define main language as english -->
<html lang="en">
<head>
<!-- Meta tags -->
<meta charset="UTF-8">
<meta author="Trent Schneweis">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<!-- Load the bootstrap stylesheet and then on top of that load our custom stylesheet-->
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/datatables.min.css" />
<!-- Favicon-->
<link rel="icon" href="favicon.ico">
<title>Medstation: New Orders: Roberto Hernandez</title>
</head>
<body>
<!-- Navbar-->
<nav class="navbar navbar-bg navbar-expand-md navbar-dark bg-dark">
<a class="navbar-brand" href="#">MedstationV2</a>
<!-- Button element to where when the button is clicked it will trigger the collapse css class. The data-targer is the selector to apply the collapse to -->
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#medstationMenu" aria-controls="medstationMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<!-- Main navbar menu-->
<div class="collapse navbar-collapse" id="medstationMenu">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="patientlist.html">Patient Index<span class="sr-only">(current)</span></a>
</li>
</ul>
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" href="index.html">Logout</a>
</li>
</ul>
</div>
</nav>
<!-- End of navbar-->
<!-- Start of displaying the page title-->
<!-- Start of a flexbox container and evenly space everything out between -->
<!-- Start of making a navbar element for the new records and switching back to the patient's records-->
<nav class="navbar navbar-expand-md bg-white navbar-light">
<h5 class="navbar-brand page-title-heading">New Orders: Roberto Hernandez</h5>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#medstationChartMenu" aria-controls="medstationChartMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="medstationChartMenu">
<ul class="navbar-nav ml-auto chartMenu">
<li class="nav-item">
<a class="nav-link" href="scannedpatient.html">Patient Record </a>
</li>
<li class="nav-item">
<a class="nav-link" href="neworders.html">New Orders </a>
</li>
</ul>
</div>
</nav>
<!-- End of making a navbar element for the new records and switching back to the patient's records-->
<!-- End of a flexbox container and evenly space everything out between -->
<!-- End of displaying the page title-->
<!-- Start of the main content of the document-->
<main role="main">
<!-- Start of the full-width container-->
<div class="container-fluid">
<!-- Start of the medstation-content custom div-->
<div class="medstation-content">
<!-- Start of a row in our container-->
<div class="row">
<!-- Start of making a column 100% of the container width -->
<div class="col-md-12">
<!-- Start of using the nav tabs components from bootstrap-->
<ul class="nav nav-tabs">
<!-- For each chart, show a list item element which when clicked it will show the chart-->
<li class="nav-item">
<a class="nav-link active" id="mar-tab" data-toggle="tab" href="#mar" role="tab" aria-controls="mar" aria-selected="true">MAR</a>
</li>
<li class="nav-item">
<a class="nav-link" id="history-tab" data-toggle="tab" href="#history" role="tab" aria-controls="history" aria-selected="true">History</a>
</li>
<li class="nav-item">
<a class="nav-link" id="orders-tab" data-toggle="tab" href="#orders" role="tab" aria-controls="orders" aria-selected="false">Orders</a>
</li>
<li class="nav-item">
<a class="nav-link" id="labs-tab" data-toggle="tab" href="#labs" role="tab" aria-controls="labs" aria-selected="false">Labs</a>
</li>
<li class="nav-item">
<a class="nav-link" id="ecg-tab" data-toggle="tab" href="#ecg" role="tab" aria-controls="ecg" aria-selected="false">Radiology</a>
</li>
</ul>
<!-- End of using the nav tabs components from bootstrap-->
<!-- Uses the tab JavasScript plugin to create tabbable panes, also pulls the medstation-pane style in with it-->
<div class="tab-content medstation-pane">
<div class="tab-pane fade show active" id="mar" role="tabpanel" aria-labelledby="mar-tab">
<!-- Start of creating a new row and everything in that row make it centered-->
<div class="row mb-1 justify-content-md-center">
<!-- Start of create a column which is 50% in width-->
<div class="col-md-6">
<div class="input-group">
<!-- Start of creating a custom input button-->
<span class="input-group-btn">
<a class="btn btn-success" href="javascript: void(0);">Status: scanned</a>
</span>
<!-- If any key is pressed, run the scanPatient function and pass event data -->
<input id="patValue" type="text" class="form-control" onkeypress="return scanPatient(event)" placeholder="HERNANDEZ ROBERTO A" type="text"/>
<!-- End of creating a custom input button-->
</div>
</div>
<!-- End of create a column which is 50% in width-->
</div>
<!-- End of creating a new row and everything in that row make it centered-->
<!-- Start of creating a new row for our patient data-->
<div class="row">
<!-- Start of create a column which is 100% in width-->
<div class="col-md-12">
<!-- Start of create a responsive table-->
<div class="table-responsive">
<!-- Start of creating the patient chart table-->
<table class="text-left table table-bordered border-bottom-0 table-hover mb-0">
<thead>
<!-- Start of applying flex styling at the table row -->
<tr class="d-flex medstation-bg">
<th class="col-md-10">Patient Identifier</th>
<th class="col-md-2">Allergies</th>
</tr>
<!-- End of applying flex styling at the table row -->
</thead>
<tbody>
<!-- Start of applying flex styling at the table row -->
<tr class="d-flex">
<td class="col-md-10">
<div class="row">
<div class="col-md-4">
<b>Name</b>
<p>Hernandez, Roberto, A</p>
</div>
<div class="col-md-3">
<b>DOB</b>
<p>1945-12-23</p>
</div>
<div class="col-md-5">
<!-- Display the barcode-->
<svg id="barcode" class="barcode img-fluid"></svg>
</div>
</div>
<div class="row">
<div class="col-md-4">
<b>Admission Number</b>
<p>3438976751</p>
</div>
<div class="col-md-2">
<b>Medical Record Number</b>
<p>74006192</p>
</div>
</div>
</td>
<td class="col-md-2">
<div class="row">
<div class="col-md-12">
<p>Percocet (Acetaminophen / Oxycodone)</p>
</div>
</div>
</td>
</tr>
<!-- End of applying flex styling at the table row -->
</tbody>
<thead>
<!-- Start of applying flex styling at the table row -->
<tr class="d-flex medstation-bg">
<th class="col-md-3">Patient Name</th>
<th class="col-md-2">Date of Birth</th>
<th class="col-md-1">Weight</th>
<th class="col-md-2">Age/Sex</th>
<th class="col-md-2">Date of Admission</th>
<th class="col-md-2">Attending Physician</th>
</tr>
<!-- End of applying flex styling at the table row -->
</thead>
<tbody>
<!-- Start of applying flex styling at the table row -->
<tr class="d-flex">
<td class="col-md-3">
<p>Roberto A Hernandez</p>
</td>
<td class="col-md-2">
<p>1945-12-23</p>
</td>
<td class="col-md-1">
<p>105 kg</p>
</td>
<td class="col-md-2">
<p>72/Male</p>
</td>
<td class="col-md-2">
<p>2018-04-12</p>
</td>
<td class="col-md-2">
<p>Dr. Chester Hart</p>
</td>
</tr>
<!-- End of applying flex styling at the table row -->
</tbody>
<thead>
<!-- Start of applying flex styling at the table row -->
<tr class="d-flex medstation-bg">
<th class="col-md-2">Medication</th>
<th class="col-md-2">Route</th>
<th class="col-md-5">Ordering Dose</th>
<th class="col-md-1">0000
<div class="clearfix"></div>0759</th>
<th class="col-md-1">0800
<div class="clearfix"></div>1559</th>
<th class="col-md-1">1600
<div class="clearfix"></div>2359</th>
</tr>
<!-- End of applying flex styling at the table row -->
</thead>
<tbody class="col-md-12">
<!-- Start of applying flex styling at the table row -->
<tr class="d-flex">
<td class="col-md-2">
<a href="clopidogrel.html">
<p>Clopidogrel</p>
</a>
</td>
<td class="col-md-2">
<p>PO (ORAL)</p>
</td>
<td class="col-md-5">
<p>300 mg po prior to heart catherization</p>
</td>
<td class="col-md-1">
<p></p>
</td>
<td class="col-md-1">
<p>1300</p>
</td>
<td class="col-md-1">
<p></p>
</td>
</tr>
<!-- End of applying flex styling at the table row -->
<!-- Start of applying flex styling at the table row -->
<tr class="d-flex">
<td class="col-md-2">
<a href="metoprolol.html">
<p>Metoprolol</p>
</a>
</td>
<td class="col-md-2">
<p>IV (Intravenous)</p>
</td>
<td class="col-md-5">
<p>push 5 mg over 2 minutes; repeat every 5 minutes for total of 15 mg; hold if BP <90 mmHg or HR <50 mmHg and call physician</p>
</td>
<td class="col-md-1">
<p></p>
</td>
<td class="col-md-1">
<p></p>
</td>
<td class="col-md-1">
<p></p>
</td>
</tr>
<!-- End of applying flex styling at the table row -->
<!-- Start of applying flex styling at the table row -->
<tr class="d-flex">
<td class="col-md-2">
<a href="nsflush.html">
<p>NS Flush</p>
</a>
</td>
<td class="col-md-2">
<p>IV (Intravenous)</p>
</td>
<td class="col-md-5">
<p>3 ml BID (two times per day) and prn for flush</p>
</td>
<td class="col-md-1">
<p></p>
</td>
<td class="col-md-1">
<p>1200</p>
</td>
<td class="col-md-1">
<p>2100 </p>
</td>
</tr>
<!-- End of applying flex styling at the table row -->
<!-- Start of applying flex styling at the table row -->
<tr class="d-flex">
<td class="col-md-2">
<a href="heparinbolus.html">
<p>Heparin Bolus</p>
</a>
</td>
<td class="col-md-2">
<p>IV (Intravenous)</p>
</td>
<td class="col-md-5">
<p>push 60 units/kg bolus (maximum 4,000 units)
</p>
</td>
<td class="col-md-1">
<p></p>
</td>
<td class="col-md-1">
<p>1300</p>
</td>
<td class="col-md-1">
<p></p>
</td>
</tr>
<!-- End of applying flex styling at the table row -->
<!-- Start of applying flex styling at the table row -->
<tr class="d-flex">
<td class="col-md-2">
<a href="heparininfusion.html">
<p>Heparin Infusion</p>
</a>
</td>
<td class="col-md-2">
<p>IV (Intravenous)</p>
</td>
<td class="col-md-5">
<p>start infusion at 10 units/kg/hr</p>
</td>
<td class="col-md-1">
<p></p>
</td>
<td class="col-md-1">
<p>1300</p>
</td>
<td class="col-md-1">
<p></p>
</td>
</tr>
<!-- End of applying flex styling at the table row -->
<!-- Start of applying flex styling at the table row -->
<tr class="d-flex">
<td class="col-md-2">
<a href="morphinesulfate.html">
<p>Morphine Sulfate</p>
</a>
</td>
<td class="col-md-2">
<p>IV (Intravenous)
</p>
</td>
<td class="col-md-5">
<p>push 3 mg prn (as needed) every 2 hours to keep pain 0/10</p>
</td>
<td class="col-md-1">
<p></p>
</td>
<td class="col-md-1">
<p></p>
</td>
<td class="col-md-1">
<p></p>
</td>
</tr>
<!-- End of applying flex styling at the table row -->
<!-- Start of applying flex styling at the table row -->
<tr class="d-flex medstation-highlight">
<td class="col-md-2">
<a href="nitroglycerin.html">
<p>Nitroglycerin</p>
</a>
</td>
<td class="col-md-2">
<p>SL (Sublingual)</p>
</td>
<td class="col-md-5">
<p>0.4 mg as needed for chest pain every 5 minutes times 3 doses - notify provider if unrelieved</p>
</td>
<td class="col-md-1">
<p></p>
</td>
<td class="col-md-1">
<p></p>
</td>
<td class="col-md-1">
<p></p>
</td>
</tr>
<!-- End of applying flex styling at the table row -->
<!-- Start of applying flex styling at the table row -->
<tr class="d-flex medstation-highlight">
<td class="col-md-2">
<a href="sodiumchloride.html">
<p>Sodium Chloride 0.9%</p>
</a>
</td>
<td class="col-md-2">
<p>IV (Intravenous)
</p>
</td>
<td class="col-md-5">
<p>start influsion at 75 mL/hr</p>
</td>
<td class="col-md-1">
<p></p>
</td>
<td class="col-md-1">
<p>1200</p>
</td>
<td class="col-md-1">
<p></p>
</td>
</tr>
<!-- End of applying flex styling at the table row -->
</tbody>
</table>
<!-- End of creating the patient chart table-->
</div>
<!-- Start of create a responsive table-->
</div>
<!-- End of create a column which is 100% in width-->
</div>
<!-- End of creating a new row for our patient data-->
</div>
<!-- Start of make a tab pane for the history chart -->
<div class="tab-pane fade" id="history" role="tabpanel" aria-labelledby="history-tab">
<div class="embed-responsive embed-responsive-21by9">
<div class="embed-responsive-item" id="historyChart"></div>
</div>
</div>
<!-- End of make a tab pane for the history chart -->
<!-- Start of make a tab pane for the orders chart -->
<div class="tab-pane fade" id="orders" role="tabpanel" aria-labelledby="orders-tab">
<div class="embed-responsive embed-responsive-21by9">
<div class="embed-responsive-item" id="ordersChart"></div>
</div>
</div>
<!-- End of make a tab pane for the orders chart -->
<!-- Start of make a tab pane for the labs chart -->
<div class="tab-pane fade" id="labs" role="tabpanel" aria-labelledby="labs-tab">
<div class="embed-responsive embed-responsive-21by9">
<div class="embed-responsive-item" id="labsChart"></div>
</div>
</div>
<!-- End of make a tab pane for the labs chart -->
<!-- Start of make a tab pane for the ECG chart -->
<div class="tab-pane fade" id="ecg" role="tabpanel" aria-labelledby="ecg-tab">
<div class="embed-responsive embed-responsive-21by9">
<div class="embed-responsive-item" id="radiologyChart"></div>
</div>
</div>
<!-- End of make a tab pane for the ECG chart -->
</div>
</div>
<!-- End of making a column 100% of the container width -->
</div>
<!-- End of a row in our container-->
</div>
<!-- End of the medstation-content custom panel-->
</div>
<!-- End of the full-width container-->
</main>
<!-- End of the main content of the document-->
<!-- Start of footer -->
<footer class="bg-white bd-footer text-dark text-center mt-3">
<div class="container-fluid p-2">
<span>Created by <a href="https://www.linkedin.com/in/trentschneweis" target="_blank" rel="noopener">Trent Schneweis</a>. © 2018 MedstationV2 All Rights Reserved</span>
</div>
</footer>
<!-- End of footer -->
<!-- Load the jquery (Medstation uses a lot of JQuery)-->
<script src="js/jquery.min.js"></script>
<!-- Load the popper.js (required for bootstrap)-->
<script src="js/popper.min.js"></script>
<!-- Load the bootstrap (required for bootstrap javascript functions such as navbar collapse)-->
<script src="js/bootstrap.min.js"></script>
<!-- Load the JsBarcode library (what I am using for the barcode scanner)-->
<script src="js/JsBarcode.code39.min.js"></script>
<!-- Load the datatables library (required for the patient table search)-->
<script src="js/datatables.min.js"></script>
<!-- Load the pdfobject utility (renders pdf chart data on the tabs)-->
<script src="js/pdfobject.js"></script>
<!-- Load global custom scripts for the whole page-->
<script src="js/custom.js"></script>
<!-- Load the sweetalert system for smooth looking alerts-->
<script src="js/sweetalert2.all.min.js"></script>
<!-- Load our event-based javascript functions so we can scan patients, scan medications, and display barcodes (when appropriate)-->
<script>
// Using the JSBarcode library, display the barcode value for each patient.
JsBarcode("#barcode", "HERNANDEZ ROBERTO A", {
format: "code39",
displayValue: false
});
// Using the PDFObject utility, display the pdf files for each type of chart there is.
PDFObject.embed("uploads/110/history/1.pdf", "#historyChart");
PDFObject.embed("uploads/110/orders/1.pdf", "#ordersChart");
PDFObject.embed("uploads/110/labs/1.pdf", "#labsChart");
PDFObject.embed("uploads/110/ecg/1.pdf", "#radiologyChart");
</script>
</body>
</html>