0% found this document useful (0 votes)
120 views4 pages

Hospital Mangment System: Database Assigment

The document contains information about normalizing a hospital database from 1NF to 7NF. It includes 7 tables with fields that are separated into individual tables to reduce data redundancy and improve data integrity. The tables store information about patients, doctors, labs, rooms, bills and the relationships between them. It also includes a table showing the resources needed for the database including a laptop, database software, and internet/YouTube access.

Uploaded by

Biruk Kassahun
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)
120 views4 pages

Hospital Mangment System: Database Assigment

The document contains information about normalizing a hospital database from 1NF to 7NF. It includes 7 tables with fields that are separated into individual tables to reduce data redundancy and improve data integrity. The tables store information about patients, doctors, labs, rooms, bills and the relationships between them. It also includes a table showing the resources needed for the database including a laptop, database software, and internet/YouTube access.

Uploaded by

Biruk Kassahun
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/ 4

Name ID

Biruk Kassahun UU79644R


Abel Million UU80247R

HOSPITAL Anteneh Girma


Haile Getachew
Fanuel Aysheshim
UU80323R
UU79768R
UU79700R
`

MANGMENT
SYSTEM
DATABASE ASSIGMENT
Table 1:
tblPatient
(1NF)

Field
Description Type Length
Name Table 2: tblDoctor (2NF)

patient_id Field Name Description Type Length


Patient ID varchar 10
(PK)
doctor_id (PK) Doctor ID varchar 10
Patient
name varchar 50
Name

age Patient Age int 3


name Doctor Name varchar 30

Patient
gender varchar 50
Gender
age Doctor Age int 3

Patient
address varchar 50
Address
gender Doctor gender varchar 50

Patient
disease varchar 50 address Doctor Address varchar 50
Disease

doctor_id
Doctor ID varchar
(FK) 20

Table 4:tblPatient(4NF)

Table 3: tblLab (3NF)


Field Field Name Description Type Length
Name Description Type Length

patient_id (PK) Patient ID varchar 10


lab_no Laboratory Number
(PK) varchar 10
room_no (FK) Room Number varchar 50

patient_id Patient ID
(FK) varchar 10 date_of_adm Date of Admission Date/Time 10

doctor_id Doctor ID date_of_dis Date of Discharge Date/Time 10


(FK) varchar 10

lab_no (FK) Laboratory Number varchar 10


Laboratory Date Date/Ti
date me 10

Amount of Lab
amount int 20
Table 5: tblOutpatient (5NF) Table 6: tblRoom (6NF)

Field Name Description Type Length


Field Name Description Type Length

patient_id
(PK) Patient ID varchar 10

room_no (PK) Room Number varchar 50

date Date of Outpatient varchar 10

room_type Room Type varchar 50


Laboratory
lab_no (FK) Number varchar 20

status Status Of Room varchar 20

Table 7: tblBill (7NF)

Field Name Description Type Length

bill_no (PK) Patient ID int 11

patient_id (FK) Patient Name varchar 10

doctor_charge Patient Age int 10

room_charge Patient Gender int 10

no_of_days Patient Address int 10

lab_charge Patient Disease int 10

bill Doctor ID int 10


Normalization :

Database Type Tables

Patient ID,Patient Name,Patient Age,Patient


Denormalized Gender,Patient Address,Patient Disease,Doctor ID

Doctor ID,Doctor Name,Doctor Age,Doctor


Normalized(1NF) gender,Doctor Address

Laboratory Number,Patient ID,Doctor


Normalized(2NF) ID,Laboratory Date,Amount of Lab

Laboratory Number,Patient ID,Doctor


Normalized(3NF) ID,Laboratory Date,Amount of Lab

Patient ID,Room Number,Date of Admission,Date


Normalized(4NF) of Discharge,Laboratory Number

Normalized(5NF) Patient ID,Date of Outpatient,Laboratory Number

Normalized(6NF) Room Number,Room Type,Status Of Room

Patient ID,Patient Name,Patient Age,Patient


Normalized(7NF) Gender,Patient Address ,Patient Disease,Doctor ID

Name of
S. No. Resources/material Specifications Qty

Core i7 -2.6 GHz 8


GB Ram 64-bit
1 Laptop operating system- 1
windows

10

POSTGRES AND
2 Software VALENTINADB --
Internet,

3 Other resources YouTube --

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy