Fundamentals of Database

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:
    • Identify the entity types, attributes, keys.                        (2 marks)
    • Identify the relationship and cardinalities.                       (2 marks)
    • Draw the ERD.                                                                 (2 marks)
    • Schemas before Normalization.                                       (1.5 marks)
    • Schemas after Normalization.                                          (1.5 marks)
    • Create the tables.                                                              (1.5 marks)                                                   
    • Populate your tables with at least 5 rows.                        (1.5 marks)
    • 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.
  • Late submission will result in ZERO marks being awarded.
  • The work should be your own, copying from students or other resources will result in ZERO marks.

Learning Outcome(s):  LO 4Design 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        

  1. Fill the table below with all the Entities based on the given requirements:
Entity TypeAttributes of the EntityKey
                         
  • Fill the table below with all the relationship type based on the given requirements.
Relationship TypeEntities connected by the relationship typeCardinalityRelationship attribute
                
  • Draw the ER diagram
  • Fill the table below with all schemas before normalization.
Schema NameSchema AttributeKey
               
  • Fill the table below with all schemas after normalization up to the 4NF.
Schema NameSchema AttributeKey
               
  • Write the necessary SQL statements to create the tables.
  • Insert at least five rows into each table.
  • 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.
Click here to order similar paper @Udessaywriters.com.100% Original.Written from scratch by professional writers.

You May Also Like

About the Author: admin