[solved]-Write Python Codes Files Following Information Label Python Codes Files Patientpy Inpatie Q39072169
Write python codes or files with the following informationbelow. Label python codes or files:
patient.py inpatient.py procedure.py patienttest.py
- The Patient class will have an additional attribute,procedure_list. This list will contain all the procedures performedon the patient. In addition, Patient will have a calculate_chargesfunction that returns the total of all procedures on the procedurelist. Perform the object creations described in thebook. Then, add procedures Physical Exam and X-ray to Mr. Jones.Sample output will be
First Name: James
Middle Name: Edward
Last Name: Jones
Address: 123 Main Street
City: Billings
State: Montana
ZIP: 59000
Phone: 406-555-1212
Emergency Contact: Jenny Jones
Emergency Phone: 406-555-1213
Procedure: Physical Exam
Date: 8-24-2019
Practitioner: Dr. Irvine
Charge: 250.00
Procedure: X-ray
Date: 8-24-2019
Practitioner: Dr. Jamison
Charge: 500.00
Procedure: Blood Test
Date: 8-24-2019
Practitioner: Dr. Smith
Charge: 200.00
Procedures performed on the patientare
Procedure: Physical Exam
Date: 8-24-2019
Practitioner: Dr. Irvine
Charge: 250.00
Procedure: X-ray
Date: 8-24-2019
Practitioner: Dr. Jamison
Charge: 500.00
The total charge for Jones is$750.00
Create one child from Patient: InPatient. InPatient has anadditional attribute of days representing how many days the patientstayed in the hospital. Create patient Will Thomas Smith, 456 SouthStreet, Dallas, Texas, 75050, 214-555-1234, Carol Smith,214-4444567, with days of 3. Print the inpatient information to theprompt and then print the total charge at $50 a day. Remember toaccess the patient data; not hard code any information in themain.
The printout should be:
First Name: Will
Middle Name: Thomas
Last Name: Smith
Address: 456 South Street
City: Dallas
State: Texas
ZIP: 75050
Phone: 214-555-1234
Emergency Contact: Carol Smith
Emergency Phone: 214-555-4567
Days 3
The total charge for Smith is$150.00
Expert Answer
Answer to Write python codes or files with the following information below. Label python codes or files: patient.py inpatient.py p… . . .
OR

