Вы находитесь на странице: 1из 9

United International

University
Department of Computer Science and
Engineering

Project Report:
Database Management System
Laboratory

SL
1
2
3
4

ID

Section
Project Name

Name

011131162
A
Md.Kamrul Islam
Hospital
Management
System
011131072
A
S.M Shohan

Team ID:
ERD]

[you will get it after submitting up to

Project

1. Project Description
The project Hospital Management system includes
registration of patients, storing their details into the
system, and also computerized billing in the pharmacy,
and labs. The software has the facility to give a unique id
for every patient and stores the details of every patient
and the staff automatically. It includes a search facility to
know the current status of each room. User can search
availability of a doctor and the details of a patient using
the id.

2. Project Features
1. Appointment for patient
2. Patient Record
3. Medicine Records
4. Nursing and discharging records

3. Project ER Diagram

Reception
Name
R_id
Received

Patient
Name
P_id
Diseases_Type

Doctor

Contract_No

Name
Treats

D_id

Gender

Phone_No

Date_of_Birth

Department

Admited_Date

Gender

Discharge_Dat
e

Assigned Into
Issue
Give

Nurse
Name

Governs

N_id

Bill
Bill_No

Ward
Normal_Bed
Normal_Roo
m
VIP_Room
Ward_id

Doctor_Bill
Room_Bill
Medicine

4. Project Schema Diagram


[Add your schema diagram in this page. No need to add extra description.]

Receptio
Name
R_id
Pid

Doctor

Billno

Patient
Name
P_id

Name

Contract_No

D_id

Diseases_Type

Phone_No

Gender

Department

Date_of_Birth

Gender

Admited_Date
Discharge_Dat
e
Did

Bill

Nurse
Name
N_id

Bill_No

Ward
Normal_Bed
Normal_Roo
m
VIP_Room
Ward_id
Nid
Pid

Doctor_Bill
Room_Bill
Medicine
Pid

5. Source of Database
[Add the SQL sources of your database tables. Add the source as a valid sequence
of table creation.]

create database hospital_management

CREATE TABLE doctor(


Name varchar(10),
D_id char(9),
Phone_No char(11),
Department varchar(11),
Gender varchar(6),
PRIMARY KEY (D_id)
);

CREATE TABLE nurse(


Name varchar(10),
N_id char(6),
primary KEY (N_id)
);

CREATE TABLE patient(


Name varchar(10),
P_id char(10),
Contract_No char(10),
Diseases_Type varchar(20),
Gender varchar(7),
Date_of_Birth varchar(15),
Admited_Date varchar(15),
Discharge_Date varchar(15),
Did char(9),
PRIMARY key(P_id),
FOREIGN KEY(Did) REFERENCES doctor(D_id)

);
CREATE TABLE ward(
Normal_Bed varchar(12),
Normal_Room varchar(11),
VIP_Room varchar(13),
Ward_id char(9),
Nid char(6),
Pid char(10),
PRIMARY key(Ward_id),
FOREIGN KEY(Nid) REFERENCES nurse(N_id),
FOREIGN KEY(Pid) REFERENCES patient(P_id)
);
CREATE TABLE bill(
Bill_No char(8),
Doctor_Bill varchar(8),
Room_Bill varchar(8),
Medicine_Bill varchar(8),
Pid char(10),
PRIMARY KEY (Bill_No),
FOREIGN key(Pid) REFERENCES patient(P_id)
);
CREATE TABLE receptionist(
Name varchar(15),
R_id char(10),
Pid char(10),
Billno char(8),
PRIMARY KEY(R_id),
FOREIGN KEY(Pid) REFERENCES patient(P_id),
FOREIGN KEY(Billno) REFERENCES bill(Bill_no)
);

6. Screenshots
[Add some screenshots to present your project as well as database visually.]

7. Conclusions
[Conclude your report with what you have learnt from this project]

Вам также может понравиться