Professional Documents
Culture Documents
Robe
UNIVERSITY OF MADDA
WALABU
PROJECT ADVISOER:MIS.CHALA
DATE 30/06/2015
1
Web based blood bank management system for Bale Robe
Declaration
This is to declare that the project work which is done under the advisor of MIS
SAMIRAWIT DEGU and having the title of Bale Robe Blood Bank Management System is
developed under the sole contribution of:
NAME ID
No part of the project work has been reproduced illegally (copy and paste) which can be
considered as Plagiarism. All referenced parts have been used to argue the idea and cited
properly. We will be responsible and liable for any consequence if violation of this declaration is
proven. Date:30/06/2015
i
Certificate
I certify that this BSc industrial project entitled web based blood bank management system for
Bale Robe blood bank written by:
Yeshanbal Gebre
Hawa Gesit
Gebremichael Birhanie
Besufikad Girema
Adem Mekonnen
Fentaw Kassie
Beletech Ambachew
is approved by me for submission. I certify further that, to the best of my knowledge, the project
represents work carried out by the students.
ACKNOWLEDGMENT
First and for most and above all our biggest thanks goes to “GOD” because
nothing could be possible without his free will , keep our safe, Give power and energy and help
us to finish this project successfully. Secondly we would like to express our deepest appreciation
and Thanks to our adviser M.S Samrawit Degu for her advice and constrictive commit in our
project what we have to do timely and efficiently. And thirdly we would like to thank Computer
science academic staff for their guide line preparation which help us as framework to develop
our project and lastly our thanks goes to Mr.Demeke Tilahun North Gondar blood bank manager
who provide the necessary information, encouragement and comments .
ii
iii
Web based blood bank management system for north 2019
Gondar
Table of Contents
Declaration...................................................................................................................................................
Certificate....................................................................................................................................................
ACKNOWLEDGMENT............................................................................................................................
ACRONYMS.................................................................................................................................................
CHAPTER ONE.........................................................................................................................................
1. INTRODUCTION..................................................................................................................................
1.1. Background......................................................................................................................................
1.2. Statement of the problem.................................................................................................................
1.3. Objective of the project....................................................................................................................
1.3.1. General objectives.....................................................................................................................
1.3.2. Specific objective......................................................................................................................
1.4. Scope of the project..........................................................................................................................
1.5. Limitation of the project...................................................................................................................
1.6. Methodology....................................................................................................................................
1.6.1. System development methodology............................................................................................
1.6.2. Investigation (fact-finding) methods.........................................................................................
1.6.2.1. Observation............................................................................................................................
1.6.2.2 Interview:................................................................................................................................
1.6.2.3. Document analysis:................................................................................................................
1.6.3. Tools used to develop the system..............................................................................................
1.7. Significance of the project................................................................................................................
1.8. The Beneficiaries of the system.......................................................................................................
1.8.1. Blood donors.............................................................................................................................
1.8.2. Blood seeker (seekers and clinic)..............................................................................................
1.8.3. Blood bank organization...........................................................................................................
1.8.4. Project team members...............................................................................................................
1.9. Feasibility study...............................................................................................................................
1.10. Technical Feasibility..................................................................................................................
1.11. Operational Feasibility...............................................................................................................
1.12. Economic Feasibility......................................................................................................................
v
Web based blood bank management system for north 2019
Gondar
vi
Web based blood bank management system for north 2019
Gondar
List of Table
Table 2-1 Table for Login description ...................................................................................................... 24
Table 2-2 Table for post information description .................................................................................... 25
Table 2- 3 Table for view report description ........................................................................................... 25
Table 2-4 Table for approve description ................................................................................................. 26
Table 2-5 for view Feedback description ................................................................................................ 27
Table 2-6 for Blood seeker registration description ................................................................................. 28
Table 2-7 Table for manage account ....................................................................................................... 29
Table 2-8.Table for generate report description ....................................................................................... 30
Table2-9 Table for give feedback description ......................................................................................... 31
Table 2-10 Table for blood request description ....................................................................................... 32
Table 2-11 Table for donor registration description ................................................................................ 33
Table 2-12 Table for donation request description .................................................................................. 34
Table 2-13 Activity diagram description ................................................................................................. 35
Table 2-14 Attribute description for admin ............................................................................................. 42
Table 2-15 Attribute description for Nurse.............................................................................................. 42
Table 2-16 Attribute description for Blood donor ................................................................................... 42
vii
Web based blood bank management system for north 2019
Gondar
List of figure
Figure 1. 1 Time Schedule ........................................................................................................... 9
Figure 2- 1 Use case diagram for north Gondar blood bank management system........................ 22
Figure 2- 2 Activity diagram for login ....................................................................................... 36
Figure 2- 3 Activity diagram for generate report ....................................................................... 37
Figure 2- 4 Activity diagram for register.................................................................................... 38
Figure 2- 5 Activity diagram for create account ......................................................................... 38
Figure 2- 6 Activity diagram for post information ...................................................................... 39
Figure 2- 7 Activity diagram for send blood request .................................................................. 39
Figure 2- 8 Activity diagram for view report.............................................................................. 40
Figure 2- 9 Activity diagram for register blood .......................................................................... 40
Figure 2- 10 Activity diagram for donation request .................................................................... 41
Figure 2- 11 Class diagram ....................................................................................................... 44
Figure 2- 12 Sequence diagram for login .................................................................................. 45
Figure 2- 13 Sequence diagram for View blood ........................................................................ 46
Figure 2- 14 Sequence diagram for request blood ..................................................................... 47
Figure 2- 15 Sequence diagram for Create account .................................................................... 48
Figure 2- 16 Sequence diagram for give Donor registration ...................................................... 49
Figure 2- 17 Sequence diagram for view report......................................................................... 50
Figure 2- 18 State chart diagram for Login ................................................................................ 51
Figure 2- 19 State chart diagram for Seeker registration ............................................................ 52
Figure 2- 20 State chart diagram for Seeker registration ............................................................. 52
Figure 2- 21 State chart diagram for Seeker registration ............................................................. 53
Figure 2- 22 User interface for login .......................................................................................... 54
Figure 2- 23 User interface for Home page ............................................................................... 55
Figure 2- 24 User interface for Donor registration..................................................................... 56
viii
Web based blood bank management system for north 2019
Gondar
ACRONYMS
BBMS:Blood bank management system
DB: Database
HW: Hardware
INFO: Information
MS: Microsoft
ix
Web based blood bank management system for north 2019
Gondar
REQ: Requirement
SW: Software
x
Web based blood bank management system for north 2019
Gondar
ABSTRACT
The main objective of this project is developing a web based blood bank management system to
North Gondar Blood bank.A blood bank information management system holds information
about blood groups, blood donors and keeps samples of blood gathered as a result of blood
donation. However, the current system is limited on manual work. This has limitation on
controlling the work securely, for declaring the result on time, and has high consumption on
resources.Web based Blood Bank management System is an online portal to facilitate the co-
ordination between supply and demand of blood. The whole purpose of the project is bringing
an online edge for blood donors, blood Seekers and also to create an interactive way of bringing
the Blood donors and Blood Seeker. The system gives a lot of information about Blood groups,
donation methods, frequency of blood donation and the details of the coming blood donation
camps. Besides, extra features in the system such as security protection by using password,
Generating reports, reminders of blood stock shortage and workflow tracking can even enhance
the efficiency of the management in the blood banks. The methodology that we use to develop
the system is object oriented specifically iterative technique.
xi
Web based blood bank management system for north 2019
Gondar
CHAPTER ONE
1. INTRODUCTION
1.1. Background
Blood is a specialized body fluid in humans that delivers necessary
substance such as nutrients and oxygen to the cell and transport metabolic
waste product away from cells. Human blood is an element of human life
[1]. The national blood bank service of
Ethiopia’s (NBBS) was established in1969 by Ethiopian Red Cross society but
since 2004 has been known by the federal ministry of health Ethiopia [2]. Its
main center is located in Addis Ababa and it has also the responsibility to
oversee, support and monitor the activities of regional blood bank in the
country which are administratively under their respective regional health
bureaus. The national blood bank service of Ethiopia (NBBS) mission is to
ensure the availability of safe and adequate supply of blood and blood
products to all transfusion health facility in Ethiopia. The NBBS office is non-
profit governmental organization established with core community
mobilization and education on voluntary blood donation, blood collection
laboratory processing, testing and production of blood.
North Gondar blood bank is one of these and it was established by the Red
Cross association this organization provide blood for 10 seekers and 3 clinic.
These clinic and seekers received blood by fulfilling certain forms and
getting permission from Lab technician. The organization passed several
12
Web based blood bank management system for north 2019
Gondar
obstacle in case of creating awareness and also during the starting stage
there is lack of blood and impossible to give the required service. This
organization was begun by giving small capacity of blood service. The aim of
the organization is to provide efficient service to user increase the capacity
of providing blood to the recipient, to increase the number of blood donor
by creating awareness about blood donation to the society.
13
Web based blood bank management system for north 2019
Gondar
1.3.1. General objectives
The main objective of this project is to change the manual system of North
Gondar blood bank into computerized system.
Design interactive user interfaces for the North Gondar blood bank
management system to users.
Testing the new system and make the required modification.
14
Web based blood bank management system for north 2019
Gondar
Manage the collected blood data.
Record blood details with their expired date.
1.6. Methodology
In this section we are going to discuss about system development
methodology that we follow to develop our system and the method we
used to collect data.
15
Web based blood bank management system for north 2019
Gondar
delivery of high quality system at relatively low cost. We improve the sub
system until the complete version is reached.
1.6.2.1. Observation:
Is one of the data collection method and all the team members are tried to
observe and understand the actual workflow or event performed in the
current system. During observation we saw many paper and document that
store the information and also we saw that different notification posted on
the notice board in the blood bank.
1.6.2.2 Interview:
This is one of the methods used for collecting data through direct
communication. So, the team member collects important information by
raising different questions for the staff member of this blood bank
organization in order to know how the existing system works.
Hardware tools:
16
Web based blood bank management system for north 2019
Gondar
Printer:- to print the document
Software tools:
We will use the following tools to develop the web based system:
17
Web based blood bank management system for north 2019
Gondar
It attracts blood donors to join and register under the system.
Introduces the blood bank to technology and also facilitates
technology throughout the coverage area, as it is web based system.
Since it is interactive system many users join into the system.
Generates more secured information and reduce redundancy.
It makes smooth relation between the blood bank and their user.
Generates and improves socio economic change to the society.
Faster decision making by searching records from database.
Increase security by providing authorized user can only access the
organizational service.
18
Web based blood bank management system for north 2019
Gondar
Report about donor and seeker can be generated easily.
Developer team will be increase their knowledge skill and can have
good awareness for developing web based system
Technical Feasibility
Operational Feasibility
Economic Feasibility
Legal feasibility
19
Web based blood bank management system for north 2019
Gondar
satisfaction, because the system will have good user interface and easily
interact with it. Our system will be compatible with the requirement of the
organizations. The user is serviced at their place of work. So, operationally
feasible or it will be operationally acceptable by users.
The system will have excellent and easily understand user interface and very
less usertraining is required to learn it. The cost of the proposed system is
almost negligible when compared to the benefits gained.
20
Web based blood bank management system for north 2019
Gondar
21
Web based blood bank management system for north 2019
Gondar
CHAPTER TWO
2 REQUIREMENT ANALYSIS
2.1 Introduction
In this chapter analysis phase, the current and the new system’s details are
discussed clearly. During Requirements Analysis, the framework for the
application is developed and also provides the foundation for all future
design and development efforts [3]. From many problems exhibited in
North Gondar blood bank, as mentioned in chapter one of this projects, the
new system dedicated to overcome this problem and create efficient work
environment. The new system is fast and easy to use, moreover it is secured
and there will be an easy way to communicate between the users and blood
bank.
22
Web based blood bank management system for north 2019
Gondar
healthiness(HIV,hepatitis A etc).If the blood is pure from disease store in
stock(blood bag) otherwise discarded. When the clinic or seekers needs
blood they can get blood from lab technician. The data is stored on the
papers without any recovery mechanism. Since there is no data security, it
leads to lose of file. As we have observed from the current system every
activity is done manually so it is tedious and inefficient.
2.3.1.1 Interview
23
Web based blood bank management system for north 2019
Gondar
The team members interviewed Mr.Demeke Tilahun the manager
of the North Gondar blood bank for necessary information. This
information helps us to identify the blood bank problems and also
to understand the current system. So, the team members analyzed
the information of the blood bank and obtained some basic
concepts on how the blood bank is managed in the current system.
2.3.1.2 Observation
In observation to find the facts the team members observed all the activities
and whole transaction of the system. Observation helped us in finding out
the actual way of functioning apart from the ideal. This method is most
useful when the team members need to actually observe how documents
are handled, how processes are carried out and whether specified steps are
actually followed. While the team members have observed the existing
system, there have been improper handling of files that are too difficult to
access it, and these make the decisions invalid. The team members know
the way donating blood to collectors, at that time the team understands
how much the donor and collector challenged to get service from blood
bank. During the observation we saw a lot of paper that store donor and
seeker details and also saw that the collected blood is stored in bag
according to their type all these activity manages manually.
24
Web based blood bank management system for north 2019
Gondar
user. The information gathered here also helps us to specify our system
requirement and used as an input for the development of our project.
BR2.If donor has the desired to give blood for the next time she/he must
give after 3 months.
BR3.The blood in the blood stock cannot distribute after 35 days because it
is already expired.
BR4.If donor had hepatitis; donors are not eligible to donate blood.
BR5.If the weight of the donor is between (45-50) kg can donate blood up to
350ml and if greater than 50kg can give 450ml at a time.
25
Web based blood bank management system for north 2019
Gondar
2.5. Proposed system
To avoid all problems existing in the blood bank and make the operations
and activities more accurate, the system needs to be computerized and
should perform some of the activities online. The aim of this project is to
develop improved system that can overcome all the problems of the
existing system. The system provides proper security and reduces a wide
range of manual work. Our proposed system is focus on user satisfaction
and increase the efficiency of works in the organization.
2.5.1. Overview
In north Gondar blood bank there is no any computerized system used
before. All activities is performed manually and no any central database so,
user information is stored on paper. After analyzing all the current system
we are proposed to do a system that simplify the activities performed in the
current system. Using our system donor can register within their home. The
blood seeker can see available blood in stock without going to the blood
bank. If there is blood compatible to their need they can go and get blood if
the required blood cannot available in the blood stock using this system
they can see possible donor and contact with them and get blood. The
admin register blood seeker, delete user account, generates report, post
information etc. In general our proposed system have the properties like
better utilization of resources, good performance, high security, reliability,
accuracy and give better service .The new system is aimed to perform basic
and crucial tasks of the blood bank. It contains a well-organized database
which makes data to retrieve, update easily.
26
Web based blood bank management system for north 2019
Gondar
RQ1: The system should allow the users or donor to create account.
RQ2: The system should allow the user to send request for blood.
RQ3: The system should allow the user to give Feedback and view
information.
RQ4: The system should allow to the Lab technician to register blood
RQ5: The system should allow the administrator to generate report and
advertisement.
RQ7: The system should allow the administrators to register blood seeker.
RQ9: The system should allow the seeker to search the required blood
online.
RQ10: The system should allow the user to update and change their profile.
RQ11: Register and Keep record of donors and seeker in the database is
possible.
27
Web based blood bank management system for north 2019
Gondar
2.5.3.1. User interface and human factor
The user interface for the proposed system is very interactive, easily
understandable. The user interface of the proposed system is directly
related with the system functionality.So,the user need not have extra
knowledge to use the system.
2.5.3.2. Documentation
Documentation will help the project team to have basic knowledge and also
used for users to guide how to operate the system. Therefore it is a
necessary requirement and it helps for maintenance purpose. This
documentation includes proposal, project report, and final document.
Login error: the system shall handle an attempt to login with incorrect
username and password and display appropriate message.
28
Web based blood bank management system for north 2019
Gondar
service to all users. Adaptability, availability, flexibility, and reliability are the
key issues of this requirement. Use suitable software and hardware to
develop system, will able to achieve this requirement.
29
Web based blood bank management system for north 2019
Gondar
The external security should be provided by given the login
authentication.
2.5.3.10. Resource
issue Server
Minimum hardware requirements for Apache server are:
CPU: 32 bit or 64 bit Cores: single (single core 2Hz or higher dual core 2GHz
or higher is recommended).
Display resolution: 1360X768(or higher).
Client:
CPU: 32 or 64 bit
RAM: 512 Mb or higher
Editor
Notepad++ or notepad
Adobe Photoshop (for editing an image)
User select Log-In and system displays login form. Then user enters
username and password the system checks whether the username and
Password is valid. If it’s valid user log into the system and the system
displays all available operations. If the entered values are incorrect error
message is displayed.
Admin and Donor log in to the system with user name and password. Then
select create account link then the system Prompts account form .The
30
Web based blood bank management system for north 2019
Gondar
Admin and Donor fill the form and submit the form. System validates the
filled form and display account created successfully if it is correct or error
message if it is incorrect.
Admin and Donor log in to the system with username and password and
then select update account link system display select the parameters you
want to update. Admin and Donor select parameter .The system display
enter new value then Admin and Donor enter the value and click on update
button. Then system validates the entry and display the value is updated
successfully if it is correct or error message if it is incorrect.
Lab technician log into system with password and user name and select
view link then system displays View feedback, View blood request then
select View blood request link after that system displays Donor’s and
seeker’s request.
Admin , Nurse and Lab technician log into system with password and user
name and then select view link system displays View Feedback, View
Request link then select View Feedback link system displays donor’s and
seeker’s Feedback.
First the Lab technician and Nurse must login into the system and the
system display Lab technician and Nurse page then Lab technician and
Nurse select view report menu the system display view report form and Lab
31
Web based blood bank management system for north 2019
Gondar
technician and Nurse enters report date and select submit button then the
system displays viewed report message.
First the admin must login into the system and the system displays admin
page then admin select seeker registration menu and the system display
registration form when the admin fill the form and select register button,
then the system display seeker successfully registered message.
First Donor must login into the system and system display Donor page, the
Donor select donor registration link and the system display registration form
then Donor fill required information, the system check the filled information
and if it is correct it generate successfully registered message.
First Nurse login into the system and the system display donor page, Nurse
select donation request link and the system display donation request form
the Nurse fill the donation request form and select send button then the
system generate successfully send message.
First the seeker must login into the system and system display seeker page,
seeker select blood request link and the system display request form and
seeker fill request form and select send button then the system generate
your request is successfully sent message.
32
Web based blood bank management system for north 2019
Gondar
Scenario Name: Approve
Event: Approve
First the Lab technician and Nurse must login into the system and the
system display Lab technician and Nurse Page then Lab technician and
Nurse select approve request menu and the system display requested
information and check the requested information and if it is correct the
system generate successfully approved message.
The system display user page and the user select Feedback link.
Then the system display the contact us page with feedback form, when the
user or the visitor fill the required field and select submit button, system
display thanks for your Feedback message.
Nurse and seeker log in to the system and click on send menu then system
displays the request and feedback link Nurse and seeker then select request
link and writes the request and then clicks on send. If it is correct system
display your request has been sent message.
Otherwise try again message will be displayed.
33
Web based blood bank management system for north 2019
Gondar
Admin login to the system and select send message link. Then system
displays send message form. After that admin writes the message and click
on submit button .then system displays message sent correctly. Otherwise
please try again message will be displayed.
Event: Logout
User click on logout menu then the system display login form.
A Use Case represents a discrete unit of interaction between a user and the
system. A use case diagram contains four components.
34
Web based blood bank management system for north 2019
Gondar
Actors:-usually individuals involved with the system defined
according to their roles.
Use cases: -which the specific roles are played by the actors within
and around the system.
The relationships between the actors and the use cases as depicted
in the following figure.
35
Web based blood bank management system for north 2019
Gondar
Figure 2- 1 Use case diagram for north Gondar blood bank management system
36
Web based blood bank management system for north 2019
Gondar
Actor
Admin,Donor,Nurse,Seeker,Lab technician
Description
It is authenticating method that allows users to login to the system.
Goal
To be accessed by an authorized and trust system user
Precondition
Any user must have user name and password.
Basic flow of System response
event Actor action
Step1:user activate the system Step2:system show
Step3:user enter user name and password login interface Step4:
the system check the
validity of the user
name and password
Step5:system display
user page
Post condition System transfer control to user main screen to precede actions.
37
Web based blood bank management system for north 2019
Gondar
Actor Admin
Description Post new information about the blood bank that is accessed by the users of this
system
Goal To post new information to the users in order to create awareness and to
initiate donors for donation
Precondition The System admin must login to post new information
38
Web based blood bank management system for north 2019
Gondar
Alternative course of If the new information is not post properly:
action
1. The system displays error message.
2. Go to Step5 to post again.
Use case id
UC-03
View report
Actor
Description
The Nurse and Lab technician can be view the report generated by the
admin
39
Web based blood bank management system for north 2019
Gondar
Step2: the system
check the validity
Step1: user enter of user name and
user name and password
password
Step3:system display
Step4:user select user page
view report link
Step5: system
display report
Precondition The user request must be viewed by the nurse and lab
technical
40
Web based blood bank management system for north 2019
Gondar
Step2: the system check the
Step1: Donor and lab validity of user name and
technician enter user name password
and password Step3:system display
Donor or lab technician
Step4: Donor and lab page
technician select approve Step5:the system display
form approve
Step6: Donor and lab Step7:system check
technician search request information
and if the request is valid Step8:system display the
approve request is approved
Post condition Send for donor and seeker notice to donate the blood and
respectively receive blood
The request is may be disapproved
Alternative action
Description Admin can see the Feedbacks that are submitted from the user.
Goal
Precondition
41
Web based blood bank management system for north 2019
Gondar
Step1: admin,Nurse and Lab Step2: the system check the validity
technician enter user name of user name and password
and password
Step3:system display
Step4: admin,Nurse and Lab admin,Nurse and Lab technician
technician select view page
Feedback link
Step5:system display Feedback
Step6: admin,Nurse and Lab records
technician view Feedback
Post condition
Actor Admin
Description The seeker must be registration to get access from the blood bank.
42
Web based blood bank management system for north 2019
Gondar
Step1: admin enter user name Step2: the system check the
and password validity of user name and
password
Step4:Admin select registration
link Step3:system display admin
page
Step6:Admin fill seeker
registration form Step5: the system display
seeker registration form
Step8:system Display
successfully registered
Description: Admin and donor can create, delete, change user name and password
43
Web based blood bank management system for north 2019
Gondar
User action System Action
Basic flow of action: 1) Admin and donor must login to 2)System display required page
the system
4)System display account page
3) Ad Admin and donor can click
6) Systems validate the user input
on account
and unfilled input
5) Admin and donor can fill
manage account form.
Alternative: - If the fill form is invalid system display the form again
Actor Admin
Description Generating the report about the activities that have been done
by the organization.
44
Web based blood bank management system for north 2019
Gondar
Precondition The admin login to the system know the activity that have been
done
Step1: admin enter user name Step2: the system check the
Basic flow of action and password validity of user name and
password
Step4:Admin select generate
report link Step3:system display admin
page
Step5:system check report
Step6:system display the
result
45
Web based blood bank management system for north 2019
Gondar
Goal To give the weakness and strength of the organization
46
Web based blood bank management system for north 2019
Gondar
Description Sending request for required blood group with the patient name just
for the acceptance of the request.
Goal Asking blood from the blood bank for the patient.
Basic flow of action name and password Step2: the system check the validity
Step4:seeker select send of user name and password
blood request link Step3:system display seeker page
Step6:user fill the blood Step5:system display blood
request in the name of request form
patient Step7:system check blood request
information
Step8:system display inserted
request record
Post condition Indirectly accept the required blood thorough patient name
Actor Donor
47
Web based blood bank management system for north 2019
Gondar
Description To register new donor and search the possible donor for the blood
collection mechanism
48
Web based blood bank management system for north 2019
Gondar
Use case name Use case id Donation request
Actor Nurse
Description The Nurse should be send donation request with the required
details.
Alternative action A. If Nurse do not fill the form correctly to send donation
request
1. The system displays error message.
2. Go to step5 to fill again donation request.
49
Web based blood bank management system for north 2019
Gondar
50
Web based blood bank management system for north 2019
Gondar
51
Web based blood bank management system for north 2019
Gondar
52
Web based blood bank management system for north 2019
Gondar
53
Web based blood bank management system for north 2019
Gondar
54
Web based blood bank management system for north 2019
Gondar
55
Web based blood bank management system for north 2019
Gondar
56
Web based blood bank management system for north 2019
Gondar
Age This describe the age of admin Int
Lab First name This describe the first name of a Lab technician Varchar
technician
Last name This describe the last name of a Lab technician Varchar
57
Web based blood bank management system for north 2019
Gondar
technician
Age This describe the age of a Lab technician Int
Phone number This describe the phone number of a Lab technician Int
Blood type This describe the blood type of the donor Varchar
Exp_date This describe the expired date of the blood Date
Donor weight This describe the weight of the donor Float
Bag_no This describe the bag number of the collected Int
blood
Nurse name This describe the name of the nurse that made an Varchar
agreement with the blood bank
58
Web based blood bank management system for north 2019
Gondar
Table 2-20 Attribute description for report
Object Attribute Description Type
Request Sender This describe the sender of request Varchar
Receiver This describe the receiver of request Varchar
Content This describe what the request says String
Date This describe the date in which the request is Date
send
Table 2-21 Attribute description for Request
59
Web based blood bank management system for north 2019
Gondar
60
Web based blood bank management system for north 2019
Gondar
Sequence diagrams describe interactions among classes in terms of an
exchange of messages over time. It shows object interaction arranged in
time sequence to perform specific task. A sequence diagram is a good way
to visualize and validate various runtime scenarios.
61
Web based blood bank management system for north 2019
Gondar
62
Web based blood bank management system for north 2019
Gondar
63
Web based blood bank management system for north 2019
Gondar
64
Web based blood bank management system for north 2019
Gondar
65
Web based blood bank management system for north 2019
Gondar
Figure 2- 16 Sequence diagram for give Donor registration
66
Web based blood bank management system for north 2019
Gondar
State chart diagram also called state machine diagram is an illustration of
the states an object can attain as well as the transition between those states
in the unified modeling language. It is used to model the dynamic nature of
the system. It defines different state of an object during its life time and
these states are changed by event.
67
Web based blood bank management system for north 2019
Gondar
68
Web based blood bank management system for north 2019
Gondar
Figure 2- 20 State chart diagram for generate report
69
Web based blood bank management system for north 2019
Gondar
70
Web based blood bank management system for north 2019
Gondar
71
Web based blood bank management system for north 2019
Gondar
72
Web based blood bank management system for north 2019
Gondar
CHAPTER THREE
3. SYSTEM DESIGN
3.1 Introduction
In this chapter we are going to describe the current and proposed system
software architecture and we specify design goals to improve the quality of
the system by reducing response time, increasing the availability and
improving its reliability to function correctly under erroneous conditions.
Software architecture is the process of defining a structured solution that
meets all of the technical and operational requirements, while optimizing
common quality attributes such as performance, security, and
manageability. We describe the Hardware/software mapping with
deployment diagram, persistent data management, subsystem
decomposition, access control and security. Hardware/software mapping is
mapping subsystems to processors and components enable us to identify
potential concurrency among subsystems and to address performance and
reliability goals. We specify the boundary conditions for each subsystem by
mentioning how the subsystems initialized and terminates.
Response time: taking less time for system to respond for the
request.
73
Web based blood bank management system for north 2019
Gondar
Simplicity: we develop the new system which have easy and
understandable user interface.
3.4.1. Overview
The software architecture used for the proposed system has 3 tiers. The
client tier is the applications user interface containing data entry forms and
client side applications. It displays data to the user. Users interact directly
with the application through user interface. The client tier interacts with the
web/application server to make requests and to retrieve data from the
74
Web based blood bank management system for north 2019
Gondar
database. It displays the retrieved data to the user. A client can use Internet
browsers to access information from the server.
The third tier, called the data tier, maintains the applications data such as
seeker’s data, Donor’s data, blood detail’s data etc.
75
Web based blood bank management system for north 2019
Gondar
76
Web based blood bank management system for north 2019
Gondar
Feedback subsystem: - in this sub system the user can raise their Feedbacks
as well as suggestions about the service and system allows administrator to
view and delete user’s feedback.
Response subsystem: - in this sub system the Nurse and the Lab technician
Report subsystem: - in this sub system the Nurse and Lab technician can
view report generated by admin and allow admin to generate report about
collected and distributed blood.
77
Web based blood bank management system for north 2019
Gondar
78
Web based blood bank management system for north 2019
Gondar
3.4.3 Hardware and Software Mapping
Hardware and software mapping is a process that allows a processor to
identify and track the location of each additional piece of hardware or
software. These allows the processor to identify where the new hardware or
software is located so when the computer needs to access those files or
uses the hardware; it knows where to go in order to work as it is expected.
This mapping describes how the subsystem assigned to hardware and
software by using UML deployment diagram, which shows the physical view
of our system and it brings the software into the real world by showing how
software gets physically mapped to hardware.
79
Web based blood bank management system for north 2019
Gondar
object oriented approach to develop our system, the persistence data
management is described using object diagram. The reason we select object
oriented approach is it is used to manage the complexity of software
systems. OOP methods make code more maintainable, identifying the
source of errors becomes easier because objects are self-contained
(encapsulation). Object oriented is based on the
concept of “objects”, which are data structures that contain data, in the
form of fields.
80
Web based blood bank management system for north 2019
Gondar
Figure 3- 4 Object diagram for North Gondar blood bank management system
81
Web based blood bank management system for north 2019
Gondar
ACTORS
Give Feedback
View Feedback
Send blood request
Send donation request
Post information
Send message
Register blood seeker
Register donor
Delete Feedback
Approve donation request
View information
82
Web based blood bank management system for north 2019
Gondar
83
Web based blood bank management system for north 2019
Gondar
3.4.7 Detailed Class Diagram
Detailed Class Diagram is class diagram with visibility and signature specified for
each attributes and operations. In this class diagram we define which attributes
and operations are private to that class, which attributes and operations can be
accessed by the class decedents (protected), and which attributes and
operations are publicly accessible by the class user (public). We also define the
return type of each operations as well as the number and type of parameters of
each operations.
84
Web based blood bank management system for north 2019
Gondar
85
Web based blood bank management system for north 2019
Gondar
names must be unique. It is used to group semantically related elements.
The subsystems can be divided into three packages.
86
Web based blood bank management system for north 2019
Gondar
CHAPTER FOUR
IMPLEMENTATION
doinfo = doinfo;
} }
} }
this.account=account; this.doinfor=doinfo;
} }}
87
Web based blood bank management system for north 2019
Gondar
4.1.2.One-to-Many Associations
}addSeeker(this);}
}}
}}
88
Web based blood bank management system for north 2019
Gondar
4.1.3 Many-to-Many Associations
} }
Feedback.add(R); Donor.add(D);
89
Web based blood bank management system for north 2019
Gondar
90
Web based blood bank management system for north 2019
Gondar
username password
content date id
include('dbcon.
php');
if(isset($_POST
['Register'])){
//include('seeker register1.php');
//$target="uploads/".basename($_FILES['image']['name']);
91
Web based blood bank management system for north 2019
Gondar
//$pho=$_FILES['image']['name'];
$target="blood/".basename($_FILES['pho']['name']);
$pho=$_FILES['pho']['name'];
//$image=$_POST['image'];
$fname=$_POST['fname'];
$lname=$_POST['lname'];
$password=$_POST['password'];
$weight=$_POST['weight'];
$sex=$_POST['sex'];
$Age=$_POST['Age'];
$mobile=$_POST['mobile'];
$city=$_POST['city'];
$email=$_POST['email'];
$bloodgroup=$_POST['bloodgroup'];
$type=$_POST['type'];
$reg_date=$_POST['reg_date'];
$status="Active";
$state='0';
{ echo'<script lang,uage="javascript">';
'</script>';
else{
92
Web based blood bank management system for north 2019
Gondar
$sql="select *from donor";
$res=mysqli_query($con,$sql)or die(mysqli_error($con));
while($row=mysqli_fetch_array($res)){
$reg=$row['reg_date'];
$ema=$row['email'];
$datest=strtotime($reg);
$now=strtotime(date('Y-m-d'));
//echo $now;
$dd=$now-$datest;
$kk=floor($dd/(60*60*24));
$tim=$kk;
if($ema==$email){
$hop="hospital";
$insert="INSERT INTO
donor(hospital,pho,fname,lname,password,weight,sex,Age,mobile,city,email,blo
odgroup,type,st atus,state,reg_date,tim)
values('$hop','$pho','$fname','$lname','$password','$weight','$sex','$Age','$mo
bile','$city','$em ail','$bloodgroup','$type','$status','$state','$reg_date','$tim')";
//check the
insertion
correctlly if($sql)
93
Web based blood bank management system for north 2019
Gondar
echo'<script
lang,uage="javascript">';
successfully")'; echo
'</script>';
$res=mysqli_query($con,$sql)or die(mysqli_error($con));
while($row=mysqli_fetch_array($res)){
$reg=$row['reg_date'];
$datest=strtotime($reg);
$now=strtotime(date('Y-m-d'));
//echo $now;
$dd=$now-$datest;
$kk=floor($dd/(60*60*24));
$df=mysqli_query($con,$sq)or die(mysqli_error($con));
}}}}
?>
<?
php /
$dayl
repor
94
Web based blood bank management system for north 2019
Gondar
t;
if(isse
t($_P
OST['r
eport'
]))
$select=$_POST['rep'];
if($select=='dayly'){
$ll=0;
else if($select=='weekely'){
$ll=7;
else if($select=='monthly'){
$ll=30;
else $ll=365;
95
Web based blood bank management system for north 2019
Gondar
$res=mysqli_query($dbhandle,$sql)or die(mysqli_error($con));
while($row=mysqli_fetch_array($res)){
$reg=$row['reg_date'];
$datest=strtotime($reg);
$now=strtotime(date('Y-m-d'));
$dd=$now-$datest;
$kk=floor($dd/(60*60*24));
$status="0";
$tim=$kk;
$df=mysqli_query($dbhandle,$sq)or die(mysqli_error($con));
//echo $tim;
$sl="donor";
$res=mysqli_query($dbhandle,$sql)or die(mysqli_error($con));
while($row=mysqli_fetch_array($res)){
$reg=$row['reg_date'];
$datest=strtotime($reg);
$now=strtotime(date('Y-m-d'));
$dd=$now-$datest;
$kk=floor($dd/(60*60*24));
$status="0";
$tim=$kk;
96
Web based blood bank management system for north 2019
Gondar
$sq="update donor set tim='$kk' where reg_date='$reg'";
$df=mysqli_query($dbhandle,$sq)or die(mysqli_error($con));
$p="A";
//$ll="0";
$res1=mysqli_query($dbhandle,$d)or die(mysqli_error($con));
$values=mysqli_fetch_assoc($res1);
//$sender_id=$row['sender_id'];
$a=$values['total'];
//count AB
//echo '('.$a.')';
$h="AB";
$res1=mysqli_query($dbhandle,$kl)or die(mysqli_error($con));
$values=mysqli_fetch_array($res1);
//$sender_id=$row['sender_id'];
$tt=$values['total'];
97
Web based blood bank management system for north 2019
Gondar
//echo '('.$tt.')';
//count B
$m="B";
$res1=mysqli_query($dbhandle,$ft)or die(mysqli_error($con));
$values=mysqli_fetch_array($res1);
//$sender_id=$row['sender_id'];
$pp=$values['total'];
//count
//echo '('.$c.')';
//count o
$q="O";
$res1=mysqli_query($dbhandle,$fr)or die(mysqli_error($con));
$values=mysqli_fetch_array($res1);
//$sender_id=$row['sender_id'];
$d=$values['total'];
//echo '('.$d.')';
//count B
$sol="A+";
98
Web based blood bank management system for north 2019
Gondar
$res1=mysqli_query($dbhandle,$r)or die(mysqli_error($con));
$values=mysqli_fetch_array($res1);
//$sender_id=$row['sender_id'];
$e=$values['total'];
// echo '('.$tt.')';
//count o
$w="AB-";
$res1=mysqli_query($dbhandle,$k)or die(mysqli_error($con));
$values=mysqli_fetch_array($res1);
//$sender_id=$row['sender_id'];
$f=$values['total'];
//echo '('.$f.')';
//count o
$sl="c-";
$res1=mysqli_query($dbhandle,$kk)or die(mysqli_error($con));
$values=mysqli_fetch_array($res1);
//$sender_id=$row['sender_id'];
$g=$values['total'];
99
Web based blood bank management system for north 2019
Gondar
//echo '('.$g.')';
$nk="AB+";
$res1=mysqli_query($dbhandle,$kk)or die(mysqli_error($con));
$values=mysqli_fetch_array($res1);
//$sender_id=$row['sender_id'];
$zz=$values['total'];
$arrData = array(
);
$arrData["data"] = array();
array_push($arrData["data"], array(
"value" => $a
100
Web based blood bank management system for north 2019
Gondar
);
array_push($arrData["data"], array(
);
array_push($arrData["data"], array(
);
array_push($arrData["data"], array(
"value" => $d
);
array_push($arrData["data"], array(
"value" => $e
101
Web based blood bank management system for north 2019
Gondar
);
array_push($arrData["data"], array(
"value" => $f
);
array_push($arrData["data"], array(
);
/*JSON Encode the data to retrieve the string containing the JSON
representation of the data in the array. */
$jsonEncodedData = json_encode($arrData);
102
Web based blood bank management system for north 2019
Gondar
$columnChart = new FusionCharts("column2D", "myFirstChart" ,700, 400,
"chart-1", "json", $jsonEncodedData);
$columnChart->render();
$dbhandle->close()
?>
103
Web based blood bank management system for north 2019
Gondar
GLOSSARY
Class Diagram: Is a type of static structure diagram that describe the structure
of a system by showing system classes, their attribute,
operation and the relationship among the class.
Component Diagram Is UML diagram depicts how components are wired together to
form larger components and or software system.
Non-functional requirement are requirements which specify criteria that can be used to
judge the operation of a system, rather than specific behaviors
Sequence Diagram Is a type of interaction diagram that show how process operate
with one another and in what order
Software design Is the transformation of an analysis model into a system design
model During system design, developers define the design
goals of the project and decompose the system into smaller
subsystems that can be realized by individual teams
System Any collection of component element that work together to collect task
Use case diagram Graphical Representation of mark full of step wise activity and
action with support for choice, iteration and concurrency
104
Web based blood bank management system for north 2019
Gondar
command language and help, which creates the way a user
interact with computers.
User Any user that uses the system to accomplish their work
Design Goal Describes the quality of the system that should be optimized
Software Architecture Provides a high level view of the system by decomposing it into
smaller and manageable pieces and study the relationship
among this pieces
Control Flow Describes how the system sequences operations and whether
the
System is event driven or procedure driven.
105
Web based blood bank management system for north 2019
Gondar
REFERENCE
[1]. Perception of Blood Donation among Medical and Pharmaceutical
Science Students of NnamdiAzikiwe University, Awka. Open Journal of
Preventive Medicine (2005).
106
Web based blood bank management system for north 2019
Gondar
[5]. [online] Available at
https://its.ny.gov/sites/default/files/documents/systemreq.pdf.
[6]. Donald Bell, IBM Global Services, UML basics: An introduction to the
Unified Modeling Language, 2003.
[7]Available at
https://www.tutorialspoint.com/software_engineering/
software_user_interface_design.ht m.
107