Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 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

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

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

$16.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

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
599
Member since
4 year
Number of followers
518
Documents
2658
Last sold
2 days 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.9

75 reviews

5
40
4
11
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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions