Question

In: Computer Science

Construct an E-R diagram for a hospital with a set of patients and a set of...

Construct an E-R diagram for a hospital with a set of patients and a set of medical doctors. Associate with each patient a log of the various tests and examinations conducted. Use your best judgement to identify the attributes for each of those entities.

Solutions

Expert Solution

The above ER diagram has the following entities.

  • Patient
  • Employee
  • Hospital
  • Doctor
  • Receptionist
  • Room
  • Medicine
  • Record

Patient entity contains Patient ID, Name, Address, Sex, Phone No, Admitted date, Discharge date, Age as attributes. In Patient entity Patient ID is the primary key and Phone No and Medical records are multivalued attribute.

Hospital entity contains Hospital ID, Address, Name, Phone No as attributes where, Hospital ID is the primary key and Phone No is a multivalued attribute.

Employee enitity contains Employee ID, Sex, Phone No, Experience, Salary, Name, Qualification where Employee ID is the primary key, Phone No is a multivalued attribute and Name is a composite attribute.

Doctor entity consits of other three entities called Visiting, Permanent, and Resident which shows the designation of the doctors.

Receptionist entity has a relationship with record entity which contains Record No as primary key and Appointment attribute and Patient info attribute which is a multivalued attribute.

Room entity consists of Room ID as primary key and also a room type entity.

Medicine entity consists of Code as primary key and also attributes called Price and Description

Patient has a reltaion "Admitted in" with Hospital

Hospital has a relation "has" with Employee

Employee has a ISA relation with Doctor,Receptionist and Nurse

Doctor has a ISA relation with Visiting,Permanent,Intern

Nurse has a "Governs" relation with Room

Patient has a "billed for" relation with Treatment and Medicine

Patient has a "assigned to'' relation with Room


Related Solutions

Create an E/R diagram for the following business situation and convert the diagram into a set...
Create an E/R diagram for the following business situation and convert the diagram into a set of related tables: A health insurance company sells a number of insurance policies. Employer companies can buy any number of policies including zero and up to 4. A policy must be bought by at least one employer. Employees working for the employers can select at most one insurance policy. A policy can be selected by any number of employees including zero. Employees can add...
1a. Construct (draw) an E-R diagram representing the conceptual design of the database. Be sure to...
1a. Construct (draw) an E-R diagram representing the conceptual design of the database. Be sure to identify primary keys, relationship cardinalities, etc. State any assumptions you make. 1b. Convert your E-R diagram to the relational schema. Identify the primary keys of ever relation. Consider the following application: An electronics vendor operates both a Web site and a chain of many physical stores. Examples include Best Buy and Circuit City. To find out more about this application, think about any experiences...
For your written assignment: Construct an E-R diagram for a car-insurance company whose customers own one...
For your written assignment: Construct an E-R diagram for a car-insurance company whose customers own one or more cars each. Each car has associated with it zero to any number of recorded accidents.
Construct a scattergram for each data set. Then calculate r and r 2 for each data...
Construct a scattergram for each data set. Then calculate r and r 2 for each data set. Interpret their values. Complete parts a through d a. x −1 0 1 2 3 y −3 0 1 4 5 Calculate r. r=. 9853 ​(Round to four decimal places as​ needed.) Calculate r2. r2=0.9709. ​(Round to four decimal places as​ needed.) Interpret r. Choose the correct answer below. A.There is not enough information to answer this question. B.There is a very strong...
Construct a scattergram for each data set. Then calculate r and r2 for each data set....
Construct a scattergram for each data set. Then calculate r and r2 for each data set. Interpret their values. Complete parts a through d. a. x −1 0 1 2 3 y −3 0 1 4 5 Calculate r. r=. 9853.​(Round to four decimal places as​ needed.) Calculate r2. r2=0.9709​(Round to four decimal places as​ needed.) Interpret r. Choose the correct answer below. A.There is not enough information to answer this question. B.There is a very strong negative linear relationship...
For this step, you should draw an E-R Diagram for this dataset. To this goal, you...
For this step, you should draw an E-R Diagram for this dataset. To this goal, you should conduct the following steps: 1. Identify the entities and composite entities 2. Identify the entities’ attributes and primary key 3. Identify the relationships among the entities and between entities and composite entities 4. Specify the relationships' integrities
Draw an E-R diagram for each of the following situations (if you believe that you need...
Draw an E-R diagram for each of the following situations (if you believe that you need to make additional assumptions, clearly state them for each situation): 1. A laboratory has several chemists who work on one or more projects. Chemists also may use certain kinds of equipment on each project. Attributes of CHEMIST include Employee_ID (identifier), Name, and Phone- No. Attributes of PROJECT include ProjecUD (identifier) and Start_Date. Attributes of EQUIPMENT include Serial_No and Cost. The organization wishes to record...
What is the Proper E/R diagram for these 5 Departments Entities that support the Volunteer management...
What is the Proper E/R diagram for these 5 Departments Entities that support the Volunteer management software: Volunteer-Details (entity) Volunteer-name (Entity) Volunteer-age(entity) Volunteer-sex (entity) Volunteers clocked in (entity) Volunteers clocked out (entity) Entities that support the Guest management software: Guest (entity) Admission (entity) Guest-name (entity) Guest-age (entity) Guest-sex (entity) Beds(entity) Shower (entity) Laundry-service (entity) Meals (entity) Basic-medical-care (entity) Emergency-services(entity) Rule-Violation (entity) Entities that support the Scheduling software: Volunteer Shifts(entity) Monday Tuesday Wednesday Thursday Friday Saturday Sunday Employee Shifts (entity) Monday...
A. Rectangles B. Circles C. Diamonds D. Lines In an E-R diagram, entities are represented as:
A. Rectangles B. Circles C. Diamonds D. Lines In an E-R diagram, entities are represented as:
You have been requested to design a schema (as an E/R diagram) for the contact-tracing database....
You have been requested to design a schema (as an E/R diagram) for the contact-tracing database. Your group is busy working to design and field a contact-tracing database to be able to trace rapidly people who may have been in close proximity (contact) to someone diagnosed with a highly infectious disease. The Contact Tracing Domain To be able to trace with whom a person has been in contact, we need to know where that person has been and when. We...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT