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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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