You are on page 1of 8

Bachelor of Computer Science (Hons),

Faculty of Computer & Mathematical Sciences


UiTM Terengganu

ICT501
DATABASE MANAGEMENT SYSTEM
OCTOBER 2020 - FEB 2021

FINAL REPORT

[ XYZ HOSPITAL MANAGEMENT SYSTEM]

Student ID Student Name


2020862772 MOHAMAD IZZAT IDHAM BIN SIDEK
2020821934 MUHAMAD SYAFIQ BIN MUHAMAD SUZUKI
2021352751 ABDULLAH AKIF BIN KAMARUDDIN
2021515671 MUHAMMAD FARHAN BIN ZUBIR

Group: CS2643B2
Lecturer:
SURIANI MUDA

i
Table of Contents

1. Problem Statement ............................................................................................................................1


2. System objective ................................................................................................................................2
3. Entity Relationship Diagram (ERD) ...................................................................................................3
4. 3NF Relational Schema .....................................................................................................................4
Appendices ...............................................................................................................................................5

ii
COMPANY BACKGROUND

XYZ Hospital is the largest hospital in the country with a large number of employees in world. XYZ hospital staff
are the main asset of the hospital in holding responsibility and providing health education to all. As employees at the XYZ
hospital due to the large number of patients and our large responsibilities as employees, XYZ hospital are vulnerable to
disasters. To improve the safety of workers the hospital has set up an occupational safety and health unit (OSH). The vision
of XYZ Hospital is to point towards the safety, health and productivity of hospital staff and patients. While its mission is
to improve the safety and health of quality workers while working by organizing various health problem control programs
to avoid injuries that can occur while interacting with the workers and while working.

Hospital XYZ is a multi-specialized hospital that includes several departments, rooms, doctors, nurses, compounds
and other staff working in the hospital. Patients with various types of diseases come to the hospital and get an examination
from the doctor concerned. If necessary they are hospitalized and allowed to leave after treatment.The goal of this case
study was to design and develop a database for hospitals to maintain records of various departments, rooms, and physicians
in the hospital. It also maintains records of regular patients, patients hospitalized, patient examinations performed by
physicians, patients who have undergone surgery, and patients discharged from the hospital. In hospital, there are many
departments like Orthopedic, Pathology, Emergency, Dental, Gynecology, Anesthetics, I.C.U., Blood Bank, Operation
Theater, Laboratory, M.R.I., Neurology, Cardiology, Cancer Department and many more.

There is an OPD (Outpatient Department) where the patient comes and obtains a card (i.e. the patient’s admission
card) for examination from the relevant doctor. After making a note in the card, they went to the doctor's room and the
doctor checked their illness. Depending on the disease, the doctor either prescribes medication or admits the patient in the
department concerned. Patients can choose either a private or public room as per their needs. But before being admitted to
the hospital, the patient has to meet certain hospital formalities such as room charges, etc. After the treatment is over, the
doctor removes the patient. Prior to discharge from the hospital, the patient will again have to complete certain hospital
formalities such as balance charges, test charges, surgery charges (if any), blood charges, doctor charges, etc.

iii
Problem Statement

As we all know, XYZ Hospital is one of the busiest hospitals in Malaysia. This is because it accepts a wide range of patients
with a wide range of diseases. The arrival of these patients is due to the health sector that exists in this hospital. In other
words, the departments within it are very broad. As such, the hospital has to bear many admissions of both old and new
patients. All of these admissions require employees to obtain patient personal information such as name, address and so on.
It aims to record and store their data for future use. The hospital should also record the admission of employees such as
doctors and nurses. In addition, the hospital must also record the various departments, rooms, and doctors in hospitals
manually. It is also necessary to maintain regular records of patients, patients admitted to the hospital, examinations on
patients performed by doctors, patients who have operated on, and the patient discharged from the hospital. The hospital
also needs to record the patient who chooses either a private or public room according to his needs and before being admitted
to the hospital, the patient has to meet certain hospital formalities such as room charges, etc. The hospital will also have to
complete certain hospital formalities such as balance charges, test charges, surgical charges (if any), blood charges, doctor
charges, etc. manually. This problem opens the eyes of the upper class to develop a database to solve this matter in order
to facilitate matters efficiently and effectively.

1
System objective
The hospital must tackle all these problems effectively and efficiently. For this, the hospital must set up some
of the objectives that must clear up some of these problems. The objectives of the system are:

a. To create effective database software for Hosptal XYZ.

b. To ensure equal distribution of work on each bridge.

c. To ensure the tasks is dealt by the hospital staff is carried out in an orderly fashion and well-organize.

2
Entity Relationship Diagram (ERD)

3
3NF Relational Schema

INF

HOSPITAL (DEPARTMENT_ID, DEPARTMENT_NAME, DEPARTMENT_LOCATION, PATIENT_ID, PATIENT_NAME,


PATIENT_ADDRESS, PATIENT_GENDER, PATIENT_PHONENUMBER, PATIENT_AGE, PATIENT_ROOM,
PAYMENT_ID, PAYMENT_DATE, PAYMENT_TOTAL, PAYMENT_DETAILS, ROOM_ID, ROOM_CHARGES,
ROOM_STATUS, MEDICINE_ID, MEDICINE_NAME, MEDICINE_QUANTITY, MEDICINE_TYPE, MEDICINE_PRICE,
DOCTOR_ID, DOCTOR_NAME, DOCTOR_PHONENUM, DOCTOR_AVAILABILITY, CHECKUP_DETAILS)

2NF/3NF

DEPARTMENT (DEPARTMENT_ID, DEPARTMENT_NAME, DEPARTMENT_LOCATION, PATIENT_ID, DOCTOR_ID)


PAYMENT (PAYMENT_ID, PAYMENT_DATE, PAYMENT_TOTAL, PAYMENT_DETAILS, PATIENT_ID)
PATIENT (PATIENT_ID, PATIENT_NAME, PATIENT_ADDRESS, PATIENT_GENDER, PATIENT_PHONENUMBER,
PATIENT_AGE, PATIENT_ROOM)
ROOM (ROOM_ID, ROOM_CHARGES, ROOM_STATUS)
MEDICINE (MEDICINE_ID, MEDICINE_NAME, MEDICINE_QUANTITY, MEDICINE_TYPE, MEDICINE_PRICE,
PATIENT_ID, DOCTOR_ID)
DOCTOR (DOCTOR_ID, DOCTOR_NAME, DOCTOR_PHONENUM, DOCTOR_AVAILABILITY)
CHECKUP (PATIENT_ID, DOCTOR_ID,CHECKUP_DETAILS)

3NF
NO TRANSITIVE DEPENDENCIES

4
Appendices
Appendix A: Screen Shots of Application (Menus, reports, forms)

You might also like