Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

DATA AND INFORMATION MANAGEMENT, I

EXERCISE 1: DATABASE DESIGN

Mountain View community hospital case study


 
 
Business Rules:
 Each Care center has one or many employees in it.

 Each employee is assigned in one or more Care center

 Each Care center has one nurse in charge.

 One nurse can be in charge of one or more Care center


(Nurse is a employee).

 Nurse may or may not record any number of vital records


of patient. Each patient’s v
 italrecord is recorded by exactly one nurse.

 Working hours of each employee in a particular care


center are recorded.
 Physician can refer any number of patients or may not
refer any patient. Each patient isreferred by exactly one
physician.

 Physician can admit any number of patients or may not


admit any patient. Each patient isadmitted by exactly one
physician.

 Physician can order any number of treatments or may not


order any treatment for patient.Patient may or may not
have treatments performed by any number of physician.
Hospitalrecords treatment date, time and results.

 Physician may or may not diagnose any number of


diagnosis conditions for patient. A patientmay or may
not be diagnosed. Hospital records date and time of
diagnosis.

 Diagnosis unit can provide one or more treatment. Each


treatment is provided by exactly onediagnosis unit.
 Each facility may or may not have any number of
diagnosis unit. Each diagnosis unit belongsto exactly one
facility.
 Facility may or may not have any number of Care center.
Each care center is belongs toexactly one facility.
 Facility may or may not have any number of physicians.
Each physician may or may not belongs to any number of
facilities.
 Care center has one or more rooms. Each room may or
may not belong to a care center. Aroom may or may not
have any number of beds. Each bed belongs to exactly
one room.
 A patient may or may not be assigned a bed. A bed may
or may not assigned to a patient.
 Patient can consume any number of items or may not
consume any item. Each item may ormay not be
consumed by any number of patients.
 Vendor can supply any number of items or may not
supply any item. Each item is supplied by one or more
vendor.
 Patient can have any number of charges/bills or may not
have any charge/bill. Eachcharge/bill belongs to exactly
one patient.

 Patient charge/bill may or may not have charges for


room.
 Patient can be charged for any number of treatments or
items
Additional rules

 A Person can be an Employee, Physician, Patient or a


Volunteer. A Person may belong to zero ormore groups.

 A Patient can only be a In Patient or an Out Patient. A


Patient may not belong to both groups.

 An Out Patient may or may not be scheduled for one or


more Visits. A Visit is scheduled for exactlyone Out
Patient.

 A In Patient is assigned exactly one Bed. A Bed may or


may not be assigned to a In Patient.

 A Person can be an Employee, Physician, Patient or a


Volunteer. A Person may belong to zero ormore groups.

 An Employee can be Staff, Nurse or a Technician.

 A Nurse can either be RN certified or LPN certified.


 A RN certified Nurse may or may not be assigned nurse-
in-charge for a Care Center.

 Each Care Center has exactly one nurse-in-charge for the


day and one nurse-in-charge for night.

 A LPN certified nurse works under exactly one RN


certified nurse. A RN certified nurse may or maynot lead
one or more LPN nurses.

 A Technician may have one or more Skills.


 A Technician is assigned to exactly one Work Unit. A
Work Unit may or may not have one or moreTechnicians.

 A Staff is assigned to exactly one Work Unit. A Work


Unit may or may not have one or more Staff.

You might also like