There is an outbreak of Chic-V in Trinidad and the Ministry of Health has set up a taskforce (Chic-V Eradication Task Force) to monitor the affected communities and districts. The districts affected are San Juan, Couva, Rio Claro & Point Fortin; the number of reported cases is increasing since the first case was confirmed August 1, 2017.
As of September 17, a total of 50 confirmed cases were reported by personnel from the health centres in the affected communities
You have been hired as a Programmer whose duties require development in Java a program that solves the following tasks:
1. Stores the first name, last name, registration number (string), health center type and insurance company (if any) of each patient.
2. Calculates each patient’s total medical and payment covered by their insurer if patient is insured.
3. Display patient information well formatted as well as all the costs incurred.
Each patient must register with a health center at the cost of $50.00
There are 3 types of health centers T1, T2 and T3. Each has its own doctors’ fees
T1 150.00
T2 250.00
T3 300.00
Patients may or may not take a blood test. Blood tests cost $450.00 and there is a $45.00 handling fee.
Three insurance companies are providers of health insurance.
Provisor covers 80% medical costs
MariCover covers 75% medical costs
Protector covers 70% medical costs
a. Develop a well-refined algorithm to obtain a patient’s first name, last name, health center type visited if a blood test was taken and insurance company name
b. Calculate a patient’s total cost (registration, doctor fee dependent on health center, blood test cost if any).
c. Calculate the amount paid by insurance as well as the remainder to be paid by patient and Total Amount paid by all patients and Total paid by Insurance Companies.
d.Write java code for the algorithm you wrote in part a.
i. That can accept 50 patients’ information and also
ii.Provide a Total Amount Paid by all patients and
iii.Total amount paid by Insurance Companies
iv.Name your java program Chic_V_Erad_Part1_YourName
a. Create a method enterPersonalInfo that accepts all the information on each patient eg district, registration number, name, insurance, health center, blood test taken.
b. Use arrays to store each item of personal information
c. Create another method calculate Payments that calculates a patient’s total cost (registration, doctor fee dependent on health center, blood test cost if any).If also calculates the amount paid by insurance as well as the remainder to be paid by patient and Total Amount paid by all patients and Total paid by Insurance Companies.
d. A method display Info method that prints all the information stored on patients and payments as well as insurance company amounts and grand total costs incurred insurance payments and patient payments
e. Write java code for that invokes these methods in a main method that can accept 50 patients’ information. Name your java program Chic_V_Erad_FinalProj_YourName