Question: Please follow the instructions above and code in Python in a coding environment (Pychram). Write a class named Patient that has attributes for the following

Please follow the instructions above and code in Python in a codingenvironment (Pychram). Write a class named Patient that has attributes for thefollowing data: - First name, middle name, and last name - Address,Please follow the instructions above and code in Python in a coding environment (Pychram).

Write a class named Patient that has attributes for the following data: - First name, middle name, and last name - Address, city, state, and ZIP code - Phone number - Name and phone number of emergency contact The Patient class's __init __ method should accept an argument for each attribute. The Patient class should also have accessor and mutator methods for each attribute. Next, write a class named Procedure that represents a medical procedure that has been performed on a patient. The Procedure class should have attributes for the following data: - Name of the procedure - Date of the procedure - Name of the practitioner who performed the procedure - Charges for the procedure The Procedure class's _ _init _ method should accept an argument for each attribute. The Procedure class should also have accessor and mutator methods for each attribute. 1) Update the Patient class's attributes by adding a new attribute: __procedures, this attribute can store the information of all procedures that every paitent has. Create a new class named "Phone" , this class has two attributes: __phoneNumber, __phoneType (i.e. cell, home, office). Create another class named "Address" that contains attributes: __street, __city, __state, __zipCode 2) UML design: all class attributes must be private, each attribute needs a mutator and an accessor; show the composition of classes (nested class) 3) Create a PatientTester module. In this module, first create an instance of the Patient class, initialized with sample data: Name: Penns K Chung Address: 25 Yearsly Rd, Media, PA 19063 Phone: 610-999-8328 (Cell) Procedures: 3) Create a PatientTester module. In this module, first create an instance of the Patient class, initialized with sample data: Name: Penns K Chung Address: 25 Yearsly Rd, Media, PA 19063 Phone: 610-999-8328 (Cell) Procedures: 4) display the patient's information including the procedures and the total charges for the procedures

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!