Question
Hospital Premier need a system called Hospital Premier Information System. They need an information of their staff, doctor and patient to be stored in different
Hospital Premier need a system called Hospital Premier Information System.
They need an information of their staff, doctor and patient to be stored in different file. The information needed for every entity is shown as below:
Doctor(DrID,DrName,DrGrade,DrPhone);
Staff(StaffID, StaffName, Position, Department)
Patient(PtNo, PtName,PtWard, Day)
As a programmer, you need to develop a python program to fulfil the requirement below
1. Administrator will key in all the record of doctors, staffs, and patients; and store them in different files.(Minimum five records for every file)
2. The administrator then could view the record of every file.
3. The administrator will key in a new record in Patient file (without delete the existing content) which contains information as below:
PtNo
PtName
PtWard
DrName
StaffName
Day
Total payment
Assume that patient will be charged RM50 per day. 50% discount will be given to patient who age is more than 60 year old.
4. Show the details in patient file.
Step by Step Solution
3.42 Rating (152 Votes )
There are 3 Steps involved in it
Step: 1
import ReadHospitalExcelSheet import WriteHospitalExcelSheet def AppointmentIndexInDoctorsDataBase patientID for i in DoctorsDataBase for j in DoctorsDataBasei if strpatientID strj0 Appointmentindex D...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Document Format ( 2 attachments)
636bedbad4c02_242763.pdf
180 KBs PDF File
636bedbad4c02_242763.docx
120 KBs Word File
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started