You are on page 1of 12

ETHIOPIA TECHNICAL UNIVERSITY

(etu)
INDIVIDUAL ASSIGNMENT

Department of ict

Course title Data base


Section one (1)

NO Full Name NO_ID.

1. Abinet Debele……………………………TTR/0111/12

Q1. Write at least three areas that familiar where data base system can be applied.

Answer
Data bases are used just about every where including banks, hospital, Education sector
Banks use data bases to keep track of customer accounts, balances and deposits.
For customer information, account activities, payments,
a. Banking
deposits, loans, etc.

Important for the collection of patient information. record


and keep track of detailed personal communications and
b. Hospital, medical histories

c. Education sector For student information, course registrations, colleges and


(Universities) grades.

B. Hospital Database Management Systems

Hospital database systems now provide multifaceted support for the diagnosis, treatment and

follow-up of diseases and their management.

On a hospital database every process and all data are safely recorded and stored.
Examination, medication, surgery and hospitalization reports and all the health institution’s
records are kept together with the finest detail about patients, and the patient is asked to re-
enter each time on his / her application.

Personal information (Name / Sur name, Birth Place / Date, Blood Group etc.) and contact
information are stored safely. Each transaction is stored securely in the database and can be
queried separately. With parametric query screens and search forms, search options are
offered via multiple options (Name, Gender etc.). The user-friendly, flexible and convenient
search interface provides fast and easy access to information (existek.com).

The Importance of Using Database Management Systems in Hospitals


The main function of a Database Management System (DBMS) is to store and secure
personal and corporate data. In the modern era every area of business needs DBMS to
manage its data, and so do hospitals. One of the most commonly used forms of health care
data bases are electronic health records (EHRs).

Q2 . From the three areas that selected one and prepare a conceptual design of it.

Answer

Conceptual design is the first stage in the database design process. The output of this
process is a conceptual data model that describes the main data entities, attributes,
relationships, and constraints of a given problem domain. This design is descriptive and
narrative in form.

Hospital data base conceptual design

The project hospital management system (HMS) is for computerizing the working in a
hospital. the soft ware takes care of all the requirements of an average hospital and is
capable to provide easy and effective storage of information related to patients that come up
to the hospital.

Its generates test reports; provide prescription details including various tests, check up and
medicines prescribed to patient and doctor. it also provides injections details and billing
facility.

the system also provide the facility of backup as per the requirement.
Pk= primary key
What is a Candidate Key?

CANDIDATE KEY in SQL is a set of attributes that uniquely identify tuples in a table. Candidate Key is a
super key with no repeated attributes. The Primary key should be selected from the candidate keys. Every
table must have at least a single candidate key. A table can have multiple candidate keys but only a single
primary key.

Properties of Candidate key:

 It must contain unique values

 Candidate key in SQL may have multiple attributes

 Must not contain null values

 It should contain minimum fields to ensure uniqueness

 Uniquely identify each record in a table

Candidate key Example: In the given table Stud ID, Roll No, and email are candidate keys which help us to
uniquely identify the student record in the table.

Patient id P-First P Sex P-Date of birth P-diagnoses P-telephone Email Address


Name -LastNam no
e
P-001 Hermon Tadese F 5/8/1990 Enfulenza 091234565 Abc@gmail.com

P- Marit Debebe M 6/4/1980 093477895 xyz@gmail.com

002
nimonia

pr

Patient P-First P Sex Date of birth P-diagnoses P-telephone Email


id Name -LastNa no Address
me

P-001 Hermon Tadese F 5/8/1990 Enfulenza 091234565 Abc@gmail


.com

P-002 Marit Debebe M 6/4/1980 093477895 xyz@gmail.


com

nimonia
What is the Composite key?

COMPOSITE KEY is a combination of two or more columns that uniquely identify rows in a table. The
combination of columns guarantees uniqueness, though individually uniqueness is not guaranteed. Hence,
they are combined to uniquely identify records in a table.

The difference between compound and the composite key is that any part of the compound key can be a
foreign key, but the composite key may or may be not a part of the foreign key.

Examples of Composite Key

Patient id P-Name Address Sex P-Date of birth P-diagnoses P-telephone Email Address
no

P-001 Hermon AA F 5/8/1990 Enfulenza 091234565 Abc@gmail.com

P- Marit Adama M 6/4/1980 093477895 xyz@gmail.com

002
nimonia
Examples of Composite Key

You might also like