You are on page 1of 59

A Project Presentation

on
Blood Bank Management System
SUBMITTED TO:
DEPARTMENT OF COMPUTER SCIENCE,
UNIVERSITY OF TURBAT

SUMITTED BY: REHAN LATIIF SHAHMURAD AND AZAD

INTERNAL SUPERVISOR: MADAM PARINAZ AND SIR MAQSOOD


ACKNOWLEDGEMENTS

We know that every event in our life brings in new challenges and opportunities. Sometime such events
span only a few days or weeks but sometimes their duration is much longer and they have a bigger
impact on our life. Becoming a graduate is a big event in one's life and hence, is with the big challenges
and opportunities. Doing a graduate degree in UOT needs two year hard work, commitment,
consistency and tenacity. A final year project is a must to complete the degree, and to stick with the
plan in a changing environment is not an easy task. In such a dynamic environment one needs a
supervisor who is trustworthy, patient, visionary, and always available. We are fortunate enough that
during process of final year project Miss Parniaz and sir maqsood supervised Us, and they meet all these
Requirements and hence our plan of project became rightly directed with an accurate pace. I learned a
lot from my supervisors. They guided us throughout the dissertation and development process, giving us
the opportunity to experiment with our aims, skills and desires. we thank her. We also direct our thanks
to all of our teachers of computer science department. Also thanks to our Family, mothers and fathers
impression of your love are on our heart that keeps us working, many thanks to both mothers and
fathers. Also thanks a lot to our brothers and sisters for their love, care and consistent support.
Shahmurad Azad and Rehan Latif Sunday, 10 may 2017
ABSTRACT

Blood bank management system is a Windows web based application using c# as a


Programming language. The main objective of developing this application is the process of
manages the blood bag that is received from the blood donor which needs a proper and
systematic management. The blood bag must be handled with care and treated thoroughly
as it is related to someone’s life. The development of Web-based Blood Bank Management
System (BBMS) is proposed to provide a management functional to the blood bank in order
to handle the blood bag. This web-based management system is being developed to meet
the requirements for all balochistan’s Hospitals. This web based application is developed
based on three sub modules; they are donor modules patient modules and blood module.
The currently hospitals might have difficult ways and approach of handling blood bag. The
technology platform in implementing this system uses visual studio programming
environment with c# using MySQL for SQL database and HTML5, CSS, bootstrap and
JavaScript+jquery for web development.
PROJECT PROFILE

Project Name
Blood Bank Managemant System

Operating system Microsoft windows 2008

Platform Web application

Front End Asp. NET 4.0 with c#

Back End Microsoft sql Server 2014

Other Tools MS Office 2013 ,Visual studio 2013

Project Duration 50 days

Internal Guide Madam Parinaz sir maqsood

Submitted To Department of computer science university of turbat

Developed By
AZAD SHAH MURAD AND REHAN LATIF
Existing system

• The operation of the blood bank still now is maintained in the manual system.

• The operation is tedious, time consuming and space consuming.

• It creates room for errors as the data is entered manually by the persons.

• It includes the risk of the documents being lost over years and maintenance of the records is

difficult.

• The data recorded during testing or while acquiring the details of different aspects of blood bank

management system is not so accurate and precise.

• Maintaining the stock of blood and the daily transactions without computerisation also poses a

challenge.
NEED FOR NEW SYSTEM

• User can view all Blood bank information location wise.

• Donor can easily donate the blood to the nearest Blood Bank Location.

• Patient can easily request for blood to the nearest Blood bank location

• This system also supports inquiries form for users.

Introduction
• The project blood bank management system is known to be a pilot project that is designed for
the blood bank to gather blood from various sources and distribute it to the needy people who
have high requirements for it.
• The software is designed to handle the daily transactions of the blood bank and search the details
when required.
• It also helps to register the details of donors, blood collection details as well as blood issued
reports.
• The software application is designed in such a manner that it can suit the needs of all the blood
bank requirements in the course of future.
 Purpose

The purpose of the blood bank management system is to simplify and automate the process of
searching for blood in case of emergency and maintain the records of blood donors, recipients, blood
donation programs and blood stocks in the bank.

 Background

A) Problem Statement

At present, the public can only know about the blood donation events through conventional media means such
as radio, newspaper or television advertisements. There is no information regarding the blood donation
programs available on any of the portal. The current system that is using by the blood bank is manual system.
With the manual system, there are problems in managing the donors' records. The records of the donor might
not be kept safely and there might be missing of donor's records due to human error or disasters. Besides that,
errors might occur when the staff keeps more than one record for the same donor. There is no centralized
database of volunteer donors. So, it becomes really tedious for a person to search blood in case of emergency.
The only option is to manually search and match donors and then make phone calls to every donor. There is
also no centralized database used to keep the donors' records. Each bank is having their own records of
donors. If a donor makes donation in different hospital, no previous records can be traced except if the donor
brings along the donation certificate. Hence, the donor is considered to be a first-timer if they make blood
donation in a new place. Without an automated management system, there are also problems in keeping track
of the actual amount of each and every blood type in the blood bank. In addition, there is also no alert available
when the blood quantity is below its par level or when the blood in the bank has expired.
B) Project Goals and Objectives

The goals and objectives of the Blood Bank Management System are as follows:

1. To provide a means for the blood bank to publicize and advertise blood donation programs.
2. To allow the probable recipients to make search and match the volunteer donors, and make request for the
blood.

3. To provide an efficient donor and blood stock management functions to the blood bank by recording the
donor and blood details.
4. To improve the efficiency of blood stock management by alerting the blood bank staffs when the blood
quantity is below it par level or when the blood stock has expired.

5. To provide synchronized and centralized donor and blood stock database.

6. To provide immediate storage and retrieval of data and information.

C) Product Description

The system that is going to be developed is Blood Bank Management System (BBMS). This is a web-based
database application system that is to be used by the blood banks or blood centers as a means to advertise
the nationwide blood donation events to the public and at the same time allow the public to make online
reservation and request for the blood. The system keeps the record of all the donors, recipients, blood donation
programs, rejected bloods. For internal works and activities intranet is used and for interaction with public
internet is used. This system also has the ability to keep track of the donor's donation records and the blood
stock in the blood bank. This project intends to computerize the blood and donor management system in a
blood bank in order to improve the record management efficiency due to the grown size of records of data.
Scope
The system is used for maintaining all the process and activities of blood bank management system. The system can
be extended to be used for maintaining records of hospital, organ donation and other similar sectors. While
developing the system, there shall be space for further modification. There shall be a proper documentation so that
further enhancement becomes easy. As a whole the system is focused to work with blood bank management system
and on additional modification it can be also used as management systems of similar organizations.

FUNCTION SPECIFICATION

1. Admin
2. Blood bank
3. Donor
4. Patient
ADMIN: -
Login/logout: allow admin to login logout.

Manage profile: allow admin to view update profile.


Manage users: allow admin to view update and delete users.
Manage Blood Banks: allow admin to view update and delete Blood Banks.
Manage Blood Groups: allow admin to view update and delete Blood Groups.
Manage City: allow admin to view update and delete City.
Manage City Area: allow admin to view update and delete Cities Area.
Manage Blood Request: allow admin to view update and delete blood requests.

Manage feedbacks: allow admin to view update and delete feedbacks.


Manage hospitals name and address: allow admin to view update and delete hospitals name and address.

BLOOD BANK: -
Login/logout: allow Blood bank to login logout.
Manage profile: allow Blood Bank to view update profile.
Manage donors: allow Blood Bank to view delete and update donors.
Manage blood Requests: allow Blood Bank to view delete and update blood Requests.
Manage Blood Groups: allow Blood Bank to view update and delete Blood Groups.
Manage City: allow Blood Bank to view update and delete City.
Manage City Area: allow Blood Bank to view update and delete Cities Area.
Manage feedbacks: allow Blood Bank to view update and delete feedbacks.

Manage hospitals name and address: allow Blood Bank to view update and delete hospitals name and address.

DONOR:
Login/logout: allow to login logout.

Manage profile: allow Donor to view update profile.


HARDWARE & SOFTWARE SPECIFICATION

 Hardware Specification:

 Server Side:

Processor 3.6 GHz

RAM 2 GB

Hard Disk 80 GB
 Client Side:

Processor 2.40 GHz

RAM 1 GB

Hard Disk 20 GB
 Software Specification:

• Server Side

Operating System Window 2008

Runtime Environment .Net Framework 4.0

Web Server IIS 7.0

Front End Microsoft Asp.Net 2015 with c#

Back End SQL server 2014

• Client Side

Operating System Windows XP or any compatible OS

Web Browser Internet Explorer 6.0 or any compatible web browser.


System Flow Chart
Start

Is
Registered No Registration
user
Yes
Login

Is
No Valid
User
Yes

No No No
Admin Blood bank Donor
Yes Yes Yes View profile
Manage bloodbank View request View profile
Patient Request
Add new blood Make new Blood
Manage donor for blood
bank Donation

Manage request Manage donor


patient
Manage Manage patient
city/location blood request

View feedback Manage inventory

Manage inquiry

A B C D
A B C D

Logout

End
Timeline Chart

50 Days
Development Duration
Phase (Day)
0 to 05 06 to 10 11 to 20 21 to 30 31 to 40 41 to 50
Day Day Day Day Day Day

Requirement
Gathering and 10
Analysis

Design 10

Coding 20

Testing 5

Implementation
& 5
Documentation

Total Time (Day) 50


E-R DIAGRAM
User User
id password

Admin
1 1
1
manage manage

Patient
id

Patient M D_
name name
patient
M
M Donor
M
D_id

has
has

M
Blood Bank
1
1

BB_id name BB_


UML DIAGRAM
Use case Diagram

Admin:
Blood Bank Management System

Registration

Login

Manage Blood bank

Manage Donor

Manage Patient request

Manage City/Location

View Feedback

Manage inquiry
Blood bank:

Blood Bank Management System

Registration

Login

View request

Add new blood bank

Manage donor

Manage patient blood request

Manage stock
Donor:

Blood Bank Management System

Registration

Login

View Profile

Make new Blood Donation


Patient :

Blood Bank Management System

Registration

Login

View Profile

Patient Request for blood


Activity Diagram

Start
Activity Diagram for Admin:

No Reg ?
Registration

Yes

login
No

Valid?

Yes

Manage blood Manage Manage Manage


Manage donor
bank patient req. city/location View feedback inquiry

logout

End
Start
Activity Diagram for blood bank:

No Reg ?
Registration

Yes

login
No

Valid?

Yes

View request Add new blood Manage donor Manage patient


Manage stock
bank blood request

logout

End
Start
Activity Diagram for Donor:

No Reg ?
Registration

Yes

login
No

Valid?

Yes

View profile Make new Blood


Donation

logout

End
Start
Activity Diagram for patient:

No Reg ?
Registration

Yes

login
No

Valid?

Yes

View profile Patient Request


for blood

logout

End
Class diagram
New Donor Request

-DD :INT
ADMIN
B ID :INT
ADMIN D NAME :STRING
-ID : STRING L_ID : INT
Blood bank
-ID : STRING
-Bloodbank_management()
+Donor_management() -B_ID : INT +Check Donore ()
-Bloodbank_management()
+Patient_Request() 1 * 1 <<USE> > +Request* new Donor ()
+Donor_management()
+User_management() Name: STRING
+Patient_Request()
+Login()
+User_management() S_ID : ID
+Login()
+Login()
+Sign_up() Patient Request Location
1 +Request_management() <<USE>>
+Donor_management() -ID :INT
B ID :INT
1 -L_ID : INT
USER S NAME: STRING
V_ID : INT
*
USER -ID: INT
+Check service ()
NAME
-ID: INTBIRTH_DATE
* +Request service ()
STATE
NAME CONTACT_NO MA
EMAIL_ID
BIRTH_DATE
CONTACT_NO MA -S ID : INT
+Register()
EMAIL_ID
STATE:STRING
+Login()
+Make_request()
+Register()
+ Provide State()
+Login()+View_services()
+Feedback()
+Make_request()
+View_services()
+Feedback()

CITY LOCATION
1 * *
-C ID : INT -LOC ID : INT
SID : INT CID : INT
SNAME : STRING L NAME: STRING

+Provide state wise city() +Provide City wise location


SEQUENCE DIAGRAM
Blood bank :

S:System D:Database
Blood bank

Registration Send Request


Successfully registered Get interface

Login(user name,passward)
Send request
Successfully login Get interface

View request
Store request
Get reply Fetch request

Add new blood bank


Store add new blood bank details
Acknowledgement
Successfully add new blood bank
Manage donor
Store donor details
Manage donor successfully Acknowledgement

Manage patient blood request Store patient blood request


Acknowledgement
Manage patient blood request
successfully Manage stock Store stock details
Acknowledgement
Manage stock successfully
logout
logout successfully

X X X
Donor :

donor S:System D:Database

Registration
Send Request
Get interface
Successfully registered
Login(user name,passward)
Send request
Get interface
Successfully login
View profile
Store profile details
Fetch profile details
Get reply
Make new Blood Donation
Store new blood details
Acknowledgement
Successfully new blood donation
logout

logout successfully

X X X
Patient :

S:System D:Database
Patient

Registration
Send Request
Get interface
Successfully registered
Login(user name,passward)
Send request
Successfully login Get interface

View profile
Store profile details
Get reply Fetch profile details

Patient Request for blood


Search patient request for blood
Give request for blood Fetch patient request for blood

logout

logout successfully

X X X
Data Dictionary

Table Name: Usertype_mst


Primary key:-u_id
Description:- This Table is store the user information

Field Name Data Type Size Constraints Description

U_id Bigint 4 Primary key To store the user id

U_type Nvarchar 50 NOT NULL To store the user type


Table Name: State_mst

Primary key:-state id
Description:- This Table is store the states information

Field Name Data Type Size Constraints Description

State_id Bigint 4 Primary key To store the state id

State name Nvarchar 50 NOT NULL To store the state name


Table Name: City_mst
Primary key:-city id
Foreign key:-state_id
Description:- This Table is store cities information with states wise

Field Name Data Type Size Constraints Description

city_id Bigint 4 Primary key To store the city_id

state_id Bigint 4 Foreign key References of the state


id from state_mst

city _name Nvarchar 15 NOT NULL Reference of the city


name form city_mst
Table Name: Location_mst

Primary key:-location id
Foreign key:-city_id
Description:- This Table is store location information cities wise

Field Name Data Type Size Constraints Description

location_id Bigint 4 Primary key To store the location id

City_id Bigint 4 Foreign key Reference fo the city id


from city_mst

location _name Nvarchar 50 NOT NULL To store the location


name
Table Name: Registration

Primary key:-R_ id
Foreign key:-u_id
Description:- This Table is store user registration information

Field Name Data Type Size Constraint Description


Reg_id Numeric 4 Primary key To store the reg_id

U_id Numeric 10 Foreign key References of the User_id from


usertype_mst
Name Nvarchar 50 NOT NULL To store the name

Cont_no Nvarchar 10 NOT NULL To store the cont no

Address Nvarchar 50 NOT NULL To store the address

State Nvarchar 15 NOT NULL To store the state

City Nvarchar 15 NOT NULL To store the city

Location Nvarchar 15 NOT NULL To store the location

Pin-code Nvarchar 10 NOT NULL To store the pin code

Email Nvarchar 30 NOT NULL To store the email


Birth date Datetime NOT NULL To store the birthdate

Gender Nvarchar 6 NOT NULL To store the gender

User_name Nvarchar 20 Unique key To store the user name

Password Nvarchar 20 NOT NULL To store the password

Security_que Nvarchar 30 NOT NULL To store the security que

Answer Nvarchar 15 NOT NULL To store the answer

Flag Bit 1 NOT NULL To store the flag


Table Name: Bloodbank_mst

Primary key:-b_id
Foreign key:-Reg_id,loc_id,city_id
Description:- This Table is store blood bank information location and cities wise

Field Name Data Type Size Constraint Description

b_id Bigint 4 Primary Key To store the blood bank _id

reg_id Bigint 4 Foreign key References of the


regstration_id from regstration
Bb_name Nvarchar 10 NOT NULL To store the blood bank name

Loc_id Bigint 4 Foreign key References the location id from


location_mst
City id Bigint 4 Foreign key References of the city id from
city_mst
Contact no Numeric 12 NOT NULL To store the contact no

Status Bit 1 NOT NULL To store the status

Ddate Datetime NOT NULL To store the donated date


Table Name: Donation_mst

Primary key:-d_id
Foreign key:-Reg_id,bb_id
Description:- This Table is store donor information for blood bank wise

Field Name Data Type Size Constraint Description

D_id Bigint 4 Primary Key To store the donation id

Reg_id Bigint 4 Foreign key References of the registration id


from registration
Name Nvarchar 10 NOT NULL To store the name

b_id Bigint 4 Foreign key References of the blood bank id


from bloodbank_mst
Bgroup Nvarchar 10 NOT NULL To store the blood group

Qty Nvarchar 20 NOT NULL To store the qty

Ddate Datetime NOT NULL To store donated date


Table Name: Blood Request

Primary key:-br_id
Foreign key:-user_id,loc_id,city_id,b_id
Description:- This Table is use to store blood request information

Field Name Data Type Size Constraint Description

br_id Bigint 4 Primary Key To store the blood bank _id

Reg_id Bigint 4 Foreign Key To store regtraction id for


Patient
B_id Bigint 4 Foreign key To fetch blood bank id

Loc_id Bigint 4 Foreign key References the location id from


location_mst

City id Bigint 4 Foreign key References of the city id from


city_mst

Contact no Numeric 12 NOT NULL To store the contact no

Bgroup Nvarchar 10 NOT NULL To store the blood group

Qty Nvarchar 10 NOT NULL To store the qty

Status Bit 1 NOT NULL To store the blood request


status for patient
D_date Datetime NOT NULL To store the donate date
Table Name: inquiry _Form

Primary key:- inq_id


Description:- This Table to store inquiry information submitted for user and visitor

Field Name Data Type Size Constraint Description

Inq_Id Bigint 4 Primary key To store the id

Name Nvarchar 20 NOT NULL To store the name

Inquiry Nvarchar Max NOT NULL To store the inquiry

Address Nvarchar 50 NOT NULL To store the address

Phone no Nvarchar 20 NOT NULL To store the phone no

Email Nvarchar 30 NOT NULL To store the email

Date Datetime NOT NULL To store the date

Flage Bit 1 NOT NULL To store the flage


Table Name: Feedback

Primary key:- fid


Description:- This Table to store feedback information

Field Name Data Type Size Constraints Description

Fid Bigint 4 Primary key To store the id

Name Nvarchar 50 NOT NULL To store the name

Email Nvarchar 50 NOT NULL To store the email

Feed back Nvarchar max NOT NULL To store the feed back
INPUT DESIGN
Testing

Name :- User login module


No Test condition Expected Result Actual output Status
(pass, fail)

Test 1 Click on submit System does not allow System displays pass
button without user user to login. message and resume
name and password. to the same page.
Test 2 Click on submit Message "please fill As expected. pass
button with invalid up the username or
user name and or password
password.
Test 3 Click on submit System allow user to System allow user to pass
button with correct login. access application
user name add based on rights given
password. to him.
Name :-User Registration
No Test condition Expected Result Actual output Status
(pass, fail)
Click on submit button System does not allow System displays pass
Test 1 without user name and user to login. message and resume
password. to the same page.
Test 2 Click on submit button Message please fill System displays pass
without correct up the correct message and resume
password & re- password & re to the same page.
password. password
Test 3 Select on user type System allow user to System allow user to pass
with correct user login. access application
registration based on right given
to him.
Name :- Blood bank
No Test condition Expected Result Actual output Status
(pass, fail)

Test 1 Click on update System does not allow System displays pass
button without add admin to save data message to the same
new information of without add blood page.
blood bank name. bank information.
Test 2 Click on edit button all Message update System allow admin pass
blood bank location successfully . to add new category
information. information into the
system.
Name :- Blood request
No Test condition Expected Result Actual output Status
(pass, fail)

Test 1 Click on update System does not allow System displays pass
button without add admin to save data message to the same
new information of without add blood page.
request for blood bank name
bank name
Name :- Donor request
No Test condition Expected Result Actual output Status
(pass, fail)

Test 1 Click on update System does not allow System displays pass
button without add admin to save data message to the same
new information of without add blood page.
donor request for bank name
blood bank name.
Name :- Feed back
No Test condition Expected Result Actual output Status
(pass, fail)

Test 1 Click on submit System does not allow System displays pass
button without name. user name message and resume
to the same page.
Test 2 Click on submit Message "please fill As expected. pass
button with invalid up their e ail id
email id
Test 3 Click on submit System allow user to System allow user to pass
button with require feedback. access application
Feedback message based on rights given
to him.
Name :- Inquiry
No Test condition Expected Result Actual output Status
(pass, fail)

Test 1 Click on submit System does not allow System displays pass
button without name. user to login. message and resume
to the same page.
Test 2 Click on submit Message "please fill As expected. pass
button with invalid up the username or
email id password
Test 3 Click on submit System allow user to System allow user to pass
button with correct login. access application
contact no based on rights given
to him.

You might also like