Question
B. Enhanced ER-Diagram (10 points) Batu Caves Hospital has three types of doctors attached to the Hospital: Permanent Doctor, Visiting Doctor and Trainee. The details
B. Enhanced ER-Diagram (10 points)
Batu Caves Hospital has three types of doctors attached to the Hospital: Permanent Doctor, Visiting Doctor and Trainee. The details of each doctor are as follows:
Permanent: StaffId, Name, Position, Department, Salary, Overtime, Specialty Visiting : StaffId, Name, Position, Specialty, Department, Institution, Rate Trainee : StaffId, Name, Position, StartDate, Department, Duration, Allowance
Some of the doctors will treat at least one patient. Many new doctors or trainees might not have any patients assigned to them. Doctors are assigned to specific department such as emergency, neurology or orthopedic. Each patient must be treated by at least one doctor or maximum of five doctors. Patient record is track by the patient ID, name, sex, class, date admitted and date discharge. Example of class is first class, second class and third-class ward.
Based on the information given above, draw a single integrated EER-Diagram using the class notation from UML. You must include in your diagram ALL the entities, attributes, primary key, relationship, and constraints (multiplicity, participation, disjoint). Upload your answer
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started