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

  Design the program in vb.net with a graphical user interface

Write down the program in VB.NET (not Web based) with a graphical user interface. Have the user input the amount in one currency and give him a choice to either specify a currency to convert to OR calculate results for all available currency conve..

  How to develop a simple scientific calculator

make a Clear button to clear the result text box and reset all controls.

  How to develop a problem definition

How to develop a problem definition

  How to write a report on object-oriented systems

How to write a report on Object-Oriented Systems?

  Why are java and javas gui are popular

The GUI offers all types of functionality in the graphical sense. Why are Java and Javas GUI are so popular? What are some applications that use a Java GUI.

  Find the percent of total weight that is quota

A teenager has 5 shirts, 7 jeans and some jackets, how many jackets must he have so that if he wore a different set of shirtsand jeans each day, he could continue for 140 days before he will have to repeat a set.

  Explain thread need to wait for faulting page in memory

Other user user threads belonging to the same process also be affected by the page fault - that is would they also have to wait for the faulting page to be brought into memory? Explain.

  Write down a program that reads a social security number

Write down a program that reads a social security number written as contiguous digits (for instance, 509435456), uses the charAt method to obtain each character and then prints each digit on a separate line followed by a colon and the digit printe..

  How to redesign the coding design

How to redesign the coding design? Write down a sentence for each change you have optional, indicating what data entry problem (from part a) change will eliminate.

  Give most popular ways today to code a database application

Embedded SQL applications tend to lack interoperatiliby. Applications might have to modified to work with other RDBMS ODBC applications do not need the explicit declaration and use of host variables.

  Express how the program is to work

Write a GUI program which incorporates a try-catch block to error check the input for integers and alphabetic characters other than Y or N. Your program must include.

  What is the capacity of a particular airplane sort

You must first determine what entities want to track. Next determine what attributes are needed for each entity, and what relations exist between these entities. You should draw an E-R diagram to show these relations. Be sure to indicate all keys...

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