(Solved) : Create Uml Diagram Following Create Patient Class Wrightstown Hospital Billing Department Q30651988 . . .
Create a UML diagram for the following:
Create a Patient class for Wrightstown HospitalBilling Department. Include the following get and set propertiesand fields: patient ID number, name, age, and amount due to thehospital.
Add a constructor for the Patient class that acceptsID, name, age, and amount due.
Override the ToString() method to return all thedetails for a patient printed out in record format.
Using the Patient class as the base class, derive anInsuredPatient class. An InsuredPatient contains all the data of aPatient, plus fields to hold an insurance company name and thepercentages of the hospital bill the insurance company willpay.
You will need a constructor for this class aswell.
You will need to get and set those values in theInsuredPatient class. Insurance payments are based on the followingtable:
Insurance CompanyPortion of the bill paid byinsurance companyWrightstown Mutual80%RedUmbrella60%All other companies25%
Override the parent class ToString() method to includethe name of the insurance company, the percentage paid, and theamount due after the insurance has been applied to thebill
Expert Answer
Answer to Create Uml Diagram Following Create Patient Class Wrightstown Hospital Billing Department Q30651988 . . .
OR