Create a entity-relationship diagrams, Database Management System

Assignment Help:

This project requires you to create a database design.  Your design will be documented in a set of Entity-Relationship diagrams.  Draw a set of Entity-Relationship diagrams to model the following scenario.
 
OHIP wants to track its' doctors, patients and hospitals.
 
For the doctors, your design must be able to store:

  • the doctor's unique license number
  • the doctor's first name
  • the doctor's last name
  • the doctor's specialty
  • the date the doctor became licensed

For the patients, your design must be able to store:

  • the patient's unique OHIP number
  • the patient's first name
  • the patient's last name
  • the patient's address
  • the patient's date of birth

For the hospital, your design must be able to store:

  • the hospital's name
  • the city where the hospital is located
  • the province where the hospital is located
  • the number of beds in the hospital
  • a unique hospital code number (an H followed by 3 digits, for example H001).

Finally, you need to store the following relationships:

  • Depending on their specialty, a doctor will be given privileges in the any number of hospitals in their area.  Not all of the area doctors will be given hospital privileges.  A hospital will always have any number of doctors assigned privileges. 
  • When a patient is admitted to the hospital, they will always be assigned to a doctor. A patient

can be seen by more than one doctor and a doctor can have more than one patient that they are attending to. Since the assignments relate to the doctor's area of specialty, a doctor may not always have patients assigned to them. One doctor will be given the position of the Chief Doctor at the Hospital. A doctor will only be the Chief Doctor for one hospital at a time.  Every hospital must have a Chief Doctor. Not all doctors in the area will be a Chief Doctor for a Hospital in the area. When a serious medical condition arises, a patient will be admitted to the closest hospital. A hospital may have many patients, but a patient will only be admitted to one hospital. All hospitals will have patients that have been admitted and are waiting to be treated. An individual is not considered a patient of the hospital unless they have been admitted to the hospital and are waiting to be treated.


Related Discussions:- Create a entity-relationship diagrams

Use the relational algebra to formulate query, Consider the following datab...

Consider the following database schema: STAFF(StaffNo, fName, lName, Position, sex, dob, branchNo) BRANCH(BranchNo, Street, City) Assume the following for the above database

Shadow copy, why shadow copy technique is used?

why shadow copy technique is used?

Assignment, Research Value: 7% Due Date: 17-Sep-2018 Return Date: 11-Oct-2...

Research Value: 7% Due Date: 17-Sep-2018 Return Date: 11-Oct-2018 Length: 700 words Submission method options: Alternative submission method Task back to top You are required to

What is dml query langauge, What is DML Query Langauge? Data Manipulati...

What is DML Query Langauge? Data Manipulation Language (DML) - A data manipulation language is a language in which enables users to access or manipulate data as organized throu

State the design of associations, State the Design of Associations Bef...

State the Design of Associations Before designing associations, it is essential to know the way they are used. For this, analysis of association traversals is required. It is

Creating database for library, i need help with creating database system fo...

i need help with creating database system for a library

Discuss on transmission impairments, Question 1 Discuss on transmission im...

Question 1 Discuss on transmission impairments Question 2 What is framing? Question 3 Write a note on 10Base2 10Base- T Question 4 Explain the rev

Define join and outer join, Define Join and Outer Join and differentiate be...

Define Join and Outer Join and differentiate between them.      Ans: Join - It generates all the combinations of tuples from two relations which satisfy a join condition.  Oute

What are ways of finding out derived attributes, What are ways of finding o...

What are ways of finding out either an update is required or not for derived attributes? The ways to find out an update is required or, not are as: Explicit update

Explain different types of keys and relational model., Relational Model: T...

Relational Model: The relational model uses a collection of tables to represent both data and the relationships among those data. Each table has multiple columns and each column h

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd