Reference no: EM13322454
Create a Patient class for the Wrightstown Hospital Billing Department. Include a patient ID number, name, age, and amount due to the hospital. Include properties and any other methods you need. Override the ToString() method to return all the details for a patient. Write an application that prompts the user for data for five Patients. Sort them in patient ID number order and display them all, including a total amount owed. Save the program as PatientDemo.es. Using the Patient class as a base, derive an InsuredPatient class. An InsuredPatient contains all the data of a Patient, plus fields to hold an insurance company name, and the percentage of the hospital bill the insurance company will pay. Insurance payments are based on the following table: Insurance Company Portion of bill paid by insurance (%) Wrightstown Mutual 80 Red Umbrella 60 All other companies 25 Create an array of five InsuredPatient objects.
Create a program that justifies the following:
•Prompts the user for all the patient data, plus the name of the insurance company; the insurance company set accessor determines the percentage paid.
•Overrides the parent class ToString() method to include the name of the insurance company, the percent paid, and the amount due after the insurance has been applied to the bill.
•Sorts all the records in ID number order and display them with a total amount due from all insured patients. Save the program as PatientDemo2.cs.
Write an application that uses an extension method for the Patient class. The method computes and returns a Patient's quarterly insurance payment (one-fourth of the annual premium). The application should allow the user to enter data for five Patients and then display all the Patient data for each, including the quarterly payment. Save the program as PatientDemo3.cs
Compute the strength of the magnetic field
: A particle with charge of 7.70 microC and v= 435 m/s is acted on by both an electric and magnetic field. what is the strength of the magnetic field
|
Depict two equivalent resonance forms for nitric acid
: Draw two equivalent resonance forms for nitric acid and three for nitrate ion. Rank the three types of nitrogen-oxygen bonds in order of length.
|
Calculate the tons per year of recovered ethanol
: The composition of a stream leaving a fermenter is 85.0 mol % water (H2O, MW = 18.01), 10.0 mole % ethanol (C2H5OH, MW = 46.07), and 5.0 mol % sucrose (C6H12O6, MW =180.16).
|
Tax implications related to the program
: Prepare a response words documenting how, as a tax analyst, you see this program, and note any tax implications related to the program.
|
Create a patient class for the wrightstown hospital billing
: Create a Patient class for the Wrightstown Hospital Billing Department. Include a patient ID number, name, age, and amount due to the hospital. Include properties and any other methods you need. Override the ToString() method to return all the det..
|
Explain the same naoh solution to neutralize it
: After treating an antacid with 5.00 ml of .1065 M NaOH, the untreated acid was diluted to exactly 250 mL with distilled water in a volumetric flask. 25.00 mL of that diluted acid required 17.03 mL of the same NaOH solution to neutralize it. Calcul..
|
Calculate primary consolidation settlement of the clay layer
: A point load from a pier applies at ground surface which its magnitude is 1000KN. Calculate primary consolidation settlement of the clay layer at a distance of one meter from the point of application of the load.
|
What size new cast iron pipe is needed to transport
: What size new Cast iron pipe is needed to transport 400 L/s water at 25 Degrees Celsius for 1 km with a head loss of 2m
|
Explain the standard change in free energy at 122oc
: The standard change in free energy at 122oC is -6.001 kJ for the reaction A(s) + 2 B(g) ? AB2(g) We prepare a mixture at 122oC in a sealed 3.020 L vessel to contain 0.0370 mol A, 0.509 atm B, and 0.344 atm AB2. What is the free energy change (kJ) ..
|