JAVA  – Phase IV  

 

In this phase of the project, you are to finish your report section.  You are to create the following reports:

NOTE: Change the names of the reports in your code to the names in bold below

·      Report 5 –Doctor and Patients List – Print each Doctor’s information along with the list of his patients (these are the primary doctors)

·      Report 6 –  Surgery history for ONE Patient-  Print one specific patient and the surgeries he/she had, Must also include the total payments he/she paid for his surgeries

·      Report 7 – Surgery history for ALL Patients – For all Patients, print the patient information along with the details of their surgeries, including the Doctor names.  Must also include the total payment each patient paid for their surgeries

·      Report 8- Surgery history for ALL Doctors – For all Doctors, print the doctor information along with the details of their surgeries, including the patient names.  Must also include the total payments they got for their surgeries

·      Report 9 –  Patients NOT having surgery – print all patient information if they did not have surgery, including the name of their Primary doctor

 

Create a word document with your name and date at the top.   Copy your code next. Copy a screen shot of each report running next in the document.

Upload this document to blackboard.

 

 

  Contents of surgery.dat

1111#12#Heart#15000#

2222#22#Eye#800#

3333#18#Lung#12000#

5555#22#Eye#1000#

6666#24#Arm#2000#

1111#26#Eye#985.90#

8888#30#Heart#5000.89#

1212#12#Heart#2500#

4545#18#Lung#4500.65#

2323#26#Eye#789.50#

1212#14#Eye#8000#

4545#12#Heart#35000#

5555#36#Lung#4500.85#

2222#24#Stomach#16000#

3333#36#Lung#9000.90#

3333#34#Heart#23000#

4444#34#Heart#19000#

3434#22#Eye#1100#

4444#22#Eye#1200#

3333#22#Eye#800#

4545#22#Eye#900#

6666#22#Eye#1000#

8888#22#Eye#985.90#

1212#22#Eye#888.90#

2323#22#Eye#900#

   

Contents of patientj.dat:

1111#John#Smith#18#Male#12#

2222#Mary#Jones#19#Female#12#

3333#Dean#Johnson#18#Male#14#

4444#Nick#Green#21#Male#2016#

5555#Karen#Hilling#22#Female#18#

6666#Jane#Gardner#21#Female#20#

7777#Mart#Gallo#19#Male#20#

8888#Hanson#Andrew#18#Male#22#

9999#Chris#Johns#19#Male#38#

1212#Laura#Manis#20#Female#24#

2323#Bonnie#Lacey#21#Female#24#

3434#Stacy#Abrams#18#Female#28#

4545#Robert#Brown#19#Male#26#

Contents of doctorc.dat:

12#Thomas#Smith# Cardiology #

14#Gregory#Thompson#Ophthalmology#

16#Allen#Atkins#Radiology#

18#Eric#Brown#Pulmonary#

20#Chris#Jones#Dermatology#

22#James#Gallo#Ophthalmology#

24#William#Johnson#Pediatrics#

26#Mary#Gregory#Ophthalmology#

28#Jane#Hilling#Radiology#

30#Cara#George# Cardiology #

32#Mia#Baugh#Pediatrics#

34#Max#Borrows# Cardiology #

36#Peter#Johns# Pulmonary#

 

 

 

doctors

12#Thomas#Smith#Cardiology#

14#Gregory#Thompson#Ophthalmology#

16#Allen#Atkins#Radiology#

18#Eric#Brown#Pulmonary#

20#Chris#Jones#Dermatology#

22#James#Gallo#Ophthalmology#

24#William#Johnson#Pediatrics#

26#Mary#Gregory#Ophthalmology#

28#Jane#Hilling#Radiology#

30#Cara#George#Cardiology#

32#Mia#Baugh#Pediatrics#

34#Max#Borrows#Cardiology#

36#Peter#Johns# Pulmonary#

 

patient

1111#John#Smith#18#Male#12#

2222#Mary#Jones#19#Female#12#

3333#Dean#Johnson#18#Male#14#

4444#Nick#Green#21#Male#2016#

5555#Karen#Hilling#22#Female#18#

6666#Jane#Gardner#21#Female#20#

7777#Mart#Gallo#19#Male#20#

8888#Hanson#Andrew#18#Male#22#

9999#Chris#Johns#19#Male#38#

1212#Laura#Manis#20#Female#24#

2323#Bonnie#Lacey#21#Female#24#

3434#Stacy#Abrams#18#Female#28#

4545#Robert#Brown#19#Male#26#

 

surgary

1111#12#Heart#15000#

2222#22#Eye#800#

3333#18#Lung#12000#

5555#22#Eye#1000#

6666#24#Arm#2000#

1111#26#Eye#985.90#

8888#30#Heart#5000.89#

1212#12#Heart#2500#

4545#18#Lung#4500.65#

2323#26#Eye#789.50#

1212#14#Eye#8000#

4545#12#Heart#35000#

5555#36#Lung#4500.85#

2222#24#Stomach#16000#

3333#36#Lung#9000.90#

3333#34#Heart#23000#

4444#34#Heart#19000#

3434#22#Eye#1100#

4444#22#Eye#1200#

3333#22#Eye#800#

4545#22#Eye#900#

6666#22#Eye#1000#

8888#22#Eye#985.90#

1212#22#Eye#888.90#

2323#22#Eye#900#

Needs help with similar assignment?

We are available 24x7 to deliver the best services and assignment ready within 3-12hours? Order a custom-written, plagiarism-free paper

Get Answer Over WhatsApp Order Paper Now

Do you have an upcoming essay or assignment due?

All of our assignments are originally produced, unique, and free of plagiarism.

If yes Order Paper Now