0% found this document useful (0 votes)
28 views3 pages

DC241 STID5034 - Assignment 1

answer

Uploaded by

salma.akter2214
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views3 pages

DC241 STID5034 - Assignment 1

answer

Uploaded by

salma.akter2214
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

STID5034 – DATABASE SYSTEMS

SEMESTER 1 2024/2025
ASSIGNMENT 1
LECTURER TS.: DR. NUR HANI ZULKIFLI ABAI

HOSPITAL MANAGEMENT SYSTEM


XYZ Hospital is a multi specialty hospital that includes a number of departments, rooms, doctors, nurses, compounders,
and other staff working in the hospital. Patients having different kinds of ailments come to the hospital and get checkup
done from the concerned doctors. If required they are admitted in the hospital and discharged after threatment.
The ain of this case study is to design a database for the hospital to maintain the records of various departments, rooms,
and doctors in the hospital. It also maintains records of the regular patients, patients admitted in the hospital, the check up
of patients done by the doctors, the patients that have been operated, and patients discharged from the hospital.
In hospital, there ate manu departments lije Orthopedic, Pathology, Emergency, Debtal, Gynecology, Anesthetics, I.C.U.,
Blood Bank, Operation Theather, Laboratory, M.R.I/, Neurology, Cardiology, Cancer Department, Corpse, etc. There is an
OPD where patients come and get a card (that is, entry card of the patient) for check up from the concerned doctor. After
making entry in the card, they go to the concerned doctor’s room and the doctor checks up their ailments. According to the
ailments, the doctor either prescribes medicine or admits the patients in the concerned department. The patient may choose
either private or general room according to his/her need. But before getting admission in the hospital, the patient has to
fulfill certain formalities of the hospital like room charges, etc. after the treatment is completed, the doctor discharges the
patient. Before discharging from hospital, the patient again has to complete certain formalities of the hospital like balance
charges, test charges, operation charges (if any), blood charges, doctors’ charges, etc.
Next we talk about the doctors of the hospital. There are two types of the doctors in the hospital, namely, regular doctors
and call on doctors. Regular doctors are those doctors who come to the hospital daily. Calls on doctors are those doctors
who are called by the hospital if the concerned doctor is not available.
Following are the information regarding Hospital Management.
1. Department information that are required includes department name, department location, and facilities available in
that department. Each department name will be unique for each department.
2. Information about all the doctors working for the hospital also needs to be stored including the departments thet are
associated with. Each doctor is given an identity number starting with DR or DC prefixes only. Identity number is
unique for each doctor and the corresponding department should exist in Department table. The system should also
stored details of regular doctors working in the hospital. Doctors are referred to by their doctor number. The detail
information includes name, qualification, address, phone number, salary, date of joining, etc. Doctor’s number
entered should contain DR only as a prefix. Doctors on call called by hospital when additional doctors are required.
They are referred to by their doctor number. Other personal details like name, qualitification, fees per call, payment
due, address, phone number, etc., are also stored. Doctors on call number entered should contain DC only as prefix.
3. Patient record is created when any patient arrives in the hospital for a check up. When patient arrives, a patient
number is generated which acts as a primary key. Other details like name, age, sex, address, city, phone number,
entry date, name of the doctor referred to, diagnosis, and department name are also stored. After storing the
necessary details patient is sent to the doctor for check up. Patient number should begin with prefix PT. Sex should
be M or F only. Doctor’s name and department referred must exist. The details of patient check up who get treatment
from the doctor referred to must be stored. Details like patient number, doctor number, date of check up, diagnosis,
and treatment are stored. Patient status is used to indicate whether patient is admitted, referred for operation or is a
regular patient of the hospital.
4. If patient is admitted, further details need to be stored. When patient is admitted,his/her related details are stored in
this table. Information stored includes patient number, advance payment, mode of payment, room number,
department, date of admission, initial condition, diagnosis, treatment, number of the doctor under whom treatment
is done, attendant name, etc. Patient number, Department, doctor number, and room number must be valid. An entry
is made whenever a patient gets discharged from the hospital. Each entry includes details like patient number,
treatment given, treatment advice,payment made, mode of payment, date of discharge,etc.
5. If patient referred for operation, further details also need to be stored. Information stored includes patient number,date
of admission,date of operation, number of the doctor who conducted the operation,number of the operation theatre
in which operation was carried out, type of operation,patient’s condition before and after operation, treatment
advice,etc. Patient number, department, doctor number should exist or should be valid.
6. The information of all rooms in the hospital also need to be stored. The details inclide room number, room type(genera
or private), status(whether occupied or not), if occupied, then patient number, patient name, and chargers per day
also need to be stored. Room number should be unique. Room type can only be G or P and status can only be Y or
N.

INSTRUCTIONS :

1. Draw a complete EER diagram.


a. List all the entities (including subclass) and attributes.
b. Identify the primary key for the entity.
c. Identify relations between attributes
d. Determine and represent the multiplicity constraints for each relationship

2. Map the EER Diagram into Relational schema for the case study

3. Normalise the Relational Schema.

DATELINE: 15th October 2024

You might also like