You must submit two separate copies (one Word file and one PDF file) using the Assignment Template on Blackboard via the allocated folder. These files must not be in compressed format.
It is your responsibility to check and make sure that you have uploaded both the correct files.
Zero mark will be given if you try to bypass the SafeAssign (e.g., misspell words, remove spaces between words, hide characters, use different character sets, convert text into image or languages other than English or any kind of manipulation).
Email submission will not be accepted.
You are advised to make your work clear and well-presented. This includes filling your information on the cover page.
You must use this template, failing which will result in zero mark.
You MUST show all your work, and text must not be converted into an image, unless specified otherwise by the question.
Late submission will result in ZERO mark.
The work should be your own, copying from students or other resources will result in ZERO mark.
Use Times New Roman font for all your answers.
Project Instructions
You can work on this project as a group (minimum 3 and maximum 4 students). Each group member must submit the project individually with all group member names mentioned in the cover page.
This project worth 14 marks and will be distributed as in the following:
a)Identify the entity types, attributes, keys. (2 marks)
b)Identify the relationship and cardinalities. (2 marks)
c)Draw the ERD. (2 marks)
d)Schemas before Normalization. (1.5 marks)
e)Schemas after Normalization. (1.5 marks)
f)Create the tables. (1.5 marks)
g)Populate your tables with at least 5 rows. (1.5 marks)
h)Execute the requested sample queries. (2 marks)
Each student must submit one report about his/her chosen Project via the Blackboard (Email submission will not be accepted which will be awarded ZERO marks)
Screenshots for answering SQL questions (f, g, and h).
You are advised to make your work clear and well presented; marks may be reduced for poor presentation. This includes filling your information on the cover page.
You MUST show all your work, and text must not be converted into an image, unless specified otherwise by the question.
A)Late submission will result in ZERO marks being awarded.
B)The work should be your own, copying from students or other resources will result in ZERO marks.
Learning Outcome(s):
LO 4
Design a database starting from the conceptual design to the implementation of database schemas.
LO 3
Create Entity-Relationship model, Relational model, and write SQL queries.
Hospital Management System
Year 2030, you are hired as a database developer in local hospital. The top management of the hospital is interested to design a new database to manage their daily routine work. In the requirement identification phase, you have identified five core elements in the hospital:
Patients: The hospital stores crucial patient data, including their personal information (first name, last name, date of birth, gender), contact details (phone number, address), insurance information, and their medical history.
Doctors: Hospital also maintains records of the medical professionals, including their specialization, contact information, license number, office hours, and email addresses.
Appointments: For efficient management of the patients visits to the hospitals, the data about each appointment is stores as it connects patients with specific doctors. The appointment date and time, the reason for the visit, and the appointment status (e.g., scheduled, canceled, completed) is also stored.
Medical Records: A comprehensive record of patients’ medical histories is maintained. It includes diagnosis details, treatment plans, prescriptions, test results, and the date of each medical visit. These records are associated with both patients and doctors.
Medical Staff: Data related to hospital staff members, such as nurses, receptionists, and administrators is also stored. Information like their roles, contact details, shift timings, and salary is recorded for proper staff management.
Hospital Management System
a)Fill the table below with all the Entities based on the given requirements:
Entity Type
Attributes of the Entity
Key
b)Fill the table below with all the relationship type based on the given requirements.
Relationship Type
Entities connected by the relationship type
Cardinality
Relationship attribute
c)Draw the ER diagram
d)Fill the table below with all schemas before normalization.
Schema Name
Schema Attribute
Key
e)Fill the table below with all schemas after normalization up to the 3NF.
Schema Name
Schema Attribute
Key
f)Write the necessary SQL statements to create the tables.
g)Insert at least five rows into each table.
h)Write SQL queries to find the following:
1)List of Doctors who have performed more than 10 surgeries.
2)List of Patients admitted for surgery between 1/9/2023 and 31/9/2023.
3)List of all the Patients who have not paid their bills till today.
4)List of Doctors on leave in a particular month.
5)List of Appointments with each Doctor with Patient name for a particular day.
Place this order or similar order and get an amazing discount. USE Discount code “GET20” for 20% discount