Database Technologies - Data model development and implementation
Purpose of the assessment
The purpose of this assignment is to develop data models and map Database System into a standard development environment to gain understanding of data model development. Then implement the data model using a commercially available database management system development tool.
On completion of this assignment students will be able to:
a. Make an informed and critical assessment of database management systems.
b. Develop data models and implement DB systems.
c. Analyse business decisions related to DB information systems.
d. Demonstrate skills in building a database application using a commercially available database management system development tool.
Assignment Description
1. Knox private Hospital contracted with GreenITservices to develop and design their hospital database, the hospital IT Manager provided the following business rules to the GreenIT services software developer:
User view 1 requirement :Patients are identified by a PatientID, and their names, addresses, and ages must be recorded.
User view 2 requirement : Doctors are identified by a DoctorID. For each doctor, the name, specialty, and years of experience must be recorded.
User view 3 requirement :Every patient has a primary physician/doctor. Every doctor has at least one patient.
User view 4 requirement :Doctors prescribe drugs for patients. A doctor could prescribe one or more drugs for several patients, and a patient could obtain prescriptions from several doctors. Each prescription can have more than one drug.
User view 5 requirement: For each drug, identified by DrugID and the trade name and formula must be recorded.
User view 6 requirement: Each pharmacy sells several drugs and has a price for each. A drug could be sold at several pharmacies, and the price could vary from one pharmacy to another.
User view 7 requirement:Each pharmacy has a unique name, address, and phone number.
Complete the information-level design for the database that satisfies the above constraints and user view requirements. In order to complete this information-level design you are required to answer questions given below 1(a) - (f).
a. Represent the User Views as a collection of Tables. Determine the primary key for each table (underline).
Eg. Patient (PatientID, name,.......)
b. Determine the relationships between entities.
Eg.Every patient has a primary physician/doctor. - One-to-many,
c. Determine the functional dependences.
Eg.PatientID→ name, address, age, ......
d. Then normalise the tables.
e. Represent the structure of your database visually by using the entity-relationship (E-R) diagram.You can use Visio or any other tool to create the ER diagram.
f. Build this model using MS Access by creating these tables and Relationships in Access. Populate these tables with appropriate data, at least 3 records in each table. Include :
I. Relationship diagram created in Access. (Select database tools →Relationships in the Access menu)
II. Data sheet view and design view of your tables.Eg.