You are on page 1of 17

Blood Bank & Donor Management System 2023-24

CHAPTER 1
Introduction
The Blood Bank and Donor Management System using PHP and MySQL is a comprehensive
web-based software solution designed to streamline and optimize the processes of managing
blood donors and blood inventory. This system encompasses features such as donor
registration and management, ensuring accurate and up-to-date information about donors,
their blood types, and donation history. The system also includes robust blood inventory
tracking capabilities, enabling real-time monitoring of blood stock levels. This feature is
crucial for ensuring that blood banks always have an adequate supply of blood products
available to meet the needs of patients. The system also incorporates alerts and notifications
for timely replenishment, ensuring blood stocks are replenished before shortages occur.

Furthermore, the Blood Bank and Donor Management System in PHP and MySQL is
designed to be user-friendly and intuitive, making it easy for blood bank staff to navigate and
perform their tasks efficiently. It also includes comprehensive reporting functionalities,
allowing administrators to generate reports on donor demographics, blood usage trends, and
inventory status for informed decision-making. Overall, this system represents a significant
advancement in blood bank management, offering a comprehensive solution for donor
registration, blood inventory management, and real-time monitoring, all powered by PHP for
dynamic web functionality and MySQL for robust database management.

1.1 Problem Statement

In the current system documenting, writing, finding, and searching for the specific
information of the blood bank is done manually. Employers cannot manage the blood bank
efficiently starting from the donor registration, blood screening, processing, and storage and
distribution of information. Moreover, there is no logging function available So each process
or workflow cannot be traced from the database. The current system cannot show the expired
date of blood, it is difficult to make comments about blood bank services, it becomes tedious
for a seeker to search for blood in case of emergency, and it is difficult to know the
availability of blood in stock. These types of systems make the workers document erroneous
and redundant information. The current system also consumes the worker's time for
completing specific tasks. Therefore, there is a critical need for a modern Blood Bank and

Department of Information Science & Engineering, NIE, Mysore-8 1


Blood Bank & Donor Management System 2023-24

Donor Management System that addresses these challenges and improves the overall
functionality, transparency, and reliability of blood bank operations.

1.2 Objectives
 Facilitate donor registration and management, including capturing essential
information such as blood type, contact details, and medical history.
 Ensure secure storage of donor data in a MySQL database for data integrity and
accessibility.
 Implement blood inventory tracking with real-time monitoring to track blood stock
levels accurately.
 Generate alerts and notifications for timely replenishment of blood stocks to prevent
shortages.
 Provide user-friendly interfaces for blood bank staff to navigate and perform tasks
efficiently.
 Enable administrators to manage donor records, blood inventory, and system settings
effectively.
 Ensure compliance with regulatory requirements and standards for blood bank
operations and data management.
 Enhance transparency and accountability in blood bank operations through accurate
record-keeping and audit trails.
 Improve overall efficiency and effectiveness in managing blood donations and
distribution processes.

1.3 Scope

The blood bank management system has much functionality. However, this project only
focuses on the information handling activities related to blood donors and blood distribution,
managing the collected blood information as well as how to distribute blood from the blood
bank to different Clients such as hospitals, and health centers. The system is used to register,
update, view, and block users, create accounts for workers, and advertise the organization's
services.

Department of Information Science & Engineering, NIE, Mysore-8 2


Blood Bank & Donor Management System 2023-24

CHAPTER 2

System Requirement Specification

2.1 Software Requirements:

 OS – Windows 10 or 11
 IDE – Visual Studio
 DB – MySQL Server
 Language – PHP
 Web Browser - Mozilla, Google Chrome, IE8, OPERA.
 Software - XAMPP / Wamp / Mamp / Lamp (anyone)
 Front End Technologies - HTML, AJAX, jQuery, JavaScript.

2.2 Hardware Requirements:

 Processor – Oct Core onwards


 Speed – 2 g HZ
 RAM – 2 GB plus
 Hard Disk – 500 GB plus or 256 SSD Card plus

Department of Information Science & Engineering, NIE, Mysore-8 3


Blood Bank & Donor Management System 2023-24

CHAPTER 3

SYSTEM ANALYSIS
3.1 Existing System

Generally, in the overall activities of the existing system, the donor goes to the blood bank to
donate blood, while the nurse tests his/her healthiness (i.e. weight, blood pressure, etc.). If the
donor is healthy the nurse receives blood. After the donation, the donor gets some advice. The
nurse transferred blood to the laboratory class to check with the lab technician about his/her
blood type and blood purity, if the blood is pure stored in stock otherwise discarded. If the
donor wants to know about his/her blood profile get it from a lab technician. Then the lab
technician transfers the donor’s profile report to the data encoder. When the client hospital
(seeker) wants blood, they get blood from lab technicians.

At present there is no software to keep any records in the blood bank. It becomes difficult to
provide any record immediately at times of emergency. It required more human efforts to
maintain the branch-related information. Manually keeping the accounts is also a tedious &
risky job & maintaining those accounts in ledgers for a long period is also very difficult. It is
difficult to manage and maintain the files. Chance of damage to files, if the data is stored in
the files for a duration of time. Privacy is difficult, and it is retrieving, storing, and updating
the data. It is difficult to keep track of the record of the donor & receiver he has donated or
received the blood at the last time.

3.2 Proposed System

The proposed Blood Bank Management System using PHP and SQL aims to enhance several
aspects compared to the existing system. It will include features such as an integrated donor
management module for efficient donor registration, scheduling, and follow-up, ensuring a
streamlined process from donor arrival to donation. The system will also incorporate
automated health check systems to monitor vital signs like weight and blood pressure,
reducing manual errors and improving accuracy. Additionally, it will have a comprehensive
blood testing and storage module, with functionalities for blood type determination, purity
checks, and proper stock management. Donors will receive personalized advice and
information through the system, enhancing their experience and ensuring they are well-

Department of Information Science & Engineering, NIE, Mysore-8 4


Blood Bank & Donor Management System 2023-24

informed. The system will also facilitate seamless communication between the blood bank,
laboratory technicians, and client hospitals, enabling quick and efficient blood distribution
when needed. Overall, the proposed system aims to improve efficiency, accuracy, and
communication throughout the blood bank management process.

Backend System:

 Database Management: MySQL is used to manage the database that stores all
relevant information such as donor details, blood test results, inventory levels, and
transaction records.
 Data Processing: PHP is used as the backend scripting language to handle data
processing tasks such as data validation, storage, retrieval, and manipulation. It
interacts with the MySQL database to perform these operations.
 Business Logic: PHP scripts implement the business logic of the Blood Bank &
Management System, including algorithms for donor registration, blood testing,
inventory management, blood distribution, and reporting functionalities.
 User Authentication and Authorization: The backend system manages user
authentication and authorization, ensuring that only authorized personnel can access
sensitive data and perform specific actions within the system.

3.3 Modules

 Admin Module

Dashboard: In this section, the admin can view all the details in briefs like the total blood
group listed, the registered donor list, and total inquiries received.

Blood Group: In this section, the admin can manage the blood group (Add/ Delete).

Donor List: In this section, the admin can view a list of donors and have the right to delete
and hide the details of donors.

Manage Contact Us Query: In this section, the admin can manage queries which is received
by users.

Department of Information Science & Engineering, NIE, Mysore-8 5


Blood Bank & Donor Management System 2023-24

Manage Pages: In this section, the admin can website pages.

Update Contact info: In this section, the admin can update the contact details of the website.

Request Received by Donor: In this section, the admin can view the request for blood that is
received by the donor.

Admin can also update his profile, change the password, and recover the password.

 User & Registered Users (Donor) Module

Home: It is a welcome page for users and donors. If any users want to donate blood they
must register with us.

About Us: Users can view the About Us page.

Contact Us: Users can contact with admin through the Contact Us page.

Donor List: Users can view and contact donors.

Search Donor: Users can search the donor according to city and blood group.

My Account:

 Profile
 Change Password
 Request Received
 Logout

Donor can also update their profile, change their password and recover their password.

Department of Information Science & Engineering, NIE, Mysore-8 6


Blood Bank & Donor Management System 2023-24

CHAPTER 4
SYSTEM DESIGN

4.1 System Architecture

Fig 4.1 System Architecture

The system architecture typically involves several layers and components working together.

 Presentation Layer: This layer represents the user interface where donors, nurses,
lab technicians, and administrators interact with the system. It includes web pages for

Department of Information Science & Engineering, NIE, Mysore-8 7


Blood Bank & Donor Management System 2023-24

donor registration, health checks, blood testing, advice, inventory management, and
reporting.

 Application Layer: In PHP-based systems, this layer consists of PHP scripts that
handle user requests, process data, and interact with the database. It includes modules
for donor management, health checks, blood donation, testing, inventory control, and
user authentication.
 Business Logic Layer: This layer contains the core business logic of the system. It
enforces rules and processes related to donor eligibility, health check protocols, blood
testing procedures, inventory management rules, and data validation.
 Data Access Layer: This layer interacts directly with the MySQL database to
perform CRUD (Create, Read, Update, Delete) operations. It includes PHP scripts that
execute SQL queries to retrieve and manipulate data related to donors, blood
inventory, test results, user accounts, and system settings.
 Database Layer (MySQL): This layer stores all the system's data, including donor
records, health check results, blood test reports, inventory information, user accounts,
and system configuration settings. It uses tables, relationships, and indexes to
organize and manage data efficiently.

In this architecture, user requests from the interface layer are processed by PHP scripts in the
application layer. The business logic layer enforces rules and processes, while the data access
layer interacts with the MySQL database to retrieve or update data. The database layer stores
and manages all the system's data, ensuring data integrity and reliability.

4.2 DATAFLOW DIAGRAM

A data flow diagram is a graphical representation that depicts information flow and the
transforms that are applied as data moves from input to output. The basic form of a data flow
diagram is also known as a data flow graph or a bubble chart. The data flow diagram may be
used to represent a system or software at any level of abstraction. DFDs may be partitioned
into levels that represent increasing information flow and functional detail. Therefore, the
DFD provides a mechanism for functional modelling as well as information flow modelling.

Department of Information Science & Engineering, NIE, Mysore-8 8


Blood Bank & Donor Management System 2023-24

A context diagram is a top-level (also known as Level 0) data flow diagram. It only contains
one process node (process 0) that generalizes the function of the entire system in relationship
to external entities. The first level DFD shows the main processes within the system.

Fig 4.2 Level 0 DFD

Department of Information Science & Engineering, NIE, Mysore-8 9


Blood Bank & Donor Management System 2023-24

Fig 4.3 Level 1 DFD

4.3 Use Case Diagram

Fig 4.4 Use Case Diagram for admin, donor, user

We can see that there are three actors in this diagram. They are User, Donor & Admin. The
user connected with six different use cases. These are searching location, login & logout,
searching blood, updating profiles, managing donors, and sending requests. Manage donors
has an extended relationship with getting help on managing donor use cases. Donors also
have four use cases. Some of them also connected with other actors. Like search location,
login & logout, and update profile Another use case is to accept requests which is also
connected with Admin. Admin has also five use cases, which are also connected with other

Department of Information Science & Engineering, NIE, Mysore-8 10


Blood Bank & Donor Management System 2023-24

actors. Only login ID & password, and manage stock have separate bonding with this actor.
Manage stock has two relationships managing users & applications and managing blood.

4.4 Entity Relationship Diagram

Fig4.5 ER diagram

There are six entities in our ER diagram. These are the Donor, Blood, Receptionist, Blood
Bank, Blood Bank Manager, and hospital. Now, we will have to identify the relationship. So,
we will discuss the first entity in our ERD which is the donor. A donor may donate blood any
number of times. So, the cardinality is many to one—second relationship donor to the
receptionist. Donors may register with a single receptionist. So, the cardinality is one-to-one.
The next entity is blood. It's different type in large numbers in stored in a single blood bank.
So, the cardinality is many to one. A blood bank is managed by a blood bank manager. So,
cardinality is one-to-one. A receptionist works in a blood bank. So, cardinality is one-to-one.
Hospitals order blood from different blood from different blood banks. So, the cardinality is
zero to many.

Department of Information Science & Engineering, NIE, Mysore-8 11


Blood Bank & Donor Management System 2023-24

CHAPTER 5

SCREENSHOTS

Department of Information Science & Engineering, NIE, Mysore-8 12


Blood Bank & Donor Management System 2023-24

Fig 5.1 Home Page

Fig 5.2 User/Donor Login Page

Fig 5.3 Admin Login Page

Department of Information Science & Engineering, NIE, Mysore-8 13


Blood Bank & Donor Management System 2023-24

Fig 5.4 Admin Dashboard

Fig 5.5 Donors List

Department of Information Science & Engineering, NIE, Mysore-8 14


Blood Bank & Donor Management System 2023-24

Fig 5.6 Searching of Donor

CHAPTER 6

RESULTS

1. Donor Registration: Number of donors registered in the system over a specific


period, such as monthly or annually. This can include demographics like age, gender,
and blood type distribution among donors.
2. Blood Donation Frequency: Data on how often donors make donations, categorized
by first-time donors and repeat donors. This can help track donor retention rates and
the overall availability of blood units.
3. Inventory Management: Metrics related to blood inventory, including the number of
blood units in stock, expiration dates, and types of blood products available (whole
blood, plasma, platelets, etc.).
4. Donation Events: Analysis of blood donation events organized through the system,
such as blood drives or campaigns. This can include participation rates, effectiveness
of promotional activities, and donor engagement levels.
5. System Performance: Performance metrics like system uptime, response times for
data queries, and data integrity checks. This ensures that the system functions reliably
and efficiently in managing blood bank operations.
6. Feedback and Satisfaction: Feedback from users, including donors' satisfaction with
the donation process, receptionist nurses' feedback on system usability, and
administrators' perspectives on system effectiveness in streamlining operations.

These results provide a comprehensive overview of how the Blood Bank Management
System performs in managing donor information, blood inventory, donation events, user
interactions, system performance, data accuracy, and overall user satisfaction.

Department of Information Science & Engineering, NIE, Mysore-8 15


Blood Bank & Donor Management System 2023-24

Conclusion and Future Scope

Conclusion:
We have successfully designed and developed a proven website to make it easy for any user
or person in need of blood to request the blood they need. Those who wish to donate blood
can also register to donate blood on the website. Blood Bank management system will
provide an effective way of managing the different types of blood available. It manages all
the information about the donors systematically so there is no data redundancy. Web-based
blood bank management system provides convenience, efficiency, and security to the users
and blood banks compared to manual systems. It was found out that the manual system has
many disadvantages that disappoint and dissatisfy the users. Indeed, online blood bank
management systems make work easy and ensure fast retrieval of data when needed. The
system will eliminate all the problems encountered in the manual way which will help the
hospital or the blood banks to work in a better way. The system was implemented using web-
based technologies which include HTML, CSS, JS, Bootstrap for frontend and MySQL and
PHP for backend.

Future Scope:

The future scope of a Blood Bank and Donor Management System using PHP and MySQL
involves several exciting possibilities. Firstly, there's room for further automation and
integration with other healthcare systems, streamlining processes like blood testing and
inventory management. Secondly, enhancing the system's user interface and experience can
make it more accessible and user-friendly for both donors and healthcare professionals.
Additionally, incorporating advanced analytics and reporting capabilities can provide deeper
insights into donor behavior and blood usage patterns, aiding in strategic decision-making.
Lastly, exploring mobile app development can extend the system's reach, allowing donors to
interact with the blood bank conveniently from their smartphones. These advancements can
collectively improve the efficiency, effectiveness, and accessibility of blood bank operations
in the future.

Department of Information Science & Engineering, NIE, Mysore-8 16


Blood Bank & Donor Management System 2023-24

References

[1] Kumar, R., Singh, S and Ragavi, V .A. (2017). Blood Bank Management System.
Retrieved

from http://ijariie.com/AdminUploadPdf/Blood_Bank_Management_System_ijariie6874.pdf

[2] Liyana, F. (2017). Blood Bank Management System. Retrieved from

http://greenskill.net/suhailan/fyp/report/038077.pdf

[3] Development of a Blood Bank Management System Sumazly Sulaimana,*, Abdul Aziz

K.Abdul Hamida , Nurul Ain Najihah Yusria.

[4] Vikas Kulshreshtha, Dr. Sharad Maheshwari, “Blood Bank Management Information

System in India,” in International Journal of Engineering Research and Applications

(IJERA) ISSN: 2248-9622, Vol. 1, Issue 2, pp.260-263

[5] https://www.blood.co.uk/the-donation-process/further-information/tests-we-carry-out/

Department of Information Science & Engineering, NIE, Mysore-8 17

You might also like