-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTableData.jsp
889 lines (821 loc) · 57.1 KB
/
TableData.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
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
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
<%-- <%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
</body>
</html> --%>
<%@ page import="java.sql.*"%>
<html>
<head>
<title>Loading Tables</title>
</head>
<body>
<h1>Loading Tables</h1>
<!-- dabase name =Hospital -->
<!-- conection name= root
connection passwored=passwored -->
<%
try {
String connectionURL = "jdbc:mysql://localhost:3306/Hospital?serverTimezone=UTC";
Connection connection = null;
Class.forName("com.mysql.jdbc.Driver").newInstance();
connection = DriverManager.getConnection(connectionURL, "root", "Iluvhim@123");
if(!connection.isClosed())
out.println("Successfully connected to " + "MySQL server using "+"<br/><br/>");
//Insert row
java.util.Date now = new java.util.Date();
java.sql.Date sqlDate = new java.sql.Date(now.getTime());
String insertSqluser1 = "INSERT INTO user (firstName,lastName,dateOfBirth,gender,"
+ "phoneNumber, address, email, password, CREATED_DATE) "
+ "VALUES ('Roman', 'Ballard','1970-09-12','m',0133434830,"
+"'801 Pretlow St, Franklin, VA, 23851','[email protected]',291029 ,'" + sqlDate + "')";
String insertSqluser2 = "INSERT INTO user (firstName,lastName,dateOfBirth,gender,"
+ "phoneNumber, address, email, password, CREATED_DATE) "
+ "VALUES ('Marisela', 'Gadison','1966-05-13','f',0143434830,"
+"'63 Twin Peaks Ln, Sequim, WA, 98382','[email protected]',234819 ,'" + sqlDate + "')";
String insertSqluser3 ="INSERT INTO user (firstName,lastName,dateOfBirth,gender,"
+ "phoneNumber, address, email, password, CREATED_DATE) "
+ "VALUES ('Cliff', 'Woullard','1989-06-20','m',0153434830,"
+"'6908 Longview Beach Rd, Jeffersonville','[email protected]',112271 ,'" + sqlDate + "')";
String insertSqluser4 ="INSERT INTO user (firstName,lastName,dateOfBirth,gender,"
+ "phoneNumber, address, email, password, CREATED_DATE) "
+ "VALUES ('Domingo', 'Zobel','1978-11-02','m',0163434830,"
+"'8863 Black Point Rd, Syracuse, IN, 46567','[email protected]',189961 ,'" + sqlDate + "')";
String insertSqluser5 = "INSERT INTO user (firstName,lastName,dateOfBirth,gender,"
+ "phoneNumber, address, email, password, CREATED_DATE) "
+ "VALUES ('Andria', 'Straley','1978-04-19','f',0153174830,"
+"'10318 Kk Rd, Rapid River, MI, 49878','[email protected]',290731 ,'" + sqlDate + "')";
String insertSqluser6 ="INSERT INTO user (firstName,lastName,dateOfBirth,gender,"
+ "phoneNumber, address, email, password, CREATED_DATE) "
+ "VALUES ('Santina', 'Linker','1994-03-17','f',0163184830,"
+"'87 Gore Rd, Lancaster, NH, 03584','[email protected]',456878 ,'" + sqlDate + "')";
String insertSqluser7 = "INSERT INTO user (firstName,lastName,dateOfBirth,gender,"
+ "phoneNumber, address, email, password, CREATED_DATE) "
+ "VALUES ('Lucretia', 'Grissom','1965-07-06','f',0173194830,"
+"'150 Barren, Conshohocken, PA, 19428 ','[email protected]',255553 ,'" + sqlDate + "')";
String insertSqluser8 = "INSERT INTO user (firstName,lastName,dateOfBirth,gender,"
+ "phoneNumber, address, email, password, CREATED_DATE) "
+ "VALUES ('Tianna', 'Nielson','1955-08-23','f',0183420830,"
+"'30 Northington Dr, Avon, CT, 06001 ','[email protected]',987234 ,'" + sqlDate + "')";
String insertSqluser9 = "INSERT INTO user (firstName,lastName,dateOfBirth,gender,"
+ "phoneNumber, address, email, password, CREATED_DATE) "
+ "VALUES ('Angelia', 'Sisk','1998-03-16','f',0193214830,"
+"'472 870th Hwy, Winnsboro, LA, 71295','[email protected]',087431 ,'" + sqlDate + "')";
String insertSqluser10 ="INSERT INTO user (firstName,lastName,dateOfBirth,gender,"
+ "phoneNumber, address, email, password, CREATED_DATE) "
+ "VALUES ('Sheilah', 'Rueb','1979-09-26','f',0203224830,"
+"'625 E Plum St, Vineland, NJ, 08360','[email protected]',918394 ,'" + sqlDate + "')";
String insertSqluser11 = "INSERT INTO user (firstName,lastName,dateOfBirth,gender,"
+ "phoneNumber, address, email, password, CREATED_DATE) "
+ "VALUES ('Mafalda', 'Call','1984-01-02','f',0213234830,"
+"'234 E Black Point Rd, Syracuse, IN, 46567 ','[email protected]',987888 ,'" + sqlDate + "')";
String insertSqluser12 = "INSERT INTO user (firstName,lastName,dateOfBirth,gender,"
+ "phoneNumber, address, email, password, CREATED_DATE) "
+ "VALUES ('Lilia', 'Thorsen','1995-08-12','f',0222434830,"
+"'23 Gore st, Lancaster, NH, 03584','[email protected]',456845 ,'" + sqlDate + "')";
String insertSqluser13 = "INSERT INTO user (firstName,lastName,dateOfBirth,gender,"
+ "phoneNumber, address, email, password, CREATED_DATE) "
+ "VALUES ('Mafalda', 'Thorsen','1998-05-07','f',0092434830,"
+"'77 Gore st, hamilton, NH, 03584','[email protected]',684322 ,'" + sqlDate + "')";
String insertSqluser14 = "INSERT INTO user (firstName,lastName,dateOfBirth,gender,"
+ "phoneNumber, address, email, password, CREATED_DATE) "
+ "VALUES ('Lilia', 'Sheilah','1973-04-11','f',0222434830,"
+"'567 Gore st, Lancaster, NH, 03584','[email protected]', 888444 ,'" + sqlDate + "')";
String insertSqluser15 = "INSERT INTO user (firstName,lastName,dateOfBirth,gender,"
+ "phoneNumber, address, email, password, CREATED_DATE) "
+ "VALUES ('Angelia', 'Thorsen','1975-09-30','f',0792434830,"
+"'568 Gore st, Lancaster, NH, 03584','[email protected]',832563,'" + sqlDate + "')";
String insertSqluser16 = "INSERT INTO user (firstName,lastName,dateOfBirth,gender,"
+ "phoneNumber, address, email, password, CREATED_DATE) "
+ "VALUES ('Bailey','Rome', '1970-09-18','m',0133434830,"
+"'801 Pretlow St, Franklin, VA, 23851','[email protected]',928838 ,'" + sqlDate + "')";
String insertSqluser17 = "INSERT INTO user (firstName,lastName,dateOfBirth,gender,"
+ "phoneNumber, address, email, password, CREATED_DATE) "
+ "VALUES ('Gary','Marisela', '1990-06-02','m',0143434830,"
+"'63 Twin Peaks Ln, Sequim, WA, 98382','[email protected]',262262 ,'" + sqlDate + "')";
String insertSqluser18 ="INSERT INTO user (firstName,lastName,dateOfBirth,gender,"
+ "phoneNumber, address, email, password, CREATED_DATE) "
+ "VALUES ('William','Cliff', '1969-03-15','m',0153434830,"
+"'6908 Longview Beach Rd, Jeffersonville','[email protected]',099763 ,'" + sqlDate + "')";
String insertSqluser19 ="INSERT INTO user (firstName,lastName,dateOfBirth,gender,"
+ "phoneNumber, address, email, password, CREATED_DATE) "
+ "VALUES ('Zobel','Domingo', '1986-01-12','m',0163434830,"
+"'8863 Black Point Rd, Syracuse, IN, 46567','[email protected]',853124 ,'" + sqlDate + "')";
String insertSqluser20 = "INSERT INTO user (firstName,lastName,dateOfBirth,gender,"
+ "phoneNumber, address, email, password, CREATED_DATE) "
+ "VALUES ('Stan','Andria', '1987-10-19','m',0153174830,"
+"'10318 Kk Rd, Rapid River, MI, 49878','[email protected]',953245 ,'" + sqlDate + "')";
String insertSqluser21 ="INSERT INTO user (firstName,lastName,dateOfBirth,gender,"
+ "phoneNumber, address, email, password, CREATED_DATE) "
+ "VALUES ('Lincoln','Santina', '1976-08-02','m',0163184830,"
+"'87 Gore Rd, Lancaster, NH, 03584','[email protected]',221346 ,'" + sqlDate + "')";
String insertSqluser22 = "INSERT INTO user (firstName,lastName,dateOfBirth,gender,"
+ "phoneNumber, address, email, password, CREATED_DATE) "
+ "VALUES ('Gus','Lucret', '1974-05-22','m',0173194830,"
+"'150 Barren, Conshohocken, PA, 19428 ','[email protected]',920787 ,'" + sqlDate + "')";
String insertSqluser23 = "INSERT INTO user (firstName,lastName,dateOfBirth,gender,"
+ "phoneNumber, address, email, password, CREATED_DATE) "
+ "VALUES ('Niel','Tian', '1979-05-27','m',0183420830,"
+"'30 Northington Dr, Avon, CT, 06001 ','[email protected]',909753 ,'" + sqlDate + "')";
String insertSqluser24 = "INSERT INTO user (firstName,lastName,dateOfBirth,gender,"
+ "phoneNumber, address, email, password, CREATED_DATE) "
+ "VALUES ('Sal','Angel', '1970-11-12','m',0193214830,"
+"'472 870th Hwy, Winnsboro, LA, 71295','[email protected]',567789 ,'" + sqlDate + "')";
String insertSqluser25 ="INSERT INTO user (firstName,lastName,dateOfBirth,gender,"
+ "phoneNumber, address, email, password, CREATED_DATE) "
+ "VALUES ('Robert','Sheilah', '1979-05-13','m',0203224830,"
+"'625 E Plum St, Vineland, NJ, 08360','[email protected]',927678 ,'" + sqlDate + "')";
String insertSqluser26 = "INSERT INTO user (firstName,lastName,dateOfBirth,gender,"
+ "phoneNumber, address, email, password, CREATED_DATE) "
+ "VALUES ('Calum','Mafald', '1987-04-07','m',0213234830,"
+"'234 E Black Point Rd, Syracuse, IN, 46567 ','[email protected]',436301 ,'" + sqlDate + "')";
String insertSqluser27 = "INSERT INTO user (firstName,lastName,dateOfBirth,gender,"
+ "phoneNumber, address, email, password, CREATED_DATE) "
+ "VALUES ('Thora','Lillard', '1989-07-09','f',0222434830,"
+"'23 Gore st, Lancaster, NH, 03584','[email protected]',918648 ,'" + sqlDate + "')";
String insertSqluser28 = "INSERT INTO user (firstName,lastName,dateOfBirth,gender,"
+ "phoneNumber, address, email, password, CREATED_DATE) "
+ "VALUES ('Theodora','Mafalda', '1976-02-25','f',0092434830,"
+"'77 Gore st, hamilton, NH, 03584','[email protected]',927174 ,'" + sqlDate + "')";
String insertSqluser29 = "INSERT INTO user (firstName,lastName,dateOfBirth,gender,"
+ "phoneNumber, address, email, password, CREATED_DATE) "
+ "VALUES ('Sheilah','Lancaster', '1979-08-17','f',0222434830,"
+"'567 Gore st, Lancaster, NH, 03584','[email protected]',787291 ,'" + sqlDate + "')";
String insertSqluser30 = "INSERT INTO user (firstName,lastName,dateOfBirth,gender,"
+ "phoneNumber, address, email, password, CREATED_DATE) "
+ "VALUES ('Emily', 'Thorsen','1978-05-18','f',0792434830,"
+"'568 Gore st, Lancaster, NH, 03584','[email protected]',927179 ,'" + sqlDate + "')";
String insertSqlprescription1 = "INSERT INTO prescription (medicationName,totalAmount,receivedByPatient,"
+ "prescribedAmount,frequency,CREATED_DATE) "
+ "VALUES ('hydrocodone', '1000 mg',true,'500 mg','2 times', '" + sqlDate + "')";
String insertSqlprescription2 = "INSERT INTO prescription (medicationName,totalAmount,receivedByPatient,"
+ "prescribedAmount,frequency,CREATED_DATE) "
+ "VALUES ('levothyroxine', '800 mg',false,'800 mg','no' ,'" + sqlDate + "')";
String insertSqlprescription3 = "INSERT INTO prescription (medicationName,totalAmount,receivedByPatient,"
+ "prescribedAmount,frequency,CREATED_DATE) "
+ "VALUES ('prednisone', '1000 mg', true,'1000 mg','no' ,'" + sqlDate + "')";
String insertSqlprescription4 = "INSERT INTO prescription (medicationName,totalAmount,receivedByPatient,"
+ "prescribedAmount,frequency,CREATED_DATE) "
+ "VALUES ('amoxicillin', '800 mg',false,'400 mg','1 times' , '" + sqlDate + "')";
String insertSqlprescription5 = "INSERT INTO prescription (medicationName,totalAmount,receivedByPatient,"
+ "prescribedAmount,frequency,CREATED_DATE) "
+ "VALUES ('gabapentin', '200 mg',true,'200 mg','no' , '" + sqlDate + "')";
String insertSqlprescription6 = "INSERT INTO prescription (medicationName,totalAmount,receivedByPatient,"
+ "prescribedAmount,frequency,CREATED_DATE) "
+ "VALUES ('lisinopril', '500 mg',true,'500 mg','no' , '" + sqlDate + "')";
String insertSqlprescription7 ="INSERT INTO prescription (medicationName,totalAmount,receivedByPatient,"
+ "prescribedAmount,frequency,CREATED_DATE) "
+ "VALUES ('atorvastatin', '800 mg',true,'800 mg','no' , '" + sqlDate + "')";
String insertSqlprescription8 = "INSERT INTO prescription (medicationName,totalAmount,receivedByPatient,"
+ "prescribedAmount,frequency,CREATED_DATE) "
+ "VALUES ('metformin', '1000 mg', false,'800 mg','1 times' ,'" + sqlDate + "')";
String insertSqlprescription9 = "INSERT INTO prescription (medicationName,totalAmount,receivedByPatient,"
+ "prescribedAmount,frequency,CREATED_DATE) "
+ "VALUES ('ondansetron', '1000 mg',true,'800 mg','1 times' , '" + sqlDate + "')";
String insertSqlprescription10 = "INSERT INTO prescription (medicationName,totalAmount,receivedByPatient,"
+ "prescribedAmount,frequency,CREATED_DATE) "
+ "VALUES ('ibuprofen', '800 mg',false,'800 mg','no' , '" + sqlDate + "')";
String insertSqlprescription11 = "INSERT INTO prescription (medicationName,totalAmount,receivedByPatient,"
+ "prescribedAmount,frequency,CREATED_DATE) "
+ "VALUES ('ibuprofen', '700 mg', true,'700 mg','no' ,'" + sqlDate + "')";
String insertSqlprescription12 = "INSERT INTO prescription (medicationName,totalAmount,receivedByPatient,"
+ "prescribedAmount,frequency,CREATED_DATE) "
+ "VALUES ('naproxen', '1000 mg',false,'800 mg','1 times' , '" + sqlDate + "')";
String insertSqlprescription13 = "INSERT INTO prescription (medicationName,totalAmount,receivedByPatient,"
+ "prescribedAmount,frequency,CREATED_DATE) "
+ "VALUES ('acetaminophen', '2000 mg',true,'800 mg','2 times' , '" + sqlDate + "')";
String insertSqlprescription14 = "INSERT INTO prescription (medicationName,totalAmount,receivedByPatient,"
+ "prescribedAmount,frequency,CREATED_DATE) "
+ "VALUES ('ibuprofen', '500 mg',false,'500 mg','no' , '" + sqlDate + "')";
String insertSqlprescription15 = "INSERT INTO prescription (medicationName,totalAmount,receivedByPatient,"
+ "prescribedAmount,frequency,CREATED_DATE) "
+ "VALUES ('naproxen', '1000 mg',true,'800 mg','1 times' , '" + sqlDate + "')";
String insertSqlnote1 = "INSERT INTO note (detail, date, CREATED_DATE) "
+ "VALUES ('Blood pressure is lower. Feet are inspected and there are no callouses, no compromised skin. No vision complaints.','2019-07-18', '" + sqlDate + "')";
String insertSqlnote2 = "INSERT INTO note (detail,date, CREATED_DATE) "
+ "VALUES ('Oral cavity and pharynx normal. No inflammation, swelling, exudate, or lesions. Teeth and gingiva in good general condition.','2019-04-12', '" + sqlDate + "')";
String insertSqlnote3 = "INSERT INTO note (detail,date, CREATED_DATE) "
+ "VALUES ('External auditory canals and tympanic membranes clear, hearing ','2019-09-02', '" + sqlDate + "')";
String insertSqlnote4 = "INSERT INTO note (detail, date,CREATED_DATE) "
+ "VALUES ('Neck supple, non-tender without lymphadenopathy, masses or thyromegaly.','2019-10-17', '" + sqlDate + "')";
String insertSqlnote5 = "INSERT INTO note (detail, date,CREATED_DATE) "
+ "VALUES ('No inflammation, swelling, exudate, or lesions. Teeth and gingiva in good general condition.','2019-02-12', '" + sqlDate + "')";
String insertSqlnote6 = "INSERT INTO note (detail,date, CREATED_DATE) "
+ "VALUES ('No significant deformity or joint abnormality. No edema. Peripheral pulses intact. No varicosities.','2019-08-22', '" + sqlDate + "')";
String insertSqlnote7 = "INSERT INTO note (detail, date,CREATED_DATE) "
+ "VALUES ('The head is normocephalic and atraumatic. The head and neck are nontender without thyromegaly or adenopathy. ','2019-07-11', '" + sqlDate + "')";
String insertSqlnote8 = "INSERT INTO note (detail, date,CREATED_DATE) "
+ "VALUES ('LUNGS: Clear to auscultation. ABDOMEN: Soft and nontender.', '2019-02-14','" + sqlDate + "')";
String insertSqlnote9 = "INSERT INTO note (detail,date, CREATED_DATE) "
+ "VALUES ('EXTREMITIES: No cyanosis, clubbing or edema in the extremities.', '2019-02-15','" + sqlDate + "')";
String insertSqlnote10 = "INSERT INTO note (detail,date, CREATED_DATE) "
+ "VALUES ('The patient is pleasant, appears her stated age. Body habitus is mesomorphic.','2019-01-18', '" + sqlDate + "')";
String insertSqlnote11 = "INSERT INTO note (detail, date,CREATED_DATE) "
+ "VALUES ('VITAL SIGNS: Currently stable. The patient is afebrile.', '2019-11-12','" + sqlDate + "')";
String insertSqlnote12 = "INSERT INTO note (detail,date, CREATED_DATE) "
+ "VALUES ('SKIN AND EXTREMITIES: No skin rashes or lesions are noted. No cyanosis, clubbing or edema of the extremities.','2019-09-12', '" + sqlDate + "')";
String insertSqlnote13 = "INSERT INTO note (detail,date, CREATED_DATE) "
+ "VALUES ('HEART: Regular rate and rhythm.LUNGS: Clear to auscultation.','2019-02-16', '" + sqlDate + "')";
String insertSqlnote14 = "INSERT INTO note (detail, date,CREATED_DATE) "
+ "VALUES ('GENERAL: The patient is a well-developed, well-nourished male in no acute distress, oriented x3.','2019-08-05', '" + sqlDate + "')";
String insertSqlnote15 = "INSERT INTO note (detail, date,CREATED_DATE) "
+ "VALUES ('LUNGS: Clear to auscultation bilaterally. No wheezes, rales or rhonchi.','2019-09-06', '" + sqlDate + "')";
String insertSqlpatient1 = "INSERT INTO patient (patientID,diagnosis,room,admissionDate,dischargeDate, CREATED_DATE) "
+ "VALUES (16,'Latex Allergy ', 101,'2020-06-12','2020-06-18','" + sqlDate + "')";
String insertSqlpatient2 = "INSERT INTO patient (patientID,diagnosis,room,admissionDate,dischargeDate, CREATED_DATE) "
+ "VALUES (17,'Cold & Flu' ,104,'2020-03-3','2020-03-14','" + sqlDate + "')";
String insertSqlpatient3 = "INSERT INTO patient (patientID,diagnosis,room,admissionDate,dischargeDate, CREATED_DATE) "
+ "VALUES (18,'High Cholesterol',105 ,'2020-07-13','2020-07-16','" + sqlDate + "')";
String insertSqlpatient4 ="INSERT INTO patient (patientID,diagnosis,room,admissionDate,dischargeDate, CREATED_DATE) "
+ "VALUES (19,'HIV/AIDS',106 ,'2020-01-15','2020-01-16','" + sqlDate + "')";
String insertSqlpatient5 = "INSERT INTO patient (patientID,diagnosis,room,admissionDate,dischargeDate, CREATED_DATE) "
+ "VALUES (20,'COVID-19',107 ,'2020-01-11','2020-04-11','" + sqlDate + "')";
String insertSqlpatient6 = "INSERT INTO patient (patientID,diagnosis,room,admissionDate,dischargeDate, CREATED_DATE) "
+ "VALUES (21,'Lung Conditions',108,'2020-05-10','2020-05-23','" + sqlDate + "')";
String insertSqlpatient7 ="INSERT INTO patient (patientID,diagnosis,room,admissionDate,dischargeDate, CREATED_DATE) "
+ "VALUES (22,'Cancer',109 ,'2020-02-01','2020-02-14','" + sqlDate + "')";
String insertSqlpatient8 = "INSERT INTO patient (patientID,diagnosis,room,admissionDate,dischargeDate, CREATED_DATE) "
+ "VALUES (23,'COVID-19',110 ,'2020-03-01','2020-03-17','" + sqlDate + "')";
String insertSqlpatient9 ="INSERT INTO patient (patientID,diagnosis,room,admissionDate,dischargeDate, CREATED_DATE) "
+ "VALUES (24,'Measles',111 ,'2020-05-01','2020-05-19','" + sqlDate + "')";
String insertSqlpatient10 ="INSERT INTO patient (patientID,diagnosis,room,admissionDate,dischargeDate, CREATED_DATE) "
+ "VALUES (25,'Lung cancer',112 ,'2020-06-01','2020-06-20','" + sqlDate + "')";
String insertSqlpatient11 ="INSERT INTO patient (patientID,diagnosis,room,admissionDate,dischargeDate, CREATED_DATE) "
+ "VALUES (26,'COVID-19',113 ,'2020-04-01','2020-04-24','" + sqlDate + "')";
String insertSqlpatient12 ="INSERT INTO patient (patientID,diagnosis,room,admissionDate,dischargeDate, CREATED_DATE) "
+ "VALUES (27,'Depression',114 ,'2019-12-01','2019-12-26','" + sqlDate + "')";
String insertSqlpatient13 = "INSERT INTO patient (patientID,diagnosis,room,admissionDate,dischargeDate, CREATED_DATE) "
+ "VALUES (28,'Bipolar disorder',115 ,'2020-07-01','2020-07-18','" + sqlDate + "')";
String insertSqlpatient14 ="INSERT INTO patient (patientID,diagnosis,room,admissionDate,dischargeDate, CREATED_DATE) "
+ "VALUES (29,'Glaucoma',117 ,'2020-01-2','2020-01-20','" + sqlDate + "')";
String insertSqlpatient15 ="INSERT INTO patient (patientID,diagnosis,room,admissionDate,dischargeDate, CREATED_DATE) "
+ "VALUES (30,'Epilepsy',119 ,'2020-02-13','2020-02-23','" + sqlDate + "')";
String insertSqlemployee1 = "INSERT INTO employee (employeeID,salary,position,hireDate, CREATED_DATE) "
+ "VALUES (31,120000,'Doctor','2019-09-12', '" + sqlDate + "')";
String insertSqlemployee2 = "INSERT INTO employee (employeeID,salary,position,hireDate, CREATED_DATE) "
+ "VALUES (32,100000,'Nurse','2018-09-12', '" + sqlDate + "')";
String insertSqlemployee3 = "INSERT INTO employee (employeeID,salary,position,hireDate, CREATED_DATE) "
+ "VALUES (33,150000,'Surgeon','2018-09-12', '" + sqlDate + "')";
String insertSqlemployee4 = "INSERT INTO employee (employeeID,salary,position,hireDate, CREATED_DATE) "
+ "VALUES (34,150000,'Specialist','2017-09-12', '" + sqlDate + "')";
String insertSqlemployee5 = "INSERT INTO employee (employeeID,salary,position,hireDate, CREATED_DATE) "
+ "VALUES (35,100000,'Nurse','2010-09-12', '" + sqlDate + "')";
String insertSqlemployee6 = "INSERT INTO employee (employeeID,salary,position,hireDate, CREATED_DATE) "
+ "VALUES (36,160000,'Surgeon','2019-09-12', '" + sqlDate + "')";
String insertSqlemployee7 = "INSERT INTO employee (employeeID,salary,position,hireDate, CREATED_DATE) "
+ "VALUES (37,140000,'Doctor','2018-09-01', '" + sqlDate + "')";
String insertSqlemployee8 = "INSERT INTO employee (employeeID,salary,position,hireDate, CREATED_DATE) "
+ "VALUES (38,150000,'Pharmacist','2017-09-12', '" + sqlDate + "')";
String insertSqlemployee9 = "INSERT INTO employee (employeeID,salary,position,hireDate, CREATED_DATE) "
+ "VALUES (39,130000,'Doctor','2019-09-12', '" + sqlDate + "')";
String insertSqlemployee10 = "INSERT INTO employee (employeeID,salary,position,hireDate, CREATED_DATE) "
+ "VALUES (40,120000,'Surgeon','2018-09-12', '" + sqlDate + "')";
String insertSqlemployee11 = "INSERT INTO employee (employeeID,salary,position,hireDate, CREATED_DATE) "
+ "VALUES (41,135000,'Pharmacist','2019-09-12', '" + sqlDate + "')";
String insertSqlemployee12 = "INSERT INTO employee (employeeID,salary,position,hireDate, CREATED_DATE) "
+ "VALUES (42,160000,'Doctor','2016-09-12', '" + sqlDate + "')";
String insertSqlemployee13 = "INSERT INTO employee (employeeID,salary,position,hireDate, CREATED_DATE) "
+ "VALUES (43,136000,'Nurse','2018-09-12', '" + sqlDate + "')";
String insertSqlemployee14 = "INSERT INTO employee (employeeID,salary,position,hireDate, CREATED_DATE) "
+ "VALUES (44,110000,'Surgeon','2016-09-12', '" + sqlDate + "')";
String insertSqlemployee15 = "INSERT INTO employee (employeeID,salary,position,hireDate, CREATED_DATE) "
+ "VALUES (45,140000,'Specialist','2015-09-12', '" + sqlDate + "')";
String insertSqlmedhist1 = "INSERT INTO patientMedicalHistory (patientID,medications,allergies,"
+ "diseases,symptoms,familyHistory, CREATED_DATE) "
+ "VALUES (16,'Clindamycin', 'Latex Allergy','Asthma',"
+"'breathlessness, chest tightness','none','" + sqlDate + "')";
String insertSqlmedhist2 = "INSERT INTO patientMedicalHistory (patientID,medications,allergies,"
+ "diseases,symptoms,familyHistory, CREATED_DATE) "
+ "VALUES (17,'Ibuprofen', 'Food Allergy','Asthma',"
+"'breathlessness, chest tightness','none','" + sqlDate + "')";
String insertSqlmedhist3 = "INSERT INTO patientMedicalHistory (patientID,medications,allergies,"
+ "diseases,symptoms,familyHistory, CREATED_DATE) "
+ "VALUES (18,'Adderall', 'Mold Allergy','Asthma',"
+"'breathlessness, chest tightness','none','" + sqlDate + "')";
String insertSqlmedhist4 = "INSERT INTO patientMedicalHistory (patientID,medications,allergies,"
+ "diseases,symptoms,familyHistory, CREATED_DATE) "
+ "VALUES (19,'Amlodipine', 'Pet Allergy','none',"
+"'breathlessness, Muscle aches','none','" + sqlDate + "')";
String insertSqlmedhist5 = "INSERT INTO patientMedicalHistory (patientID,medications,allergies,"
+ "diseases,symptoms,familyHistory, CREATED_DATE) "
+ "VALUES (20,'Omeprazole', 'Pollen Allergy','Asthma',"
+"'Fever','none','" + sqlDate + "')";
String insertSqlmedhist6 = "INSERT INTO patientMedicalHistory (patientID,medications,allergies,"
+ "diseases,symptoms,familyHistory, CREATED_DATE) "
+ "VALUES (21,'Amoxicillin', 'Food Allergy','none',"
+"'breathlessness, chest tightness','none','" + sqlDate + "')";
String insertSqlmedhist7 = "INSERT INTO patientMedicalHistory (patientID,medications,allergies,"
+ "diseases,symptoms,familyHistory, CREATED_DATE) "
+ "VALUES (22,'Loratadine', 'Pollen Allergy','hemochromatosis',"
+"'breathlessness, chest tightness','none','" + sqlDate + "')";
String insertSqlmedhist8 = "INSERT INTO patientMedicalHistory (patientID,medications,allergies,"
+ "diseases,symptoms,familyHistory, CREATED_DATE) "
+ "VALUES (23,'Trazodone', 'Food Allergy','Asthma',"
+"'Coughing, chest tightness','none','" + sqlDate + "')";
String insertSqlmedhist9 = "INSERT INTO patientMedicalHistory (patientID,medications,allergies,"
+ "diseases,symptoms,familyHistory, CREATED_DATE) "
+ "VALUES (24,'Ozempic', 'Pet Allergy','Asthma',"
+"'breathlessness, chest tightness','none','" + sqlDate + "')";
String insertSqlmedhist10 = "INSERT INTO patientMedicalHistory (patientID,medications,allergies,"
+ "diseases,symptoms,familyHistory, CREATED_DATE) "
+ "VALUES (25,'Benzonatate', 'Drug Allergy','none',"
+"'breathlessness, Muscle aches','none','" + sqlDate + "')";
String insertSqlmedhist11 = "INSERT INTO patientMedicalHistory (patientID,medications,allergies,"
+ "diseases,symptoms,familyHistory, CREATED_DATE) "
+ "VALUES (26,'Kevzara', 'Insect Allergy','Asthma',"
+"'breathlessness, chest tightness','none','" + sqlDate + "')";
String insertSqlmedhist12 = "INSERT INTO patientMedicalHistory (patientID,medications,allergies,"
+ "diseases,symptoms,familyHistory, CREATED_DATE) "
+ "VALUES (27,'Lisinopril', 'Drug Allergy','none',"
+"'Coughing, chest tightness','none','" + sqlDate + "')";
String insertSqlmedhist13 = "INSERT INTO patientMedicalHistory (patientID,medications,allergies,"
+ "diseases,symptoms,familyHistory, CREATED_DATE) "
+ "VALUES (28,'Benzonatate', 'Drug Allergy','none',"
+"'chest tightness','none','" + sqlDate + "')";
String insertSqlmedhist14 = "INSERT INTO patientMedicalHistory (patientID,medications,allergies,"
+ "diseases,symptoms,familyHistory, CREATED_DATE) "
+ "VALUES (27,'Ozempic', 'none','none',"
+"'Coughing','none','" + sqlDate + "')";
String insertSqlmedhist15 = "INSERT INTO patientMedicalHistory (patientID,medications,allergies,"
+ "diseases,symptoms,familyHistory, CREATED_DATE) "
+ "VALUES (30,'Trazodone', 'Insect Allergy','none',"
+"'Coughing, chest tightness','none','" + sqlDate + "')";
String insertSqlorder1 = "INSERT INTO EmployeeOrdersPrescription (prescriptionID,employeeID, CREATED_DATE) "
+ "VALUES (16,31, '" + sqlDate + "')";
String insertSqlorder2 = "INSERT INTO EmployeeOrdersPrescription (prescriptionID,employeeID, CREATED_DATE) "
+ "VALUES (17,32, '" + sqlDate + "')";
String insertSqlorder3 = "INSERT INTO EmployeeOrdersPrescription (prescriptionID,employeeID, CREATED_DATE) "
+ "VALUES (18,33, '" + sqlDate + "')";
String insertSqlorder4 ="INSERT INTO EmployeeOrdersPrescription (prescriptionID,employeeID, CREATED_DATE) "
+ "VALUES (19,34, '" + sqlDate + "')";
String insertSqlorder5 = "INSERT INTO EmployeeOrdersPrescription (prescriptionID,employeeID, CREATED_DATE) "
+ "VALUES (20,35, '" + sqlDate + "')";
String insertSqlorder6 = "INSERT INTO EmployeeOrdersPrescription (prescriptionID,employeeID, CREATED_DATE) "
+ "VALUES (21,36, '" + sqlDate + "')";
String insertSqlorder7 = "INSERT INTO EmployeeOrdersPrescription (prescriptionID,employeeID, CREATED_DATE) "
+ "VALUES (22,37, '" + sqlDate + "')";
String insertSqlorder8 = "INSERT INTO EmployeeOrdersPrescription (prescriptionID,employeeID, CREATED_DATE) "
+ "VALUES (23,38, '" + sqlDate + "')";
String insertSqlorder9 = "INSERT INTO EmployeeOrdersPrescription (prescriptionID,employeeID, CREATED_DATE) "
+ "VALUES (24,39, '" + sqlDate + "')";
String insertSqlorder10 = "INSERT INTO EmployeeOrdersPrescription (prescriptionID,employeeID, CREATED_DATE) "
+ "VALUES (25,40, '" + sqlDate + "')";
String insertSqlorder11 = "INSERT INTO EmployeeOrdersPrescription (prescriptionID,employeeID, CREATED_DATE) "
+ "VALUES (26,41, '" + sqlDate + "')";
String insertSqlorder12 = "INSERT INTO EmployeeOrdersPrescription (prescriptionID,employeeID, CREATED_DATE) "
+ "VALUES (27,42, '" + sqlDate + "')";
String insertSqlorder13 = "INSERT INTO EmployeeOrdersPrescription (prescriptionID,employeeID, CREATED_DATE) "
+ "VALUES (28,43, '" + sqlDate + "')";
String insertSqlorder14 = "INSERT INTO EmployeeOrdersPrescription (prescriptionID,employeeID, CREATED_DATE) "
+ "VALUES (29,44, '" + sqlDate + "')";
String insertSqlorder15 = "INSERT INTO EmployeeOrdersPrescription (prescriptionID,employeeID, CREATED_DATE) "
+ "VALUES (30,45, '" + sqlDate + "')";
String insertSqlcreateapp1 = "INSERT INTO EmployeeCreatesAppointment (appointmentID,employeeID, CREATED_DATE) "
+ "VALUES (16,31, '" + sqlDate + "')";
String insertSqlcreateapp2 = "INSERT INTO EmployeeCreatesAppointment (appointmentID,employeeID, CREATED_DATE) "
+ "VALUES (17,32, '" + sqlDate + "')";
String insertSqlcreateapp3 = "INSERT INTO EmployeeCreatesAppointment (appointmentID,employeeID, CREATED_DATE) "
+ "VALUES (18,33, '" + sqlDate + "')";
String insertSqlcreateapp4 ="INSERT INTO EmployeeCreatesAppointment (appointmentID,employeeID, CREATED_DATE) "
+ "VALUES (19,34, '" + sqlDate + "')";
String insertSqlcreateapp5 = "INSERT INTO EmployeeCreatesAppointment (appointmentID,employeeID, CREATED_DATE) "
+ "VALUES (20,35, '" + sqlDate + "')";
String insertSqlcreateapp6 = "INSERT INTO EmployeeCreatesAppointment (appointmentID,employeeID, CREATED_DATE) "
+ "VALUES (21,36, '" + sqlDate + "')";
String insertSqlcreateapp7 = "INSERT INTO EmployeeCreatesAppointment (appointmentID,employeeID, CREATED_DATE) "
+ "VALUES (22,37, '" + sqlDate + "')";
String insertSqlcreateapp8 = "INSERT INTO EmployeeCreatesAppointment (appointmentID,employeeID, CREATED_DATE) "
+ "VALUES (23,38, '" + sqlDate + "')";
String insertSqlcreateapp9 = "INSERT INTO EmployeeCreatesAppointment (appointmentID,employeeID, CREATED_DATE) "
+ "VALUES (24,39, '" + sqlDate + "')";
String insertSqlcreateapp10 = "INSERT INTO EmployeeCreatesAppointment (appointmentID,employeeID, CREATED_DATE) "
+ "VALUES (25,40, '" + sqlDate + "')";
String insertSqlcreateapp11 = "INSERT INTO EmployeeCreatesAppointment (appointmentID,employeeID, CREATED_DATE) "
+ "VALUES (26,41, '" + sqlDate + "')";
String insertSqlcreateapp12 = "INSERT INTO EmployeeCreatesAppointment (appointmentID,employeeID, CREATED_DATE) "
+ "VALUES (27,42, '" + sqlDate + "')";
String insertSqlcreateapp13 = "INSERT INTO EmployeeCreatesAppointment (appointmentID,employeeID, CREATED_DATE) "
+ "VALUES (28,43, '" + sqlDate + "')";
String insertSqlcreateapp14 = "INSERT INTO EmployeeCreatesAppointment (appointmentID,employeeID, CREATED_DATE) "
+ "VALUES (29,44, '" + sqlDate + "')";
String insertSqlcreateapp15 = "INSERT INTO EmployeeCreatesAppointment (appointmentID,employeeID, CREATED_DATE) "
+ "VALUES (30,45, '" + sqlDate + "')";
String insertSqlpatientapp1 = "INSERT INTO PatientHasAppointment (patientID,appointmentID, CREATED_DATE) "
+ "VALUES (16,16, '" + sqlDate + "')";
String insertSqlpatientapp2 = "INSERT INTO PatientHasAppointment (patientID,appointmentID, CREATED_DATE) "
+ "VALUES (17,17, '" + sqlDate + "')";
String insertSqlpatientapp3 = "INSERT INTO PatientHasAppointment (patientID,appointmentID, CREATED_DATE) "
+ "VALUES (18,18, '" + sqlDate + "')";
String insertSqlpatientapp4 ="INSERT INTO PatientHasAppointment (patientID,appointmentID, CREATED_DATE) "
+ "VALUES (19,19, '" + sqlDate + "')";
String insertSqlpatientapp5 = "INSERT INTO PatientHasAppointment (patientID,appointmentID, CREATED_DATE) "
+ "VALUES (20,20, '" + sqlDate + "')";
String insertSqlpatientapp6 = "INSERT INTO PatientHasAppointment (patientID,appointmentID, CREATED_DATE) "
+ "VALUES (21,21, '" + sqlDate + "')";
String insertSqlpatientapp7 = "INSERT INTO PatientHasAppointment (patientID,appointmentID, CREATED_DATE) "
+ "VALUES (22,22, '" + sqlDate + "')";
String insertSqlpatientapp8 = "INSERT INTO PatientHasAppointment (patientID,appointmentID, CREATED_DATE) "
+ "VALUES (23,23, '" + sqlDate + "')";
String insertSqlpatientapp9 = "INSERT INTO PatientHasAppointment (patientID,appointmentID, CREATED_DATE) "
+ "VALUES (24,24, '" + sqlDate + "')";
String insertSqlpatientapp10 = "INSERT INTO PatientHasAppointment (patientID,appointmentID, CREATED_DATE) "
+ "VALUES (25,25, '" + sqlDate + "')";
String insertSqlpatientapp11 = "INSERT INTO PatientHasAppointment (patientID,appointmentID, CREATED_DATE) "
+ "VALUES (26,26, '" + sqlDate + "')";
String insertSqlpatientapp12 = "INSERT INTO PatientHasAppointment (patientID,appointmentID, CREATED_DATE) "
+ "VALUES (27,27, '" + sqlDate + "')";
String insertSqlpatientapp13 = "INSERT INTO PatientHasAppointment (patientID,appointmentID, CREATED_DATE) "
+ "VALUES (28,28, '" + sqlDate + "')";
String insertSqlpatientapp14 = "INSERT INTO PatientHasAppointment (patientID,appointmentID, CREATED_DATE) "
+ "VALUES (29,29, '" + sqlDate + "')";
String insertSqlpatientapp15 = "INSERT INTO PatientHasAppointment (patientID,appointmentID, CREATED_DATE) "
+ "VALUES (30,30, '" + sqlDate + "')";
String insertSqlemppat1 = "INSERT INTO employeeHasPatient (patientID,employeeID, CREATED_DATE) "
+ "VALUES (16,31, '" + sqlDate + "')";
String insertSqlemppat2 = "INSERT INTO employeeHasPatient (patientID,employeeID, CREATED_DATE) "
+ "VALUES (17,32, '" + sqlDate + "')";
String insertSqlemppat3 = "INSERT INTO employeeHasPatient (patientID,employeeID, CREATED_DATE) "
+ "VALUES (18,33, '" + sqlDate + "')";
String insertSqlemppat4 ="INSERT INTO employeeHasPatient (patientID,employeeID, CREATED_DATE) "
+ "VALUES (19,34, '" + sqlDate + "')";
String insertSqlemppat5 = "INSERT INTO employeeHasPatient (patientID,employeeID, CREATED_DATE) "
+ "VALUES (20,35, '" + sqlDate + "')";
String insertSqlemppat6 = "INSERT INTO employeeHasPatient (patientID,employeeID, CREATED_DATE) "
+ "VALUES (21,36,'" + sqlDate + "')";
String insertSqlemppat7 = "INSERT INTO employeeHasPatient (patientID,employeeID, CREATED_DATE) "
+ "VALUES (22,37, '" + sqlDate + "')";
String insertSqlemppat8 = "INSERT INTO employeeHasPatient (patientID,employeeID, CREATED_DATE) "
+ "VALUES (23,38, '" + sqlDate + "')";
String insertSqlemppat9 = "INSERT INTO employeeHasPatient (patientID,employeeID, CREATED_DATE) "
+ "VALUES (24,39, '" + sqlDate + "')";
String insertSqlemppat10 = "INSERT INTO employeeHasPatient (patientID,employeeID, CREATED_DATE) "
+ "VALUES (25,40, '" + sqlDate + "')";
String insertSqlemppat11 = "INSERT INTO employeeHasPatient (patientID,employeeID, CREATED_DATE) "
+ "VALUES (26,41, '" + sqlDate + "')";
String insertSqlemppat12 = "INSERT INTO employeeHasPatient (patientID,employeeID, CREATED_DATE) "
+ "VALUES (27,42, '" + sqlDate + "')";
String insertSqlemppat13 = "INSERT INTO employeeHasPatient (patientID,employeeID, CREATED_DATE) "
+ "VALUES (28,43, '" + sqlDate + "')";
String insertSqlemppat14 = "INSERT INTO employeeHasPatient (patientID,employeeID, CREATED_DATE) "
+ "VALUES (29,44, '" + sqlDate + "')";
String insertSqlemppat15 = "INSERT INTO employeeHasPatient (patientID,employeeID, CREATED_DATE) "
+ "VALUES (30,45, '" + sqlDate + "')";
String insertSqlpatnote1 = "INSERT INTO patientHasNote (patientID,noteID, CREATED_DATE) "
+ "VALUES (16,16, '" + sqlDate + "')";
String insertSqlpatnote2 = "INSERT INTO patientHasNote (patientID,noteID, CREATED_DATE) "
+ "VALUES (17,17, '" + sqlDate + "')";
String insertSqlpatnote3 = "INSERT INTO patientHasNote (patientID,noteID, CREATED_DATE) "
+ "VALUES (18,18, '" + sqlDate + "')";
String insertSqlpatnote4 ="INSERT INTO patientHasNote (patientID,noteID, CREATED_DATE) "
+ "VALUES (19,19, '" + sqlDate + "')";
String insertSqlpatnote5 = "INSERT INTO patientHasNote (patientID,noteID, CREATED_DATE) "
+ "VALUES (20,20, '" + sqlDate + "')";
String insertSqlpatnote6 = "INSERT INTO patientHasNote (patientID,noteID, CREATED_DATE) "
+ "VALUES (21,21, '" + sqlDate + "')";
String insertSqlpatnote7 = "INSERT INTO patientHasNote (patientID,noteID, CREATED_DATE) "
+ "VALUES (22,22, '" + sqlDate + "')";
String insertSqlpatnote8 = "INSERT INTO patientHasNote (patientID,noteID, CREATED_DATE) "
+ "VALUES (23,23, '" + sqlDate + "')";
String insertSqlpatnote9 = "INSERT INTO patientHasNote (patientID,noteID, CREATED_DATE) "
+ "VALUES (24,24, '" + sqlDate + "')";
String insertSqlpatnote10 = "INSERT INTO patientHasNote (patientID,noteID, CREATED_DATE) "
+ "VALUES (25,25, '" + sqlDate + "')";
String insertSqlpatnote11 = "INSERT INTO patientHasNote (patientID,noteID, CREATED_DATE) "
+ "VALUES (26,26, '" + sqlDate + "')";
String insertSqlpatnote12 = "INSERT INTO patientHasNote (patientID,noteID, CREATED_DATE) "
+ "VALUES (27,27, '" + sqlDate + "')";
String insertSqlpatnote13 = "INSERT INTO patientHasNote (patientID,noteID, CREATED_DATE) "
+ "VALUES (28,28, '" + sqlDate + "')";
String insertSqlpatnote14 = "INSERT INTO patientHasNote (patientID,noteID, CREATED_DATE) "
+ "VALUES (29,29, '" + sqlDate + "')";
String insertSqlpatnote15 = "INSERT INTO patientHasNote (patientID,noteID, CREATED_DATE) "
+ "VALUES (30,30, '" + sqlDate + "')";
String insertSqlempnote1 = "INSERT INTO employeeWritesNote (employeeID,noteID, CREATED_DATE) "
+ "VALUES (31,16, '" + sqlDate + "')";
String insertSqlempnote2 = "INSERT INTO employeeWritesNote (employeeID,noteID, CREATED_DATE) "
+ "VALUES (32,17, '" + sqlDate + "')";
String insertSqlempnote3 = "INSERT INTO employeeWritesNote (employeeID,noteID, CREATED_DATE) "
+ "VALUES (33,18, '" + sqlDate + "')";
String insertSqlempnote4 ="INSERT INTO employeeWritesNote (employeeID,noteID, CREATED_DATE) "
+ "VALUES (34,19, '" + sqlDate + "')";
String insertSqlempnote5 = "INSERT INTO employeeWritesNote (employeeID,noteID, CREATED_DATE) "
+ "VALUES (35,20, '" + sqlDate + "')";
String insertSqlempnote6 = "INSERT INTO employeeWritesNote (employeeID,noteID, CREATED_DATE) "
+ "VALUES (36,21, '" + sqlDate + "')";
String insertSqlempnote7 = "INSERT INTO employeeWritesNote (employeeID,noteID, CREATED_DATE) "
+ "VALUES (37,22, '" + sqlDate + "')";
String insertSqlempnote8 = "INSERT INTO employeeWritesNote (employeeID,noteID, CREATED_DATE) "
+ "VALUES (38,23, '" + sqlDate + "')";
String insertSqlempnote9 = "INSERT INTO employeeWritesNote (employeeID,noteID, CREATED_DATE) "
+ "VALUES (39,24, '" + sqlDate + "')";
String insertSqlempnote10 = "INSERT INTO employeeWritesNote (employeeID,noteID, CREATED_DATE) "
+ "VALUES (40,25, '" + sqlDate + "')";
String insertSqlempnote11 = "INSERT INTO employeeWritesNote (employeeID,noteID, CREATED_DATE) "
+ "VALUES (41,26, '" + sqlDate + "')";
String insertSqlempnote12 = "INSERT INTO employeeWritesNote (employeeID,noteID, CREATED_DATE) "
+ "VALUES (42,27, '" + sqlDate + "')";
String insertSqlempnote13 = "INSERT INTO employeeWritesNote (employeeID,noteID, CREATED_DATE) "
+ "VALUES (43,28, '" + sqlDate + "')";
String insertSqlempnote14 = "INSERT INTO employeeWritesNote (employeeID,noteID, CREATED_DATE) "
+ "VALUES (44,29, '" + sqlDate + "')";
String insertSqlempnote15 = "INSERT INTO employeeWritesNote (employeeID,noteID, CREATED_DATE) "
+ "VALUES (45,30, '" + sqlDate + "')";
String insertSqlpatpres1 = "INSERT INTO PatientHasPrescription (patientID,prescriptionID, CREATED_DATE) "
+ "VALUES (16,16, '" + sqlDate + "')";
String insertSqlpatpres2 = "INSERT INTO PatientHasPrescription (patientID,prescriptionID, CREATED_DATE) "
+ "VALUES (17,17, '" + sqlDate + "')";
String insertSqlpatpres3 = "INSERT INTO PatientHasPrescription (patientID,prescriptionID, CREATED_DATE) "
+ "VALUES (18,18, '" + sqlDate + "')";
String insertSqlpatpres4 ="INSERT INTO PatientHasPrescription (patientID,prescriptionID, CREATED_DATE) "
+ "VALUES (19,19, '" + sqlDate + "')";
String insertSqlpatpres5 = "INSERT INTO PatientHasPrescription (patientID,prescriptionID, CREATED_DATE) "
+ "VALUES (20,20, '" + sqlDate + "')";
String insertSqlpatpres6 = "INSERT INTO PatientHasPrescription (patientID,prescriptionID, CREATED_DATE) "
+ "VALUES (21,21, '" + sqlDate + "')";
String insertSqlpatpres7 = "INSERT INTO PatientHasPrescription (patientID,prescriptionID, CREATED_DATE) "
+ "VALUES (22,22, '" + sqlDate + "')";
String insertSqlpatpres8 = "INSERT INTO PatientHasPrescription (patientID,prescriptionID, CREATED_DATE) "
+ "VALUES (23,23, '" + sqlDate + "')";
String insertSqlpatpres9 = "INSERT INTO PatientHasPrescription (patientID,prescriptionID, CREATED_DATE) "
+ "VALUES (24,24, '" + sqlDate + "')";
String insertSqlpatpres10 = "INSERT INTO PatientHasPrescription (patientID,prescriptionID, CREATED_DATE) "
+ "VALUES (25,25, '" + sqlDate + "')";
String insertSqlpatpres11 = "INSERT INTO PatientHasPrescription (patientID,prescriptionID, CREATED_DATE) "
+ "VALUES (26,26, '" + sqlDate + "')";
String insertSqlpatpres12 = "INSERT INTO PatientHasPrescription (patientID,prescriptionID, CREATED_DATE) "
+ "VALUES (27,27, '" + sqlDate + "')";
String insertSqlpatpres13 = "INSERT INTO PatientHasPrescription (patientID,prescriptionID, CREATED_DATE) "
+ "VALUES (28,28, '" + sqlDate + "')";
String insertSqlpatpres14 = "INSERT INTO PatientHasPrescription (patientID,prescriptionID, CREATED_DATE) "
+ "VALUES (29,29, '" + sqlDate + "')";
String insertSqlpatpres15 = "INSERT INTO PatientHasPrescription (patientID,prescriptionID, CREATED_DATE) "
+ "VALUES (30,30, '" + sqlDate + "')";
String insertSqlappointment1 = "INSERT INTO appointment (start_time,end_time,date,CREATED_DATE) "
+ "VALUES ('2:00','2:30', '2020-08-15','" + sqlDate + "')";
String insertSqlappointment2 = "INSERT INTO appointment (start_time,end_time,date,CREATED_DATE) "
+ "VALUES ('3:00', '3:30', '2020-08-21','" + sqlDate + "')";
String insertSqlappointment3 = "INSERT INTO appointment (start_time,end_time,date,CREATED_DATE) "
+ "VALUES ( '4:00', '4:30','2020-08-14', '" + sqlDate + "')";
String insertSqlappointment4 ="INSERT INTO appointment (start_time,end_time,date,CREATED_DATE) "
+ "VALUES ('4:30', '5:00', '2020-09-18', '" + sqlDate + "')";
String insertSqlappointment5 ="INSERT INTO appointment (start_time,end_time,date,CREATED_DATE) "
+ "VALUES ('1:00', '1:30', '2020-09-21', '" + sqlDate + "')";
String insertSqlappointment6 ="INSERT INTO appointment (start_time,end_time,date,CREATED_DATE) "
+ "VALUES ('1:15', '1:45', '2020-09-5', '" + sqlDate + "')";
String insertSqlappointment7 = "INSERT INTO appointment (start_time,end_time,date,CREATED_DATE) "
+ "VALUES ('1:40', '2:00', '2020-10-7', '" + sqlDate + "')";
String insertSqlappointment8 = "INSERT INTO appointment (start_time,end_time,date,CREATED_DATE) "
+ "VALUES ('10:00', '10:30', '2020-10-8', '" + sqlDate + "')";
String insertSqlappointment9 = "INSERT INTO appointment (start_time,end_time,date,CREATED_DATE) "
+ "VALUES ('8:45', '9:20', '2020-10-17', '" + sqlDate + "')";
String insertSqlappointment10 = "INSERT INTO appointment (start_time,end_time,date,CREATED_DATE) "
+ "VALUES ('11:00', '11:45', '2020-11-16', '" + sqlDate + "')";
String insertSqlappointment11 = "INSERT INTO appointment (start_time,end_time,date,CREATED_DATE) "
+ "VALUES ('10:00', '10:30', '2020-11-12', '" + sqlDate + "')";
String insertSqlappointment12 = "INSERT INTO appointment (start_time,end_time,date,CREATED_DATE) "
+ "VALUES ('11:00', '11:30', '2020-11-12', '" + sqlDate + "')";
String insertSqlappointment13 = "INSERT INTO appointment (start_time,end_time,date,CREATED_DATE) "
+ "VALUES ( '11:30', '12:00', '2020-11-12','" + sqlDate + "')";
String insertSqlappointment14 = "INSERT INTO appointment (start_time,end_time,date,CREATED_DATE) "
+ "VALUES ('12:00', '12:30', '2020-11-12', '" + sqlDate + "')";
String insertSqlappointment15 = "INSERT INTO appointment (start_time,end_time,date,CREATED_DATE) "
+ "VALUES ('12:30','1:00','2020-11-12', '" + sqlDate + "')";
Statement statement = connection.createStatement();
statement.execute(insertSqluser1);
statement.execute(insertSqluser2);
statement.execute(insertSqluser3);
statement.execute(insertSqluser4);
statement.execute(insertSqluser5);
statement.execute(insertSqluser6);
statement.execute(insertSqluser7);
statement.execute(insertSqluser8);
statement.execute(insertSqluser9);
statement.execute(insertSqluser10);
statement.execute(insertSqluser11);
statement.execute(insertSqluser12);
statement.execute(insertSqluser13);
statement.execute(insertSqluser14);
statement.execute(insertSqluser15);
statement.execute(insertSqluser16);
statement.execute(insertSqluser17);
statement.execute(insertSqluser18);
statement.execute(insertSqluser19);
statement.execute(insertSqluser20);
statement.execute(insertSqluser21);
statement.execute(insertSqluser22);
statement.execute(insertSqluser23);
statement.execute(insertSqluser24);
statement.execute(insertSqluser25);
statement.execute(insertSqluser26);
statement.execute(insertSqluser27);
statement.execute(insertSqluser28);
statement.execute(insertSqluser29);
statement.execute(insertSqluser30);
statement.execute(insertSqlprescription1);
statement.execute(insertSqlprescription2);
statement.execute(insertSqlprescription3);
statement.execute(insertSqlprescription4);
statement.execute(insertSqlprescription5);
statement.execute(insertSqlprescription6);
statement.execute(insertSqlprescription7);
statement.execute(insertSqlprescription8);
statement.execute(insertSqlprescription9);
statement.execute(insertSqlprescription10);
statement.execute(insertSqlprescription11);
statement.execute(insertSqlprescription12);
statement.execute(insertSqlprescription13);
statement.execute(insertSqlprescription14);
statement.execute(insertSqlprescription15);
statement.execute(insertSqlnote1);
statement.execute(insertSqlnote2);
statement.execute(insertSqlnote3);
statement.execute(insertSqlnote4);
statement.execute(insertSqlnote5);
statement.execute(insertSqlnote6);
statement.execute(insertSqlnote7);
statement.execute(insertSqlnote8);
statement.execute(insertSqlnote9);
statement.execute(insertSqlnote10);
statement.execute(insertSqlnote11);
statement.execute(insertSqlnote12);
statement.execute(insertSqlnote13);
statement.execute(insertSqlnote14);
statement.execute(insertSqlnote15);
statement.execute(insertSqlpatient1);
statement.execute(insertSqlpatient2);
statement.execute(insertSqlpatient3);
statement.execute(insertSqlpatient4);
statement.execute(insertSqlpatient5);
statement.execute(insertSqlpatient6);
statement.execute(insertSqlpatient7);
statement.execute(insertSqlpatient8);
statement.execute(insertSqlpatient9);
statement.execute(insertSqlpatient10);
statement.execute(insertSqlpatient11);
statement.execute(insertSqlpatient12);
statement.execute(insertSqlpatient13);
statement.execute(insertSqlpatient14);
statement.execute(insertSqlpatient15);
statement.execute(insertSqlemployee1);
statement.execute(insertSqlemployee2);
statement.execute(insertSqlemployee3);
statement.execute(insertSqlemployee4);
statement.execute(insertSqlemployee5);
statement.execute(insertSqlemployee6);
statement.execute(insertSqlemployee7);
statement.execute(insertSqlemployee8);
statement.execute(insertSqlemployee9);
statement.execute(insertSqlemployee10);
statement.execute(insertSqlemployee11);
statement.execute(insertSqlemployee12);
statement.execute(insertSqlemployee13);
statement.execute(insertSqlemployee14);
statement.execute(insertSqlemployee15);
statement.execute(insertSqlappointment1);
statement.execute(insertSqlappointment2);
statement.execute(insertSqlappointment3);
statement.execute(insertSqlappointment4);
statement.execute(insertSqlappointment5);
statement.execute(insertSqlappointment6);
statement.execute(insertSqlappointment7);
statement.execute(insertSqlappointment8);
statement.execute(insertSqlappointment9);
statement.execute(insertSqlappointment10);
statement.execute(insertSqlappointment11);
statement.execute(insertSqlappointment12);
statement.execute(insertSqlappointment13);
statement.execute(insertSqlappointment14);
statement.execute(insertSqlappointment15);
statement.execute(insertSqlmedhist1);
statement.execute(insertSqlmedhist2);
statement.execute(insertSqlmedhist3);
statement.execute(insertSqlmedhist4);
statement.execute(insertSqlmedhist5);
statement.execute(insertSqlmedhist6);
statement.execute(insertSqlmedhist7);
statement.execute(insertSqlmedhist8);
statement.execute(insertSqlmedhist9);
statement.execute(insertSqlmedhist10);
statement.execute(insertSqlmedhist11);
statement.execute(insertSqlmedhist12);
statement.execute(insertSqlmedhist13);
statement.execute(insertSqlmedhist14);
statement.execute(insertSqlmedhist15);
statement.execute(insertSqlorder1);
statement.execute(insertSqlorder2);
statement.execute(insertSqlorder3);
statement.execute(insertSqlorder4);
statement.execute(insertSqlorder5);
statement.execute(insertSqlorder6);
statement.execute(insertSqlorder7);
statement.execute(insertSqlorder8);
statement.execute(insertSqlorder9);
statement.execute(insertSqlorder10);
statement.execute(insertSqlorder11);
statement.execute(insertSqlorder12);
statement.execute(insertSqlorder13);
statement.execute(insertSqlorder14);
statement.execute(insertSqlorder15);
statement.execute(insertSqlcreateapp1);
statement.execute(insertSqlcreateapp2);
statement.execute(insertSqlcreateapp3);
statement.execute(insertSqlcreateapp4);
statement.execute(insertSqlcreateapp5);
statement.execute(insertSqlcreateapp6);
statement.execute(insertSqlcreateapp7);
statement.execute(insertSqlcreateapp8);
statement.execute(insertSqlcreateapp9);
statement.execute(insertSqlcreateapp10);
statement.execute(insertSqlcreateapp11);
statement.execute(insertSqlcreateapp12);
statement.execute(insertSqlcreateapp13);
statement.execute(insertSqlcreateapp14);
statement.execute(insertSqlcreateapp15);
statement.execute(insertSqlpatientapp1);
statement.execute(insertSqlpatientapp2);
statement.execute(insertSqlpatientapp3);
statement.execute(insertSqlpatientapp4);
statement.execute(insertSqlpatientapp5);
statement.execute(insertSqlpatientapp6);
statement.execute(insertSqlpatientapp7);
statement.execute(insertSqlpatientapp8);
statement.execute(insertSqlpatientapp9);
statement.execute(insertSqlpatientapp10);
statement.execute(insertSqlpatientapp11);
statement.execute(insertSqlpatientapp12);
statement.execute(insertSqlpatientapp13);
statement.execute(insertSqlpatientapp14);
statement.execute(insertSqlpatientapp15);
statement.execute(insertSqlemppat1);
statement.execute(insertSqlemppat2);
statement.execute(insertSqlemppat3);
statement.execute(insertSqlemppat4);
statement.execute(insertSqlemppat5);
statement.execute(insertSqlemppat6);
statement.execute(insertSqlemppat7);
statement.execute(insertSqlemppat8);
statement.execute(insertSqlemppat9);
statement.execute(insertSqlemppat10);
statement.execute(insertSqlemppat11);
statement.execute(insertSqlemppat12);
statement.execute(insertSqlemppat13);
statement.execute(insertSqlemppat14);
statement.execute(insertSqlemppat15);
statement.execute(insertSqlpatnote1);
statement.execute(insertSqlpatnote2);
statement.execute(insertSqlpatnote3);
statement.execute(insertSqlpatnote4);
statement.execute(insertSqlpatnote5);
statement.execute(insertSqlpatnote6);
statement.execute(insertSqlpatnote7);
statement.execute(insertSqlpatnote8);
statement.execute(insertSqlpatnote9);
statement.execute(insertSqlpatnote10);
statement.execute(insertSqlpatnote11);
statement.execute(insertSqlpatnote12);
statement.execute(insertSqlpatnote13);
statement.execute(insertSqlpatnote14);
statement.execute(insertSqlpatnote15);
statement.execute(insertSqlempnote1);
statement.execute(insertSqlempnote2);
statement.execute(insertSqlempnote3);
statement.execute(insertSqlempnote4);
statement.execute(insertSqlempnote5);
statement.execute(insertSqlempnote6);
statement.execute(insertSqlempnote7);
statement.execute(insertSqlempnote8);
statement.execute(insertSqlempnote9);
statement.execute(insertSqlempnote10);
statement.execute(insertSqlempnote11);
statement.execute(insertSqlempnote12);
statement.execute(insertSqlempnote13);
statement.execute(insertSqlempnote14);
statement.execute(insertSqlempnote15);
statement.execute(insertSqlpatpres1);
statement.execute(insertSqlpatpres2);
statement.execute(insertSqlpatpres3);
statement.execute(insertSqlpatpres4);
statement.execute(insertSqlpatpres5);
statement.execute(insertSqlpatpres6);
statement.execute(insertSqlpatpres7);
statement.execute(insertSqlpatpres8);
statement.execute(insertSqlpatpres9);
statement.execute(insertSqlpatpres10);
statement.execute(insertSqlpatpres11);
statement.execute(insertSqlpatpres12);
statement.execute(insertSqlpatpres13);
statement.execute(insertSqlpatpres14);
statement.execute(insertSqlpatpres15);
statement.close();
connection.close();
}catch(Exception ex){
out.println("Unable to connect to database."+ ex.getMessage());
}
%>
</body>
</html>