-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHospitalManagement.java
787 lines (732 loc) · 39.4 KB
/
HospitalManagement.java
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
import java.io.*;
import java.util.*;
import java.util.Calendar;
class doctor
{
String did, dname, specilist, appoint, doc_qual;
int droom;
void new_doctor()
{
Scanner input = new Scanner(System.in);
System.out.print("id:-");
did = input.nextLine();
System.out.print("name:-");
dname = input.nextLine();
System.out.print("specilization:-");
specilist = input.nextLine();
System.out.print("work time:-");
appoint = input.nextLine();
System.out.print("qualification:-");
doc_qual = input.nextLine();
System.out.print("room no.:-");
droom = input.nextInt();
}
void doctor_info()
{
System.out.println(did + "\t" + dname + " \t" + specilist + " \t" + appoint + " \t" + doc_qual + " \t" + droom);
}
}
class patient
{
String pid, pname, disease, sex, admit_status;
int age;
void new_patient()
{
Scanner input = new Scanner(System.in);
System.out.print("id:-");
pid = input.nextLine();
System.out.print("name:-");
pname = input.nextLine();
System.out.print("disease:-");
disease = input.nextLine();
System.out.print("sex:-");
sex = input.nextLine();
System.out.print("admit_status:-");
admit_status = input.nextLine();
System.out.print("age:-");
age = input.nextInt();
}
void patient_info()
{
System.out.println(pid + "\t" + pname + " \t" + disease + " \t" + sex + " \t" + admit_status + "\t" + age);
}
}
class medical
{
String med_name, med_comp, exp_date;
int med_cost, count;
void new_medi()
{
Scanner input = new Scanner(System.in);
System.out.print("name:-");
med_name = input.nextLine();
System.out.print("comp:-");
med_comp = input.nextLine();
System.out.print("exp_date:-");
exp_date = input.nextLine();
System.out.print("cost:-");
med_cost = input.nextInt();
System.out.print("no of unit:-");
count = input.nextInt();
}
void find_medi()
{
System.out.println(med_name + " \t" + med_comp + " \t" + exp_date + " \t" + med_cost);
}
}
class lab
{
String fecility;
int lab_cost;
void new_feci()
{
Scanner input = new Scanner(System.in);
System.out.print("fecility:-");
fecility = input.nextLine();
System.out.print("cost:-");
lab_cost = input.nextInt();
}
void feci_list()
{
System.out.println(fecility + "\t\t" + lab_cost);
}
}
class fecility //Sorry Facility but do not change the name
{
String fec_name;
void add_feci()
{
Scanner input = new Scanner(System.in);
System.out.print("fecility:-");
fec_name = input.nextLine();
}
void show_feci()
{
System.out.println(fec_name);
}
}
class staff
{
String sid, sname, desg, sex;
int salary;
void new_staff()
{
Scanner input = new Scanner(System.in);
System.out.print("id:-");
sid = input.nextLine();
System.out.print("name:-");
sname = input.nextLine();
System.out.print("desigination:-");
desg = input.nextLine();
System.out.print("sex:-");
sex = input.nextLine();
System.out.print("salary:-");
salary = input.nextInt();
}
void staff_info()
{
System.out.println(sid + "\t" + sname + "\t" + sex + "\t" + salary);
}
}
// class Receptionist implements patient,doctor{
// void reception(){
// }
// }
// class Admin implements doctor,facilities,staff{
// void admin(){
// System.out.println(" ");
// }
// }
public class HospitalManagement
{
static String user = "user";
static int pass = 1234;
public static void main(String args[])
{
String months[] = {
"Jan",
"Feb",
"Mar",
"Apr",
"May",
"Jun",
"Jul",
"Aug",
"Sep",
"Oct",
"Nov",
"Dec"
};
Calendar calendar = Calendar.getInstance();
//System.out.println("--------------------------------------------------------------------------------");
int count1 = 4, count2 = 4,dcount2=count2, count3 = 4, count4 = 4, count5 = 4, count6 = 4;
System.out.println("\n--------------------------------------------------------------------------------");
System.out.println(" *** Welcome to Java Hospital ***");
System.out.println("--------------------------------------------------------------------------------");
System.out.print("Date: " + months[calendar.get(Calendar.MONTH)] + " " + calendar.get(Calendar.DATE) + " " + calendar.get(Calendar.YEAR));
System.out.println("\t\t\t\t\t\tTime: " + calendar.get(Calendar.HOUR) + ":" + calendar.get(Calendar.MINUTE) + ":" + calendar.get(Calendar.SECOND));
doctor[] d = new doctor[25];
patient[] p = new patient[100];
lab[] l = new lab[20];
fecility[] f = new fecility[20];
medical[] m = new medical[100];
staff[] s = new staff[100];
int i;
for (i = 0; i < 25; i++)
d[i] = new doctor();
for (i = 0; i < 100; i++)
p[i] = new patient();
for (i = 0; i < 20; i++)
l[i] = new lab();
for (i = 0; i < 20; i++)
f[i] = new fecility();
for (i = 0; i < 100; i++)
m[i] = new medical();
for (i = 0; i < 100; i++)
s[i] = new staff();
d[0].did = "21";
d[0].dname = "Dr.Snigdha";
d[0].specilist = "ENT";
d[0].appoint = "5-11AM";
d[0].doc_qual = "MBBS,MD";
d[0].droom = 17;
d[1].did = "32";
d[1].dname = "Dr.Mourina";
d[1].specilist = "Physician";
d[1].appoint = "10-3AM";
d[1].doc_qual = "MBBS,MD";
d[1].droom = 45;
d[2].did = "17";
d[2].dname = "Dr.Rekha";
d[2].specilist = "Surgeon";
d[2].appoint = "8-2AM";
d[2].doc_qual = "BDM";
d[2].droom = 8;
d[3].did = "33";
d[3].dname = "Dr.Kaji Nazrul";
d[3].specilist = "Artho";
d[3].appoint = "10-4PM";
d[3].doc_qual = "MBBS,MS";
d[3].droom = 40;
p[0].pid = "12";
p[0].pname = "Piyas";
p[0].disease = "Cancer";
p[0].sex = "Male";
p[0].admit_status = "y";
p[0].age = 30;
p[1].pid = "13";
p[1].pname = "Paavel";
p[1].disease = "Cold";
p[1].sex = "Male";
p[1].admit_status = "y";
p[1].age = 23;
p[2].pid = "14";
p[2].pname = "Roni";
p[2].disease = "Maleriya";
p[2].sex = "Male";
p[2].admit_status = "y";
p[2].age = 45;
p[3].pid = "15";
p[3].pname = "Rina";
p[3].disease = "Diabetes";
p[3].sex = "Male";
p[3].admit_status = "y";
p[3].age = 25;
m[0].med_name = "Seclo";
m[0].med_comp = "Beximco";
m[0].exp_date = "9-5-25";
m[0].med_cost = 55;
m[0].count = 8;
m[1].med_name = "Bislol max-25";
m[1].med_comp = "Ace LTD";
m[1].exp_date = "4-4-25";
m[1].med_cost = 500;
m[1].count = 5;
m[2].med_name = "Angiloc +25";
m[2].med_comp = "Squre";
m[2].exp_date = "12-7-27";
m[2].med_cost = 50;
m[2].count = 56;
m[3].med_name = "Napa Extra";
m[3].med_comp = "Beximco";
m[3].exp_date = "12-4-25";
m[3].med_cost = 1100;
m[3].count = 100;
l[0].fecility = "X-ray ";
l[0].lab_cost = 800;
l[1].fecility = "CT Scan ";
l[1].lab_cost = 1200;
l[2].fecility = "OR Scan ";
l[2].lab_cost = 500;
l[3].fecility = "Blood Bank";
l[3].lab_cost = 50;
f[0].fec_name = "Ambulance";
f[1].fec_name = "Admit Facility ";
f[2].fec_name = "Canteen";
f[3].fec_name = "Emergency";
s[0].sid = "22";
s[0].sname = "Polash";
s[0].desg = "Worker";
s[0].sex = "Male";
s[0].salary = 5000;
s[1].sid = "23";
s[1].sname = "Tomal";
s[1].desg = "Nurse";
s[1].sex = "Female";
s[1].salary = 2000;
s[2].sid = "24";
s[2].sname = "Raju";
s[2].desg = "Worker";
s[2].sex = "Male";
s[2].salary = 5000;
s[3].sid = "25";
s[3].sname = "Rima";
s[3].desg = "Nurse";
s[3].sex = "Female";
s[3].salary = 20000;
Scanner input = new Scanner(System.in);
int choice, j, c1, status = 1, s1 = 1, s2 = 1, s3 = 1, s4 = 1, s5 = 1, s6 = 1;
while (status == 1)
{
System.out.println("\n MAIN MENU");
System.out.println("-----------------------------------------------------------------------------------");
System.out.println("111.Admin 222.Reception 333.Doctos 444. Staff 555.Medicines 666.Public View ");
System.out.println("-----------------------------------------------------------------------------------");
System.out.print("Login As : ");
choice = input.nextInt();
switch (choice)
{
case 111://addmin login **************************************************************
System.out.print(" Enter User Name : ");
Scanner sn = new Scanner(System.in);
String ulog = sn.nextLine();
System.out.print(" Enter Password : ");
int plog = sn.nextInt();
if(user==ulog||pass==plog){//start admit main
System.out.println("--------------------------------------------------------------------------------");
System.out.println(" **ADMIN SECTION**");
System.out.println("--------------------------------------------------------------------------------");
s1 = 1;
while (s1 == 1)
{
System.out.println("1.Doctor Faculty\n2.Staff Faculty\n3.Laboretory\n4.Facility\n5.Accountant");
c1 = input.nextInt();
switch (c1)
{
case 1://here doctor
{
s1 = 1;
while (s1 == 1)
{
System.out.println("1.Add New Doctor\n2. Doctors List");
c1 = input.nextInt();
switch (c1)
{
case 1://add doctor
{
d[count1].new_doctor();count1++;
break;
}
case 2:// doctor view
{
System.out.println("--------------------------------------------------------------------------------");
System.out.println("id \t Name\t Specilist \t Timing \t Qualification \t Room No.");
System.out.println("--------------------------------------------------------------------------------");
for (j = 0; j < count1; j++)
{
d[j].doctor_info();
}
break;
}
}
System.out.println("\nReturn to Back Press 1 and for Main Menu Press 0");
s1 = input.nextInt();
}
break;// here colose doctor faculty
}
case 2://Staffffffffffffffffffffffffffff
{//Start staff facality
String a = "nurse", b = "worker", c = "security";
System.out.println("1.Add New Entry \n2. Nurses List\n3. Workers List \n4. Security List");
c1 = input.nextInt();
switch (c1)
{
case 1:// add new Staf
{
s[count6].new_staff();count6++;
break;
}
case 2:// view Nurse
{
System.out.println("--------------------------------------------------------------------------------");
System.out.println("id \t Name \t Gender \t Salary");
System.out.println("--------------------------------------------------------------------------------");
for (j = 0; j < count6; j++)
{
if (a.equals(s[j].desg)){
s[j].staff_info();
}
}
break;
}
case 3:// view worker
{
System.out.println("--------------------------------------------------------------------------------");
System.out.println("id \t Name \t Gender \t Salary");
System.out.println("--------------------------------------------------------------------------------");
for (j = 0; j < count6; j++)
{
if (b.equals(s[j].desg)){
s[j].staff_info();
}
}
break;
}
case 4: // view Security
{
System.out.println("--------------------------------------------------------------------------------");
System.out.println("id \t Name \t Gender \t Salary");
System.out.println("--------------------------------------------------------------------------------");
for (j = 0; j < count6; j++)
{
if (c.equals(s[j].desg)){
s[j].staff_info();
}
}
break;
}
}
System.out.println("\nReturn to Back Press 1 and for Main Menu Press 0");
s6 = input.nextInt();
break;// end staff
}/// end staff
case 3:// Start Laboratories
while (s4 == 1)
{
System.out.println("1.Add New Entry \n2.Existing Laboratories List");
c1 = input.nextInt();
switch (c1)
{
case 1:// add laboretory fetcher
{
l[count4].new_feci();count4++;
break;
}
case 2:// view laboretory fetcher
{
System.out.println("--------------------------------------------------------------------------------");
System.out.println("Fecilities\t\t Cost");
System.out.println("--------------------------------------------------------------------------------");
for (j = 0; j < count4; j++) {
l[j].feci_list();
}
break;
}
}
System.out.println("\nReturn to Back Press 1 and for Main Menu Press 0");
s4 = input.nextInt();
}
break;//end laboretoy fetcher
case 4: // start hospital facilities
while (s5 == 1)
{
System.out.println("1.Add New Facility\n2. Fecilities List");
c1 = input.nextInt();
switch (c1)
{
case 1:// add Facilities
{
f[count5].add_feci();count5++;
break;
}
case 2: // view Facilities
{
System.out.println("--------------------------------------------------------------------------------");
System.out.println("Hospital Facility are:");
System.out.println("--------------------------------------------------------------------------------");
for (j = 0; j < count5; j++) {
f[j].show_feci();
}
break;
}
}
System.out.println("\nReturn to Back Press 1 and for Main Menu Press 0");
s5 = input.nextInt();
}
break;// End Facility
}
System.out.println("\nReturn to Back Press 1 and for Main Menu Press 0");
s1 = input.nextInt();
}
}//end admin main *********************************************
else{
System.out.println("\nWrong user and Pass User \nReturn to Back Press 1 and for Main Menu Press 0");
s1 = input.nextInt();
}
break;
case 222://resoption login **********************************
Scanner rlog = new Scanner(System.in);
System.out.print(" Enter User Name : ");
String re =rlog.nextLine();
System.out.print(" Enter Password : ");
int rep = rlog.nextInt();
if(user==re||pass==rep){// reseption start
System.out.println("--------------------------------------------------------------------------------");
System.out.println(" **RECEPTIONIST SECTION**");
System.out.println("--------------------------------------------------------------------------------");
s1 = 1;
while (s1 == 1)
{
System.out.println("1.Show Doctor List\n2.Add Patient\n3.View Patient\n");
c1 = input.nextInt();
switch (c1)
{
case 1:
{
System.out.println("--------------------------------------------------------------------------------");
System.out.println("id \t Name\t Specilist \t Timing \t Qualification \t Room No.");
System.out.println("--------------------------------------------------------------------------------");
for (j = 0; j < count1; j++)
{
d[j].doctor_info();
}
break;
}
case 2:
{
p[count2].new_patient();count2++;
break;
}
case 3:
{
System.out.println("--------------------------------------------------------------------------------");
System.out.println("id \t Name \t Disease \t Gender \t Admit Status \t Age");
System.out.println("--------------------------------------------------------------------------------");
for (j = 0; j < count2; j++) {
p[j].patient_info();
}
break;
}
}
System.out.println("\nReturn to Back Press 1 and for Main Menu Press 0");
s1 = input.nextInt();
}
}//end reception
else{
System.out.println("\nWrong user and Pass User \nReturn to Back Press 1 and for Main Menu Press 0");
s1 = input.nextInt();
}
break;//// End Reception ******************************
case 333://doctor login**********************************************
Scanner dlog = new Scanner(System.in);
System.out.print(" Enter User Name : ");
String doc =dlog.nextLine();
System.out.print(" Enter Password : ");
int doct = dlog.nextInt();
if(user==doc||pass==doct){// doctor start
System.out.println("--------------------------------------------------------------------------------");
System.out.println(" **DOCTOR SECTION**");
System.out.println("--------------------------------------------------------------------------------");
s1 = 1;
while (s1 == 1)
{
System.out.println("1. Doctors Property\n2.Medicine List");
c1 = input.nextInt();
switch (c1) {
case 1:// view doctor
System.out.println("--------------------------------------------------------------------------------");
System.out.println("id \t Name\t Specilist \t Timing \t Qualification \t Room No.");
System.out.println("--------------------------------------------------------------------------------");
for (j = 0; j < count1; j++)
{
d[j].doctor_info();
}
break;
case 2: // view medecine
{
System.out.println("--------------------------------------------------------------------------------");
System.out.println("Name \t Company \t Expiry Date \t Cost");
System.out.println("--------------------------------------------------------------------------------");
for (j = 0; j < count3; j++) {
m[j].find_medi();
}
break;
}
default:
break;
}
System.out.println("\n Log Out Press 0 Reload Press 1");
s1 = input.nextInt();
}
}
else{
System.out.println("\nWrong user and Pass User \nReturn to Back Press 1 and for Main Menu Press 0");
s1 = input.nextInt();
}
break;//end doctor ******************************************************
case 555: // Medicine Section ******************************************************
{
s3 = 1;
System.out.println("--------------------------------------------------------------------------------");
System.out.println(" **MEDICINE SECTION**");
System.out.println("--------------------------------------------------------------------------------");
while (s3 == 1)
{
System.out.println("1.Add New Entry\n2. Existing Medicines List");
c1 = input.nextInt();
switch (c1)
{
case 1:
{
m[count3].new_medi();count3++;
break;
}
case 2:
{
System.out.println("--------------------------------------------------------------------------------");
System.out.println("Name \t Company \t Expiry Date \t Cost");
System.out.println("--------------------------------------------------------------------------------");
for (j = 0; j < count3; j++) {
m[j].find_medi();
}
break;
}
}
System.out.println("\nReturn to Back Press 1 and for Main Menu Press 0");
s3 = input.nextInt();
}
break;
}// End Medicine ************************************************
case 444: // Staff Section ***********************************************
{
s6 = 1;
System.out.println("--------------------------------------------------------------------------------");
System.out.println(" **STAFF SECTION**");
System.out.println("--------------------------------------------------------------------------------");
while (s6 == 1)
{
String a = "nurse", b = "worker", c = "security";
System.out.println("1.Log in As Nurses \n2.Login As Workers List \n3.Login As Security List");
c1 = input.nextInt();
switch (c1)
{
case 1:// login as Nurse
{ Scanner nlog = new Scanner(System.in);
System.out.print(" Enter User Name : ");
String nur =nlog.nextLine();
System.out.print(" Enter Password : ");
int nurs = nlog.nextInt();
if(nur==user||nurs==pass){
System.out.println("--------------------------------------------------------------------------------");
System.out.println(" **NURSE SECTION**");
System.out.println("--------------------------------------------------------------------------------");
System.out.println("--------------------------------------------------------------------------------");
System.out.println("id \t Name \t Gender \t Salary");
System.out.println("--------------------------------------------------------------------------------");
for (j = 0; j < count6; j++)
{
if (a.equals(s[j].desg)){
s[j].staff_info();
}
}
}else{
System.out.println("\nWrong__\nReturn to Back Press 1 and for Main Menu Press 0");
s6 = input.nextInt();
}
break;
}
case 2: // login as worker
{
Scanner nlog = new Scanner(System.in);
System.out.print(" Enter User Name : ");
String nur =nlog.nextLine();
System.out.print(" Enter Password : ");
int nurs = nlog.nextInt();
if(nur==user||nurs==pass){
System.out.println("--------------------------------------------------------------------------------");
System.out.println(" **WORKER SECTION**");
System.out.println("--------------------------------------------------------------------------------");
System.out.println("--------------------------------------------------------------------------------");
System.out.println("id \t Name \t Gender \t Salary");
System.out.println("--------------------------------------------------------------------------------");
for (j = 0; j < count6; j++)
{
if (b.equals(s[j].desg)){
s[j].staff_info();
}
}
}else{
System.out.println("\nWrong__\nReturn to Back Press 1 and for Main Menu Press 0");
s6 = input.nextInt();
}
break;
}
case 3: // login as Security
{ Scanner nlog = new Scanner(System.in);
System.out.print(" Enter User Name : ");
String nur =nlog.nextLine();
System.out.print(" Enter Password : ");
int nurs = nlog.nextInt();
if(nur==user||nurs==pass){
System.out.println("--------------------------------------------------------------------------------");
System.out.println(" **SECURITY SECTION**");
System.out.println("--------------------------------------------------------------------------------");
System.out.println("--------------------------------------------------------------------------------");
System.out.println("id \t Name \t Gender \t Salary");
System.out.println("--------------------------------------------------------------------------------");
for (j = 0; j < count6; j++)
{
if (c.equals(s[j].desg)){
s[j].staff_info();
}
}
}else{
System.out.println("\nWrong__\nReturn to Back Press 1 and for Main Menu Press 0");
s6 = input.nextInt();
}
break;
}
}
System.out.println("\n Log Out Press 1 and for Main Menu Press 0");
s6 = input.nextInt();
}
break;
}
case 666:
{
s4 = 1;
System.out.println("--------------------------------------------------------------------------------");
System.out.println(" ** ``PUBLIC VIEW`` **");
System.out.println("--------------------------------------------------------------------------------");
System.out.println("--------------------------------------------------------------------------------");
System.out.println(" ** LABORATORY SECTION **");
System.out.println("--------------------------------------------------------------------------------");
while (s4 == 1)
{
System.out.println("--------------------------------------------------------------------------------");
System.out.println("Fecilities\t\t Cost");
System.out.println("--------------------------------------------------------------------------------");
for (j = 0; j < count4; j++) {
l[j].feci_list();
}
System.out.println("--------------------------------------------------------------------------------");
System.out.println(" ** HOSPITAL FACILITY **");
System.out.println("--------------------------------------------------------------------------------");
for (j = 0; j < count5; j++) {
f[j].show_feci();
}
System.out.println("\n Log Out Press 0 Relode Press 1 ");
s4 = input.nextInt();
}
break;
}
default:
{
System.out.println(" You Have Enter Wrong Choice!!!");
}
}
System.out.println("\nReturn to MAIN MENU Press 1");
status = input.nextInt();
}
}
}