Você está na página 1de 35

BLOOD BANK PU

A DISSERTATION SUBMITTED TO
INSTITUTE OF BUSINESS & INFORMATION TECHNOLOGY
UNIVERSITY OF THE PUNJAB
LAHORE

Session: 2013-2017

Submitted By:

Group Code:

Group Title: Genius @work

No Roll Number Name


1 F13BB001 Aqsa Naeem
1 F13BB021 Nazish Zaheer
2 F13BB027 Mahpara Arshad
3 F13BB059 Rabia Khalid
5 F13BB0 Masab Tariq
BLOOD BANK PU
By

Aqsa Naeem
Nazish Zaheer
Mahpara Arshad
Rabia Khalid
Masab Tariq

A dissertation submitted to
Institute of Business & Information Technology,
University of the Punjab, Lahore.

In partial fulfillment of the requirements


for the degree of
Bachelor of Business & Information Technology
Institute Of Business & Information Technology
University of the Punjab
Quaid-e-Azam Campus, Lahore-54590

FINAL APPROVAL

Certified that this project along with the documentation have


been developed and performed by
1 Miss Aqsa Naeem
2 Miss Nazish Zaheer
3 Miss Mahpara Arshad
4 Miss Rabia Khalid
5 Mr.Masab Tariq
at the Institute of Business & Information Technology (IBIT),
University of the Punjab, Lahore. In partial fulfillment of the
requirement for the degree of Bachelor of Business &
Information Technology (BBIT) under my guidance and
supervision.

Name of Supervisor Prof Dr. Syed MansoorSarwar


Designation of Supervisor Director,
Official Address of Supervisor IBIT, University of the Punjab,
Quaid-e-Azam Campus, Lahore
Introduction

In Pakistan annually faces shortage of around 1,400,000 blood units against the demand of
around 3,200,000 units to save lives of thousands of the people as voluntary blood donations
remains below the set standard. The purpose of our blood bank system is to collecting and
distributing blood is to use it and its constituent components to save lives and simplify and
automate the process of searching for blood in case of emergency and maintain the records of
blood donors, recipients. One of the basic purposes of this application is to encourage general
population on voluntary blood donation and replacing the tradition of family donations to
meet the set standard. Mobile application technology definitely provides us with a platform to
solve a major problem faced by everyone in the world and that is the need of blood. Mobile
technology has been helping us to tackle almost every problem that humans face today.
Acknowledgement

We have great pleasure in acknowledgement the help from al those who favored me in having

shape to the present project. We take the responsibility to express our sincere and deepsense of gratitude

to our head of department

Mr.Saleem Raza Director of our college Mr. Dr Amir Sarwar

Our facility members and all our friends. We pay our thanks to

Mr. Shezeb Ali for providing a great support to us. They guided our project team efficientand

goodworking..We like to pay our wish and love to our all supporting friends who made their

best efforts to help us. Words defeat us in expressing

thanks to our family members for providing moral support and

encouragementduring the tenure ofthe project..We hope and wish to be blessed with the blessing and

encouragement from allofthe above inour future to accomplishallour endeavors.


Dedication
“Dedicated to our Parents
and ven-erable teachers,
who’s Love and Prayers have
always been the reason for
our Success ”
Table of Contents

Technical Manual
1 Problem Description .......................................................................................... 23
2 System Requirement Specification ................................................................... 27
3 Use Cases......................................................................................................... 78
4 Use Case Diagrams .......................................................................................... 88
5 Data Flow Diagrams ........................................................................................ 101
6 Entity Relationship Diagram ..................................................................................
7 Business Model and Class Model .........................................................................
8 State Diagrams, Sequence Diagrams and Transition Diagrams
9 Relational Model with Complete Data Dictionary
10 DB Constraints
11 Data Constraints
12 Complete DB Design
13 Test Cases
14 Report Layouts with clear mentioning Data Containers used for relevant
Reports and Relational Algebra along with SQL Statements
15 Flow Charts of each Module
16 Application Flow
17 Front End Technology with Reason Why this Technology
18 Back End Technology with Reason Why this Technology
19 Listing (Complete Code in Courier Font with Size 10pt, Each module
must start from new section, each class from a new page, each function must
have a blank line before its prototype.)
20 Glossary

User Manual
1 How to start and where to start?
2 Basic data Input used to run the application.
3 Input Screens and their Usage
4 Reports based on Sample Data
5 Index
Business Requirement Document

Introduction

Pakistan's annual blood requirement is approximately 1.5 million bags, with 40% of the demand
being met by the public sector. About 80% of private sector blood transfusion takes place in the
major cities, including Karachi and Lahore.
Blood transfusion services in Pakistan are mostly hospital-based. There are nearly 170 public and
about 450 private blood banks in the country which is not enough for as required.
Pakistan has a high burden of thalassemia. According to estimates, 5000 children are born
with thalassemia each year and 70,000 patients are registered with the disease. Most services for
these patients are provided by private blood transfusion services run by nongovernmental
organizations such as Fatimid Blood Transfusion Services and the Hussaini Blood Bank.

Over 90% of total blood transfused in Pakistan is donated by the friends and relatives of patients.
However, despite efforts to control the practice, around 10%–20% of the blood supply is still
donated by professional donors. The concept of voluntary non-remunerated donors is mainly
absent due to the lack of a blood donor recruitment and retention strategy.

Our Business
We choose the blood bank of Punjab University as a business project.
The purpose of the blood bank system is to collecting and distributing blood is to use it and its
constituent components to save lives and simplify and automate the process of searching for
blood in case of emergency and maintain the records of blood donors, recipients. One of the
basic purposes of this application is to encourage general population on voluntary blood donation
and replacing the tradition of family donations.

Reason for choosing this Project


Our country Pakistan annually faces shortage of around 1,400,000 blood units against the
demand of around 3,200,000 units to save lives of thousands of the people as voluntary blood
donations remains below the set standard, said by Project Director Safe Blood Transfusion
Program, Dr. Hassan Abbas Zaheer.

3
Business Requirement Document

Addressing a ceremony the other day to commemorate World Blood Donor Day, Dr Hassan
Abbas Zaheer said as per international standards if one to three percent of any country’s
population donates blood, it would be sufficient to meet country’s requirement of blood
transfusion. “But unfortunately, ratio of blood donation in Pakistan stands even below one
percent of total population,” said the project director adding the country is among 77 states faced
with the same situation. He said there are only 62 states that have got 100 percent blood
donations from volunteers, adding the donations made by the professional donors or patients’
relatives were comparatively unsafe. World Blood Donors Day is celebrated on June 14 with
events to raise awareness of the need for safe blood and blood products and to thank voluntary
unpaid blood donors for their life-saving gifts of blood.
The theme World Blood Donor Day drive is, ‘Every blood donor is a hero’ to recognize the
silent and unsung heroes who save lives every day through their blood donations. He also said
currently the private blood banks were working without mutual collaboration.
The Opportunities
As we studied the above article which published in Dawn News, we organize an informal survey,
in which we take interviews of the department’s students to note down their reviews on this
project and they think that which is very helpful for the Punjab university student to easily
donate their blood and easily get it when they need in emergency.

Problems to be solved need to be filled:


A few of the problems of others because of which they we choose this project:

When patients are about to undergo a surgical procedure, their friends and family go
through the painful exercise of finding blood that might be needed. And, these of course are
the people who plan ahead.

For some reason, patients are completely unprepared. When a loved one is in a car accident,
there has been no time to arrange for blood beforehand. For that matter when a bomb goes off
survivors rally together to get the wounded to the nearest hospital. Relatives and friends show up
at the hospital dazed and confused, and the first thing they are asked to do is to “arrange blood.”

What follows, even under the best circumstances, is an ordeal. With life hanging in the balance,
the patient’s family starts calling everyone they know, looking for someone, anyone, who is A-

4
Business Requirement Document

Positive or O-Negative. And even when they do find someone with the right blood group, there
are questions that remain: is the person who available to give blood, willing to give blood, and
more importantly, is that person’s blood safe?

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.

Solution for those problems:


Mobile technology has been helping us to tackle almost every problem that humans face today.
Mobile application technology definitely provides us with a platform to solve a major problem
faced by everyone in the world and that is the need of blood. It may be required by a person
suffering from anemia, or an accident in case of emergency. In such situations it is not always
feasible to reach out to blood banks as they need to maintain a stable supply, in some over
populated countries like Pakistan the patient has to register in a waiting list for specific blood
type even in cases of emergency. Surprisingly no such mobile applications have been developed
on such a platform in order to solve such a major problem on a global scale.

Mission statement:

5
Business Requirement Document

“Our Mission is to serve our community, by meeting the needs of patients, hospitals, and
members for safe, high quality blood products and related services.”

Vision statement:

 To improve the lives of patients through the power of humanity.

Our Logo

Our slogan:

Donate blood and give someone a hope of life.

Target market:

 Blood donor organizations and other nongovernmental organizations and institutions


involved in blood donor education and recruitment.

 Professional societies and patient associations.

Project Goals and Objectives:

6
Business Requirement Document

The goals and objectives of the Blood Bank System are as follows:
 To provide a means for the blood bank to publicize and advertise blood donation
Programs.
 To allow the probable recipients to make search and match the volunteer donors, and
make request for the blood.
 To provide an efficient donor and blood stock management functions to the blood bank
by recording the donor and blood details.
 To provide synchronized and centralized donor and blood stock database.
 To provide immediate storage and retrieval of data and information.

Product Description

The system that is going to be developed is Blood Bank System. This is a Android based
application system The project Android Blood Bank system is developed so that users can view
the information about registered blood donors such as name, address, and other such personal
information along with their details of blood group and other medical information of donor. This
application also has a login page where in the user is required to register and only then can view
the availability of blood and may also register to donate blood if he/she wishes to. This project
requires internet access and thus there is a disadvantage of internet failure. Thus this application
helps to select the right donor online instantly using medical details along with the blood group.
The main aim of developing this application is to reduce the time to a great extent that is spent in
searching for the right donor and the availability of blood required. Thus this application
provides the required information in no time and also helps in quicker decision making.
Partnerships
Partnerships include a general partnership, which sets up percentages of earnings and
distribution; a limited partnership, which puts a limit on both the liability and input of each
partner; and a joint venture, which is a temporary agreement that may later be terminated or
permanently establish itself as a general or limited partnership. All of these options have
different nuances to them that make them unique, so it's important to read about the laws that
apply to them carefully, particularly on the state and local levels.

7
Business Requirement Document

Legal Form we choose for our Business


We choose partnership for our business.

Price strategy:
The costs of apps are largely based on features, complexity, and platform.

Apps with back-end servers will almost always cost more.

Simple apps for one platform will start around $25,000.

More complex apps cost six figures but can push up over $1,000,000.

Costs will also vary based on who builds it (e.g., offshore versus high-end agency).

Don't forget to budget for updates, marketing, your own salary, and other costs.

Windows-Based Requirements

Dual-core 64-bit processor.

8 GB of memory.

Up to 24 GB of internal storage (Kony Visualizer: 4GB, Android SDK: 2GB, Windows SDK:
4GB, BlackBerry NDK: 4GB, plus ample space for multiple complex projects)

Network interface card

Windows 10, Windows 8.1 Update, Windows 8, and Windows

8
Business Requirement Document

Marketing Strategy:

Social Networks:

We use social networks (especially effective in the dissemination of social causes) to address the
donor directly, who chooses the preferred option for contact.

Be an Instagram:
Instagram is one of the leading social media platforms for image-based content. We know that.
However, what people don’t always think about is whether it can be used as a viable advertising
platform. The strong visual appeal of Instagram offers a wide variety of marketing opportunities
for businesses of any size. Having a strong Instagram presence is another semi-obvious to save
life of people and share the story of donors on instagram.

By Using Facebook
Often, the Blood Banks with a strong social media presence as part of their charity or social
marketing plan are the ones that fare the best, and in the modern world, ignoring social media
is a death sentence. The way Facebook dominates the headlines, it sometimes seems like it’s the
only ad platform left on the Internet. But in reality, it is only one small but rapidly growing part
of the marketing universe.
Website:
As we all know the importance of a person’s life. So, once our application is fully recognized
and acknowledged in social media which describe above and people will become familiar with
this application our next step is to move this application on the website to in which we share the
success stories of patients and as well as donors.
Advertisement in Newspaper: To attract new donors, it is highly beneficial to gain media
coverage so, we’ll give advertisement in newspaper after having 100+ donor registered in our
application, as was mentioned when describing external factors.

Software Requirements Specification

9
Business Requirement Document

Introduction
Pakistan's annual blood requirement is approximately 1.5 million bags, with 40% of the demand
being met by the public sector. About 80% of private sector blood transfusion takes place in the
major cities, including Karachi and Lahore.
Blood transfusion services in Pakistan are mostly hospital-based. There are nearly 170 public and
about 450 private blood banks in the country which is not enough for as required.
Pakistan has a high burden of thalassemia. According to estimates, 5000 children are born
with thalassemia each year and 70,000 patients are registered with the disease. Most services for
these patients are provided by private blood transfusion services run by nongovernmental
organizations such as Fatimid Blood Transfusion Services and the Hussaini Blood Bank.
Over 90% of total blood transfused in Pakistan is donated by the friends and relatives of patients.
However, despite efforts to control the practice, around 10%–20% of the blood supply is still
donated by professional donors. The concept of voluntary non-remunerated donors is mainly
absent due to the lack of a blood donor recruitment and retention strategy.

Purpose
The goals and objectives of the Blood Bank application 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 by recording the blood details.

4. To provide synchronized and centralized donor.

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

Scope
The application is used for maintaining all the process and activities of blood bank. The
application can be extended to be used for maintaining records of hospital, organ donation

10
Business Requirement Document

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 application and on
additional modification it can be also used as management systems of similar organizations

References
Internet

Previously developed application

Technologies to be used
Android studio 2.2.2

Parse

JDK

Java

Overview
Blood is a saver of all existing lives in case of emergency needs. The task of blood bank is to
receive blood from various donors, to monitor the blood groups database and to send the
required blood during the need to the hospital in case of emergencies. The problem is not
insufficient number of donors, but finding a willing donor at the right time. We want to
build a network of people who can help each other during an emergency. This application
timely updates the information regarding the donors where the administrator accesses the
whole information about blood bank management system. Donor will be prompted to enter
an individual's details, like name, phone number, and blood group. In the urgent time of a
blood requirement, you can quickly check for blood banks or hospitals matching a particular
or related blood group and reach out to them through the App. Blood bank App provides list
of blood banks in your area. A large number of blood donors are attracted using an Android
application. Since almost everyone carries a mobile phone with him, it ensures instant

11
Business Requirement Document

location tracking and communication. Only a registered person, with willingness to donate
blood, will be able to access the service. In this application we are using the GPS technology
that will be used to trace the way to the blood bank. The user will get the route to reach the
desired location and he won't have to ask manually, therefore time can be saved.

Main Users:
Administrator, Registered Users, Blood Banks.

Functional Requirements:
 The system will be under direct control of administrators and can add/remove
information about any patient, donor or blood bank.
 A guest is only allowed to search the information about different blood banks in his/her
nearby locality.
 The application will allow the users to register itself in the application to initiate the
request for blood.
 The system will allow all the registered users to login to the system.
 The registered user (patient) can search for the blood required and then send the request
to the blood bank for the required blood.
 The registered user (patient) can view/search the information about registered blood
banks such as name, address and information about available blood.
 The blood bank can register itself in the application and store information about available
blood in their repository.
 The blood donors can also register in the application using their personal information
along with their details of blood group and other medical information of donor.
 If any user fails to find the blood in any blood bank, he can initiate a request to all the
registered blood donors. The blood donors will receive a SMS alert on their mobile
phones and can then contact with the person who requested for blood.
 The application will be connected to a database at backend which will store all the
information about registered users, registered blood banks along with their blood
repositories and registers donors.

12
Business Requirement Document

 This project requires internet access and thus there is a disadvantage of internet failure.
 . The main aim of developing this application is to reduce the time to a great extent that is
spent in searching for the right donor and the availability of blood required. Thus this
application provides the required information in no time and also helps in quicker
decision making.

USE CASES

2.1 Welcome Screen

Description: This screen is the entry point of the application.

Preconditions: Screen appears when the user opens the application.

Normal Flows:

1. New users will be redirected to the registration page if the app is opened for the first time.

2. For the registered user, this screen will be followed by the Home Screen.

Post Conditions:

1. User is directed to the registration screen if the user is new.

2. A returning user is directed to the home screen of the app.

2.2 User Registration and Authentication

Description:

This screen is used for registering the user on the application.

Preconditions:

Application have 2 kind privileges to access, those are admin and the user. They must access to the
system with proper username and password. If the admin or user type their correct username
and password, then the programmer will be check the valid username and password to access to the
system

13
Business Requirement Document

Normal Flows:

1. The user is asked to enter his name, phone number, username and other details.

2. If details are valid, user receives an authentication code via SMS.

3. After entering the code, user uses Register button to register on app.

Post Conditions:

After the user hits Register button, he/she is directed to Home Screen.

2.3 Home Screen

Description:

This screen is the main UI for the application containing various options to navigate to.

Preconditions:

User has installed the application and has been registered as a valid user.

Normal Flows:

1. User should be able to search for hospitals.

2. User should be able to send blood requests and view received notifications.

3. User should be able to access all the options and settings for the app.

Post Conditions:

1. User is directed to the appropriate page on respective button clicks.

2.4 Search Donation Camps

Description:

This screen helps the user to search for the hospitals and the blood donation camps with the
help of various parameters.

Preconditions:

14
Business Requirement Document

1. User has installed the app and is registered on the application.

Normal Flows:

1. User is directed to the screen where user can search for the hospitals and blood donation
camps.

2. User can search for hospitals with the help of his location.

Post Conditions:

User will be directed to a screen with list containing the results of his queries.

2.5 Search Blood Donors

Description:

This screen gives users the facility of searching for the blood donors located in their areas. They
can be searched by entering details about the blood group required, city or the zip code. The
donors which will be registered on the application will be displayed as the result of the search.

Preconditions:

1. User has installed the app and is registered on the app.

Normal Flows:

1. User searches for the blood donors by entering the search parameters.

2. The query is made to the database.

3. User can see the details about the blood donors and can contact them.

Post Conditions:

The requested blood donors are displayed on the screen. User can contact the blood donors
displayed on the screen.

2.6 View Blood Requests

15
Business Requirement Document

Description:

This screen contains the list of the blood requests received by the user.

Preconditions:

1. User has installed the app and is registered on the app.

Normal Flows:

1. User can view the blood requests displayed by the application.

2. User can view the details about the various requests and the senders.

Post Conditions:

User can select a request to view its details and contact the sender.

2.7 Send Blood Requests

Description:

User can create a blood request and post it on the app and ask for donors. User should be able
to enter name, contact details, Blood group required.

Preconditions:

1. User has installed the app and is registered on the app.

Normal Flows:

1. User who wants to make request can fill up the required forms and post the requests on the
app.

2. User can set the deadline till the day the request has to be completed.

Post Conditions:

The request has been successfully saved in the database.

16
Business Requirement Document

2.8 Manage Requests

Description:

This screen deals with the blood requests that are made by the user. The user can manage the
request posted by him/her and can delete them when no longer needed.

Preconditions:

1. User has installed the app and is registered on the app.

2. User has successfully created a blood request.

Normal Flows:

1. User can basically manage the blood request he posted.

2. If user deletes the request, he is directed to the home screen.

Post Conditions: NA

2.9 Settings

Description:

This screen deals with the settings for the app and the user. User can change his profile
settings and notification settings.

Preconditions:

1. User has installed the app and is registered on the app.

Normal Flows:

1. User can go to the settings page to change various settings in his profile and also to the app.

2. User can also change the notification settings from the edit notifications option.

Post Conditions:

17
Business Requirement Document

The change in settings is now visible and applied to the app.

2.10 Health Tips

Description:

This screen shows various health tips for the app users. General Health tips related to blood
donations along with those specifically related to donors and receivers.

Preconditions:

User has installed the app and is registered on the app.

Normal Flows:

Users can search for various health tips by clicking the specific sections.

Post Conditions: NA

2.11 Helpline Numbers

Description:

This screen contains the various helpline numbers related health care.

Preconditions:

1. User has installed the app and is registered on the app.

Normal Flows:

Users can use this activity for searching various helpline numbers. User can be directed to this
screen by clicking "helpline numbers" button from the home screen.

Post Conditions: NA

2.12 About Blood Bank PU

Description:

18
Business Requirement Document

This screen contains the information about the android app.

Preconditions:

User has installed the app and is registered on the app.

Normal Flows:

This activity can be accessed after clicking the about us button on the home screen.

Post Conditions: NA

2.13 FAQs

Description:

This screen contains the basic FAQ's about the blood donations.

Preconditions:

User has installed the app and is registered on the app.

Normal Flows:

This activity can be accessed after clicking the FAQ button on the home screen.

Post Conditions: NA

Use case Diagram:

19
Business Requirement Document

Assumptions and Dependencies

 Every donor has a mobile phone.


 The system doesn’t keep the details of the gathering stock of blood.
 The system database will be accessible in real time.
 The donor doesn’t submit any fake reports to the system.
 Donors who want to contribute to a donation will definitely reply to the request of system.
 A doctor or a patient can request for a exact blood group. But the request comes through blood
bank authorities to the system admin. Therefore doctor, patient are not direct users of the system

20
Business Requirement Document

3.1 Design constraints


Data should not become corrupted in case of network failure, system crash or power failure.
Security: The system is consisting of the features to keep the privacy of every donor. Any donor cannot
see any detail of any other donor.

Concerns / Queries / Doubts if any:

Effect on installed system

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.

Potential user system


Mobile application technology definitely provides us with a platform to solve a major
problem faced by everyone in the world and that is the need of blood. It may be required by a
person suffering from anemia, or an accident in case of emergency. In such situations it is not
always feasible to reach out to blood banks as they need to maintain a stable supply, in some
over populated countries like Pakistan the patient has to register in a waiting list for specific
blood type even in cases of emergency.
.

Risks
The risks that might arise in the implementation of such an application are few; especially if we
consider that the application will be constantly monitored in the first years of its effective
application, anything that might be wrong will be almost instantly corrected by one of our team
member.

Example: On a general level, however the main risks that this application is facing are:

 The possible overload of the system in the critical days during registration.

21
Business Requirement Document

 The need of the stakeholders to update the database.

Costs
Our concern about the system does not deal with its costs.

4.3 Training Requirements

No training should be necessary for the users to be able to use the application (online help will
be provided). Some training may be necessary for those using the back-end interface.

22
Business Requirement Document

System Flow diagram:

Request
for blood

Data Flow Diagram

23
Business Requirement Document

Register

Request for
blood

24
Business Requirement Document

Register

Request for
blood

25
Business Requirement Document

Entity Relationship Diagram

State Diagram

26
Business Requirement Document

Sequence Diagram

27
Business Requirement Document

Class Diagram

28

Você também pode gostar