Create an array of five insuredpatient objects

Assignment Help Basic Computer Science
Reference no: EM13757652

Assignment On Patient Data

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 al the data of a Patient, plus fields to hold an

Insurance company name. and the percentage of the hospital bit the insurance company will pay. Insurance payments are based on the following table:

Insurance Company Portion of bill paid by insurance (Ye)

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

Embed the programs in a Microsoft Word document.

Cite any sources in APA format on a separate page.

Reference no: EM13757652

Questions Cloud

Write a 3-page paper on gender and social movements : Write a 3-page paper on GENDER AND SOCIAL MOVEMENTS. Which includes: Summarize your article, What was the catalyst that provoked the social movement and What type of social movement was it.
The profile of a leader for the corporations position : The profile of a leader for the corporation's position. Each leadership skill that would be considered for the management positions in the company
What is a vpn as at&t describes it : The Network Service page will show all of the services that AT&T can provide to a large business to connect their sites to each other, to other organizations, and to their customers. What is a VPN as AT&T describes it
Write an essay on a japanese film called grave of fireflies : Write an essay about a Japanese film called Grave of the Fireflies. The professor asks us to watch this movie and think about how this film reflect the Japanese culture or society.
Create an array of five insuredpatient objects : 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.
Analyze the use of an enterprise software systems : Analyze the use of an Enterprise Software Systems (ESS) in a health care organization with regard to its effects on operational outcomes
Explain the term developmental continuum : Explain the term developmental continuum. As you view this video segment, what evidence/observations/insights illustrate this term?
Draw the hierarchy chart and then plan logic for a program : Draw the hierarchy chart and then plan the logic for a program for the sales manager of The Couch Potato Furniture Company. The manager needs a program to determine the profit on any item sold
Provide a brief overview - synopsis of the issue : Provide a brief overview - synopsis of the issue and discuss the model or economic theory that relates to the issue presented in the news article.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Determine the expected number of empty bins

Assume that n balls are tossed into n bins, where each toss is independent and ball is equally likely to end up in any bin. Determine the expected number of empty bins?

  Business rules that are reflected in the erd

Write the business rules that are reflected in the ERD shown below. (Keep in mind that the ERD reflects some simplifications. For example, this ERD states that each book is only written by one author, but in reality, there are many books written by m..

  Object oriented programming paradigm

Discuss and explain why the object oriented programming paradigm is considered a better choice than the structured programming paradigm.

  A message stating the purpose of the organization

A message stating the purpose of the organization.

  Write a select statement that returns four columns

Write a Select statement that returns four columns from the Invoices table, named Number, Total, Credits, and Balance

  Explain effects of compaction on normal processing

What about if you upgrade to memory that can be read or written to in 1nsec? Comment briefly on the effects of compaction on normal processing.

  What security concerns might arise over mobile access

What security concerns might arise over mobile access to private corporate information

  Hexadeciaml numerals are integers written

Hexadeciaml numerals are integers written in base 16. The digits used are '0' through '9' plus 'a' for the "digit 10", 'b' for the "digit 11", 'c' for the "digit 12", 'd' for the "digit 13", 'e' for the "digit 14", and 'f' for the "digit 15". For exa..

  Write a program to find the nth busalem number

write a program to find the nth BuSalem number. You must use functions.

  Pseudocode int an iterative one

Turn the following pseudocode int an iterative one, Assuming k is in T: if k is in T, Insert should change its associated item to x.

  Use eulers method

Use Euler's Method with (a) h=.5, (b) h=.25, and (c) h=.05 to solve dy/dx=yx^3-2.3y over the interval from x=0 to 2, where y(0)=1.

  Show at least the state of machine and state of any memory

Consider two machines, a classical von Neumann architecture as well as a more modern machine with two buses.

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