100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Case

CASE STUDY – DATABASE DESIGN

Rating
-
Sold
-
Pages
6
Grade
A+
Uploaded on
28-02-2022
Written in
2021/2022

CASE STUDY – DATABASE DESIGN Case Study Database Design Richard Harris DeVry University CASE STUDY – DATABASE DESIGN CASE STUDY – DATABASE DESIGN CASE STUDY – DATABASE DESIGN CASE STUDY – DATABASE DESIGN A small surgery center requires a new database. The office manager has identified the following types of data: patients, doctors, procedures and appointments. From this data requirement the following main entities have been created: Patient, Doctor, Appointment and Procedure. The relationships between the main entities can be explained as follows: • Doctors can see many patients (many to many relationship) • Patients can have many procedures (many to many relationship) • Doctors can service many appointments (many to many relationship) Due to the multiple many to many relationships between the main entities, then it is necessary to create associative tables to join the main tables together. The associative tables are: Join Patient Procedure, Join Doctor Patient and Join Doctor Appointment. The following tables detail the entities, their attributes, the data types of each attribute, if the attribute is a primary or foreign key and whether or not the attribute is required. PATIENT ENTITY Attribute (P)rimary/(F)oreign Data Type Required Key Patient ID P Short text (10) Y Last name Short text (25) Y First name Short text (25) Y Date of birth Date/time Y Social security number Short text (10) Y Sex Short text (1) Y Street address Short text (25) Y City Short text (20) Y State Short text (2) Y Postal code Short text (10) Y Phone number Short text (10) N DOCTOR ENTITY Attribute (P)rimary/(F)oreign Data Type Required Key Doctor ID P Short text (10) Y Last Name Short text (25) Y First name Short text (25) Y Specialty Short text (25) N JOIN PATIENT PROCEDURE ENTITY Attribute (P)rimary/(F)oreign Data Type Required Key Join Pat Proc ID P Short text (10) Y Doctor ID F Short text (10) Y Appointment ID F Short text (10) Y JOIN DOCTOR PATIENT ENTITY Attribute (P)rimary/(F)oreign Data Type Required Key

Show more Read less
Institution
Course









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Course

Document information

Uploaded on
February 28, 2022
Number of pages
6
Written in
2021/2022
Type
Case
Professor(s)
Jean
Grade
A+

Subjects

Content preview

CASE STUDY – DATABASE DESIGN
1


Case Study


Database Design


Richard Harris


DeVry University




CASE STUDY – DATABASE DESIGN
CASE STUDY – DATABASE DESIGN
CASE STUDY – DATABASE DESIGN
CASE STUDY – DATABASE DESIGN

, CASE STUDY – DATABASE DESIGN
2




A small surgery center requires a new database. The office manager has identified the

following types of data: patients, doctors, procedures and appointments. From this data

requirement the following main entities have been created: Patient, Doctor, Appointment and

Procedure. The relationships between the main entities can be explained as follows:


Doctors can see many patients (many to many relationship)

Patients can have many procedures (many to many relationship)

Doctors can service many appointments (many to many relationship)

Due to the multiple many to many relationships between the main entities, then it is

necessary to create associative tables to join the main tables together. The associative tables are:

Join Patient Procedure, Join Doctor Patient and Join Doctor Appointment. The following tables

detail the entities, their attributes, the data types of each attribute, if the attribute is a primary or

foreign key and whether or not the attribute is required.


PATIENT ENTITY
Attribute (P)rimary/(F)oreign Data Type Required
Key
Patient ID P Short text (10) Y
Last name Short text (25) Y
First name Short text (25) Y
Date of birth Date/time Y
Social security number Short text (10) Y
Sex Short text (1) Y
Street address Short text (25) Y
City Short text (20) Y
State Short text (2) Y
Postal code Short text (10) Y
Phone number Short text (10) N

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
lecden Miami Dade College - Interamerican Campus
Follow You need to be logged in order to follow users or courses
Sold
591
Member since
4 year
Number of followers
518
Documents
2684
Last sold
1 week ago
Best study guide exam's question and answers

1 We offer education materials, 2 Exams with correct answers and some explanation on it. 3 Best of study guide,do some Purchasing improve in your education or improve your students knowledge.

3.8

69 reviews

5
35
4
10
3
10
2
6
1
8

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions