Create a patient class for the wrightstown hospital billing

Assignment Help Computer Engineering
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

Reference no: EM13322454

Questions Cloud

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) ..

Reviews

Write a Review

 

Computer Engineering Questions & Answers

  What is the throughput

Measurements of the slotted ALOHA channel with an infinite number of users show that 10 percent of the slots are idle.

  Consider the business impact of any situation

Consider the business impact of any situation

  Make binary search tree that will accept integers in order

modify a C++ Binary Search Tree that will accept integers in this order: 35, 18, 48, 72, 60, 25. Ask user for input and search tree utilizing integer input. Return "True" if input integer is found or "False" if it is not found in tree.

  Design a "clear" button that clears all of the hours worked

make a "Calculate" button to perform the pay calculations for all of the employees.

  Define what a branch hazard is,what causes a branch hazard

Give a relevant example using the MIPS instruction set architecture. Compare and contrast how the code would  proceed it the branch is taken, vs if the branch is not taken, and explain how this affects the pipeline.

  Develop a checkout lane simulation

Develop a checkout lane simulation that can be used to determine the optimal number of lanes that Cougar Mart should have open.

  Build a simple airline ticket reservation program

modify a simple airline ticket reservation program in C++ that keeps track of individual passenger names, and their associated flight numbers, departure dates and times, and originating and destination cities.

  Investigate typical applications of microprocessor based s

Investigate 3 typical applications of microprocessor based systems, which may conclue the following.

  Lottery requires that you select six different numbers

A lottery needs that you select six different numbers from the integers 1 to 49. Write a Java program that will do this for you and generate five sets of six numbers as a result.

  What condition is it appropriate to buy commercial

Under what condition is it appropriate to develop software in house and Why? Under what circumstances is it appropriate to commission development of custom software? Why? Under what circumstance is it appropriate to buy commercial or COTS software..

  Make a program find that searches all files

Write a program Find out that searches all files specified on the command line and prints out all lines containing a reserved word.

  Advantages for using the object oriented approach

Supporters of object oriented databases list numerous advantages for using the object oriented approach versus the relational one. Is the relational database model doomed to extinction or are there characteristics of the relational model that make..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd