Professional Documents
Culture Documents
FRAMEWORK
2018
BLOOD BANK MANAGEMENT APPLICATION USING RULE-BASED
METHOD
AUGUST 2018
DECLARATION
I hereby declare that this report is based on my original work except for quotations and
citations, which have been duly acknowledged. I also declare that it has not been previously
or concurrently submitted for any other degree at Universiti Sultan Zainal Abidin or other
institutions.
______________________________
Date : .…………………………...…..
i
CONFIRMATION
________________________________
Date : ..................................................
ii
DEDICATION
Alhamdulillah with blessed from Allah to ease this project, Blood Bank Management
of this Final Year Project, Dr Syarilla Iryani Binti Ahmad Saany for this suggestion or ideas
and also the valuable guidance and advice that encourage me to complete the system
successfully.
I would like to thank also to all lecturers and ISMSK (PP) group members who helped me
directly and indirectly in many ways. I would like to express my gratitude to my mother,
Wan Maharam Binti Wan Daud, my father, Mat Joha Bin Husin, siblings and friends for
giving me support and encouragement to complete this project and to propose this project
iii
ABSTRACT
In this technological and modern era, people like to interact with their gadget like mobile
phone. This proposed system of the Blood Bank Management Application is an application
that mobilize both the manual Blood Bank Management System and ready have web base
Blood Bank Management System. This application intend to keep the data regarding to
blood donation into mobile phone and manage the donation record to replace the blood
donor red card called Certificate. There are many flaws when keeping the blood donation
record manually like the record are more prone from being damaged, redundant and loss.
Blood Bank Center always have a difficult time when the quantity of the blood in blood
bank is almost running out. They are also facing a problem to inform donors about any
information related to blood donation. The application also provide calculation for the total
of blood packets which already stored into the blood bank according to each of the blood
type which are A, B, AB, and O will be keep updated. Finally, this application hopefully
make the management of blood donation and blood bank more effective and efficient.
iv
ABSTRAK
Dalam era moden dan berteknologi ini, manusia suka untuk berinteraksi dengan gajet
seperti telefon mudah alih. Sistem cadangan Aplikasi Pengurusan Tabung Darah ini
merupakan satu aplikasi yang menaik taraf kedua-dua Sistem Tabung Darah manual dan
Sistem Tabung Darah berasaskan web. Aplikasi ini bertujuan untuk menyimpan data
berkaitan dengan pendermaan darah ke dalam telefon mudah alih dan mengurus rekod
derma darah untuk menggantikan kad merah penderma darah yang dipanggil sebagai
“Certificate”. Terdapat banyak kekurangan semasa menyimpan rekod derma darah secara
manual seperti rekod lebih terdedah kepada rosak, bertindan dan hilang. Pusat Tabung
Darah selalu menghadapi waktu kesukaran apabila kuantiti tabung darah hampir kehabisan.
Mereka juga menghadapi masalah untuk memaklumkan kepada penderma berkenaan apa-
apa maklumat berkaitan derma darah. Aplikasi inijuga menyediakan pengiraan bagi jumlah
paket darah yang sudah disimpan kedalam tabung darah mengikut setiap jenis darah yang
mana A, B, AB, and O akan dikemaskini. Akhir sekali aplikasi ini diharapkan dapat
membuatkan pengurusan pendermaan darah dan tabung darah lebih efektif dan efisyen.
v
TABLE OF CONTENT
DECLARATION i
CONFIRMATION ii
DEDICATION iii
ABSTRACT iv
ABSTRAK v
LIST OF TABLES ix
LIST OF FIGURES x
LIST OF ABBREVIATION/TERM/SYMBOLS xiii
LIST OF APPENDICES xiv
CHAPTER 1 INTRODUCTION 1
1.1 Project Background 1
1.2 Problem Statement 2
1.3 Objective 2
1.4 Scope 3
1.5 Limitation Of Work 4
vi
CHAPTER 3 METHODOLOGY 10
3.1 Introduction 10
3.1.1 Verification Phases 11
3.1.2 Coding Phase 12
3.1.3 Validation Phases 12
3.2 Requirement 13
3.2.1 Software Requirement 13
3.2.2 Hardware Requirement 14
3.3 System Design 15
3.3.1 Framework Design 15
3.3.2 Architecture Design 16
3.3.2.1 Data Dictionary 16
3.3.3 Process Model 21
3.3.3.1 Contact Diagram 21
3.3.4 Data Model 22
3.3.4.1 Data Flow Diagram (DFD) level 0 22
3.3.4.2 Data Flow Diagram (DFD) level 1 23
3.3.4.3 Entity Relationship Diagram (ERD) 26
vii
4.2.6.4 Staff Report 36
4.2.7 Staff Interface 38
4.2.7.1 Management Page 38
4.2.7.2 Update Donor 39
4.2.7.3 Add Donation 40
4.2.7.4 Report Main Page 41
4.2.7.5 Report Donor 42
4.2.7.6 Donation Report 43
4.2.7.7 Blood Bank Report 44
4.2.8 Donor Interface 45
4.2.8.1 Donation Record (Red Card) 45
4.2.8.2 Blood Donation Information 46
4.3 Testing 47
4.4 Type of Testing 47
4.4.1 Black Box Testing 47
4.4.2 White Box testing 47
4.4.3 Test Cases 48
4.4.3.1 Test Case for Register 48
4.4.3.2 Test Case for Login 49
4.4.3.3 Edit Profile 49
4.4.3.4 Admin 50
4.4.3.5 Staff 52
4.4.3.6 Donor 55
CHAPTER 5 CONCLUSION 56
5.1 Introduction 56
5.2 Project Contribution 56
5.3 Project Limitation 57
5.4 Future work 57
REFERENCES 58
APPENDIX A (GANTT CHART) 60
viii
LIST OF TABLES
4.12 Test Case for Donation record and Blood Donation Information 55
ix
LIST OF FIGURES
x
4.2 Login Page 29
xi
4.21 Add donation form 40
xii
LIST OF ABBREVIATION/TERM/SYMBOLS
CD Context Diagram
xiii
LIST OF APPENDICES
A Gantt Chart 60
xiv
CHAPTER 1
INTRODUCTION
This project Blood bank Management Application is developed for the mobile
operating system (or mobile OS), such as Android OS. A mobile OS is compatible
support various features like Web Browser, Email, Bluetooth and etc. It is also a
hospital or a blood center. The system developed to promote the important of blood
donation and also serve as a medium for public to increase their awareness on blood
donation that can save many lives. This system have function use to keep the donation
record of the donor. Besides, the process of adding data, delete data, update the data
This application goal is to save time and ease the blood bank management in
hospital. Moreover, donors no need to open the laptop or computer to check about the
blood donation information. Thus, all of the problem above is consuming a lot of time.
1
1.2 Problem Statement
is not wide, thus, it is done manually using traditional method. This will lead to the
problems where the staff hard to search for the blood donation record. The record can
be stored inside the application. Besides, some of the donors did not know what kind
of benefit they will get by donating blood. With this Blood Bank Management
Application, blood bank staff can manage the donor information in their phone and
this will save a lot of times. Moreover, this application will have information about
blood donation for the donors. This can encourage donor to come to the hospital and
1.3 Objective
There are the objectives in this project to be achieve to make this project
successfully complete:
To develop an application that can manage blood bank using mobile phone and
To test the functionality of the developed application to meet the user requirement.
2
1.4 Scope
The scope for this system is divided into four which are administrator, blood bank
1. Admin
Manage Profile
View Report
Manage Profile.
Manage Donor
Manage Donation
View Report
3. Blood Donor.
3
1.5 Limitation Of Work
There are some limitation of work since the proposed system is only cover certain
aspects.
1. The system only cover English language. It did not support other languages.
2. There is no real time interaction between donor and blood bank staff in the system.
3. This application need human intervention to update the quantity of blood in the
hospital.
4
CHAPTER 2
LITERATURE REVIEW
2.1 Introduction
In the literature review, it discusses about the previous journal and research paper.
The purpose of writing literature review is to provide background for the topic choose
5
2.2 Blood Bank Management System Using Rule-Based Method
system in a hospital blood bank in order to manage the records of blood donors, blood
donation campaign announcement and broadcast message about critical blood demand to
donors. This Blood Bank Management System Using Rule Based method to store database
on blood donation and making notification on campaign and critical blood demand.
2. This system filter the people that want to donate blood. So that the right people only
4. Donor also will be informed if there are blood donation campaign around
Terengganu.
6
2.3 Designing a Web-Based Blood Bank Information Management System for the
This paper is carried out at National Blood Bank Center, Addis Ababa. The project
follows a design science methodology and an object oriented system analysis and design
approach to analyze and design the system. In-depth interview, document review and
inventory were done to analyze the existing situation. To model the analysis and design of
the proposed system Unified Modeling Language (UML) modeling techniques is used and
both Hyper-Text Transfer Protocol (HTML) and Hypertext Preprocessor (PHP) is used to
develop the system prototype. And My Structured Query Language (MySQL) database
All the system’s processes and its boundary were identified and described by using
use case diagram. Eight processes with their corresponding actors were identified for the
system. The flow of the process were presented using activity diagrams. The object model
were described by using class diagram. And finally, the system prototype was developed
for the user interface testing. The results of the user interface testing shows that User test
for the system prototype was done and it shows that 75% of the participants in the
evaluation and testing has shown positive attitude and response for the system usability.
7
2.4 Friends2Support.org Mobile Application
This application are developed to become a platform for recipient to find available
donor easily arround them until around the world. Person who become the donor are listed
in the system. Recepient can search any blood type and the choose the location of the donor.
The system will filter it and display the donor that has the same blood type.
8
3. People can do report if the donor phone number are not available anymore.
9
CHAPTER 3
METHODOLOGY
3.1 Introduction
Figure 3.1 below show the V-process Model that are chosen in developing this final
year project. It is known as Verification and Validation model. This model are selected
because of every single phase in the development cycle, there is a directly associated testing
phase.
10
3.1.1 Verification Phases
1) Requirement Analysis
Requirement Analysis is the first phase on the cycle. At this phase, requirement are
2) Functional Specification
Developing the plan for the system design or blueprint, including requirements for
3) Architectural Design
This is also referred to as High Level Design (HLD). HLD phase focuses on system
and service/process.
4) Detail Design
Detail Design phase can also be referred to as low-level design. The designed
system is broken up into smaller units or modules and each of them is explained so
that the programmer can start coding directly. The low level design document or
11
3.1.2 Coding Phase
At this point, halfway through the stages along the process, the actual coding and
implementation occur. This period should allot for as much time as is necessary to convert
all previously generated design and specification docs into a coded, functional system. This
Validation Phases ensures that all that development was carried out correctly. This
process is very dynamic and a great deal of testing takes place. These steps are also referred
1) Unit Testing
In the V-Model, Unit Test Plans (UTPs) are developed during module design phase.
These UTPs are executed to eliminate bugs at code level or unit level. A unit is the
smallest entity which can independently exist, e.g. a program module. Unit testing
verifies that the smallest entity can function correctly when isolated from the rest
of the codes/units.
2) Integration Testing
Integration testing is associated with the architectural design phase. Integration tests
are performed to test the coexistence and communication of the internal modules
12
3) System Testing
System testing is directly associated with the system design phase. System tests
check the entire system functionality and the communication of the system under
development.
4) Acceptance Testing
Lastly, acceptance testing is the process of implementing all tests created during the
initial requirements phase and should ensure that the system is functional in a live
3.2 Requirement
SOFTWARE DESCRIPTION
Visual Studio Code A software to create Ionic code (HTML, JS, and
SCSS)
Command Prompt Use to run the Ionic code and to deploy the
13
3.2.2 Hardware Requirement
HARDWARE DESCRIPTION
laptop.
Smart Phone Smart phone will kept the application and test
the application.
14
3.3 System Design
Figure 3.2 shows about the framework of the system which consists of entities involves and
the flow of the system generally.
15
3.3.2 Architecture Design
a) User Table
Data Dictionary for Blood Bank Management Application consists of five entities such as
user, staff, donor, donation and bloodbank. Figure 3.3 shows the data dictionary for user.
There are two attributes consists in the table which are userID, userPassword. userID is the
16
b) Donor Table
In Figure 3.4 below, there are fourteen attributes consists in the table which are donorID,
donorIC, gender, weight, donorQualification. donorID is the primary key for this table.
17
c) Staff Table
In Figure 3.5, there are ten attributes consists in the table which are staffID, staffName,
position, address, address2, postcode, city, state, phoneNo, gender and status. staffID is the
18
d) Donation Table
In Figure 3.6, there are nine attributes consists in the table which are donorID, dateDonate,
dateDonate and bloodSeriesNo is the composite primary key for this table.
19
e) Blood Bank Table
In Figure 3.7, there are six attributes consists in the table which are bloodSeriesNo, amount,
bloodType, rhesus, dateUpdate, dateExpire and status. bloodSeriesNo is the primary key
20
3.3.3 Process Model
The Blood Bank Management Application consists of 3 actors as shown in Figure 3.12
which are Administrator, Staff, and Donor. All of these actors need to login into the
application before able to access their interface. Admin make registration of the staff into
the system. The Staff is able to manage profile, manage blood donation, manage donor and
view report. As for Donor need to register before use this application. Donor also can
manage profile view blood donation record and view information about blood bank.
21
3.3.4 Data Model
A Data Flow Diagram (DFD) level 0 is a diagram of a flow of data through an application.
In Figure 3.13, there are four processes involved. Processes in this system consist of
manage staff, manage donor, manage blood bank, and manage blood donation. There are
four data store involved in this application which are staff, donor, bloodbank and donation
data store.
22
3.3.4.2 Data Flow Diagram (DFD) level 1
Figure 3.14 shows the detail process for admin to manage staff. In managing the staff,
administrator is able to Register Staff, Update Staff Record, Delete Staff, and View Staff.
23
Figure 3.15 DFD Level 1 (Process 2.0)
Figure 3.15 shows the detail process manage donor. In managing donor, the donor is able
to view profile, register and update donor. The staff is able to vie donor, delete donor, and
update donor. The detail of the donor is then stored in DONOR data store.
24
Figure 3.16 DFD Level 1 (Process 3.0)
Figure 3.16 shows the detail process for staff to manage blood donation. In managing the
blood donation staff is able to add blood donation and search for blood donation record.
25
3.3.4.3 Entity Relationship Diagram (ERD)
Figure 3.17 below show the ERD of the system. It shows all the entities involve in
the database of the Blood Management Application. All the updated data in the data store
is self-updated by user.
26
CHAPTER 4
4.1 Introduction
include all the processes involved in getting the application to operate well with interfaces.
and user. The interface design should make the application is easy to be learn and
memorable. The consistency of the interface such as location of the button, color and many
27
4.2.1 Welcome Page
Figure 4.1 below shows the first page that will be see by admin, staff and donor
28
4.2.2 Login Page
Figure 4.2 below shows the login page of the application. Admin, blood bank staff and
donor will interact with this interface. Only authorized user can used this application.
Figure 4.3 show the error message will alert the user if they fail to enter correct username
or password.
Figure 4.2 Login Page Figure 4.3 Error alert if the login
failed
29
4.2.3 Homepage for users
After login into the application, all the user will redirect the profile page as shown
in Figure 4.4(a), Figure 4.4(b) and Figure 4.4(c) below. At this page, application once again
welcoming the user to use this application. It also show the important user details so that
they don’t need to go to other page to see the important details. The view detail button will
30
4.2.4 Admin and Staff Detail page
Figure 4.5(a) and Figure 4.5(b) below show all the details of the admin and the staff.
There are slightly different between this figures. Detail profile staff has attribute status
31
4.2.5 Edit Profile
All user can update their profile if they want to change their information. But some
of the information are read only and cannot be edited. Figure 4.6 is the example if the admin
want to change his information. While Figure 4.7 show the profile are successfully updated.
32
4.2.6 Admin Interface
Figure 4.8 below show the management page for admin where admin can register
33
4.2.6.2 Register Staff
In figure 4.9, to register new staff admin need to insert the new Staff ID so that it
check if the staff ID already own by other staff. After “ok” button tapped, it will redirect
admin to register staff detail page as shown in figure 4.10, where admin need to fill the
form. The staff ID is carried from previous page to the register staff detail page and cannot
be edited.
Figure 4.9 Input for new Figure 4.10 Input for new
staff ID staff details
34
4.2.6.3 List Of Staff
Figure 4.11 below show the list of all staff that are using this application. Only
important information will be displayed here. There are two button at each staff which is
“view” for viewing staff details like in figure 4.12 and “Delete” button for deleting the staff
Figure 4.11 List of Staff Figure 4.12 Staff details Figure 4.13 Deleting
staff
35
4.2.6.4 Staff Report
Figure 4.14 show the front page of report staff. There are three category that admin can
see staff report. First, admin can view all staff report (Figure 4.15), view active staff report
(Figure 4.16) and view not active staff report (Figure 4.17).
36
Figure 4.16 Active staff Figure 4.17 Not active
report staff report
37
4.2.7 Staff Interface
Figure 4.18 show the management page for staff where staff can update donor detail
38
4.2.7.2 Update Donor
Figure 4.19 show the update donor page where all of the donor are listed with few
of their details. Each of donor listed have a “Update” button that will redirect staff to update
39
4.2.7.3 Add Donation
Figure 4.21 show add donation form. Using this form, staff can add donation for any
40
4.2.7.4 Report Main Page
Figure 4.22 show the main page for the report. There are three types of reports that
can be look by staffs. It is report about donor, donation report and blood bank report.
41
4.2.7.5 Report Donor
Figure 4.23 show report of all donor where details of all registered donor can be
seen by staff. Besides, as show in Figure 4.24, this staff can search which donor they want
42
4.2.7.6 Donation Report
Figure 4.25 show the input for donorID that require the staff to put in order to view
donor information as shown in figure 4.26. From that page, staff can view donation report
Figure 4.25 Input Figure 4.26 Donor details Figure 4.27 Donation
donorID for any donor report of a donor
43
4.2.7.7 Blood Bank Report
Figure 4.28 show that staff can choose the report for which type of blood to be
shown. For example, staff choose blood type A. As show in figure 4.29, the color indicator
of the warning is green which mean the quantity of blood type A in the blood bank center
enough. If the color turn orange, the quantity almost critical. But when the color indicator
turn red, the quantity of that particular blood reach critical. As in figure 4.30, when the staff
tap on “Blood List” segment, this application will display all type A blood that are kept in
Figure 4.28 Blood type Figure 4.29 Color Figure 4.30 List of blood
selection. indicator based on type A
quantity of blood
44
4.2.8 Donor Interface
Figure 4.31 show donation record (red card) for the donor that currently login into
the system. Donor can know how many times they donate their blood.
45
4.2.8.2 Blood Donation Information
Figure 4.32 show that the information related to blood donation for example
46
4.3 Testing
Testing is a process to determine and identify the correctness of the application and to
make sure the application meet the requirements and specification. The test had been
conducted alongside with its results. Black Box Testing, White Box Testing and Test Case
Black Box Testing is a software testing technique where the application is being
test without looking at the internal code structure and knowledge of internal path of the
software. It is entirely based on the software requirements and its specifications. It is also
focuses the input and the output of the application rather than the internal knowledge of the
software program.
White Box Testing is a testing that focuses on the flow of input and output of the
application, security strengthening the security, and improving design and usability. It can
be done at the system integration phase and unit levels of software development. It also
involved series of predefined inputs against expected output. One of the goals of white box
47
4.4.3 Test Cases
Test case can be define as sequence of steps to test the correct behavior of a
password.
information page
page
48
4.4.3.2 Test Case for Login
Username: ST17001
Password: staff123
automatically redirect to
Profile page
“Edit Profile”
49
4.4.3.4 Admin
1 Tap “Register Staff” Card View form for register staff Pass
ID
detail page.
form.
page.
50
4.4.3.4.2 List Of Staff
1 Tap “List Of Staff” Card View List of staff with view Pass
staff information.
database?”
51
4.4.3.4.3 Report
1 If tap “All Staff Report” Card. View list of all staffs with Pass
their information
2 If tap “Active Staff Report” Card. View list of all active staffs Pass
3 If tap “Not Staff Report” Card. View list of all not active Pass
4.4.3.5 Staff
1 Tap “Update Donor” Card View list of all donor with Pass
“update” button.
details
input form.
52
4 Tap on “Save” button Alert message “Successfully Pass
1 Tap “Add Donation” Card View form for update donor Pass
details
redirect to management
page.
1 Tap “All Staff Report” Card. View list of all staffs with Pass
their information
53
4.4.3.5.4 Donation Report
particular donor.
1 Tap “Blood Bank Report” Card. Radio popup appear on the Pass
screen
2 Tap which blood type that want to System will redirect to page Pass
be viewed and tap “ok” button chosen blood type and staff
total quantity.
54
4.4.3.6 Donor
Table 4.12: Test Case for Donation record and Blood Donation Information
record of a donor
the donor
55
CHAPTER 5
CONCLUSION
5.1 Introduction
This chapter discussing about contribution, limitation and recommendation and the
summary of the Blood Bank Management Application. This chapter also will touch about
Blood Bank Management Application is a developed system that help to ease the admin
to manage staff such as register staff, and viewing staff information and record. Besides, it
is also help the blood bank staff to manage donor, manage donation and manage blood
bank. Moreover, this BBMA ease the processes involving blood donation such as record
the donors’ blood donation in mobile phone which is replacing the manual system that
record the record in papers. This application also provide the report so that admin, staff and
56
5.3 Project Limitation
1. This application did not provide map to locate the nearest blood center.
2. Report can only be see inside phone and cannot be save in other format like pdf or
word.
3. This did not provide questionnaire before they want to donate blood. The
1. Implementing a geolocation plugin so that user can find the location or the nearest
Short Message System (SMS) so that they can know if the quantity of blood in
3. This application will add the questionnaire so that it can filter only qualified donor
57
REFERENCES
Journal
[2] K M Akkas Ali, Israt Jahan, Md. Ariful Islam, Md. Shafa-at Parvez (2015). Blood
(AJER).
[3] Prathamesh Raut, Prachi Parab, Yogesh Suthar, Sumeet Narwani, Sanjay Pandey
[4] Ashita Jain, Amit Nirmal, Nitish Sapre, Prof Shubhada Mone (2016). Online Blood
[5] Prof. Snigdha, Varsha Anabhavane, Pratiksha lokhande, Siddhi Kasar, Pranita More
58
Webpages
[6] Rule Based System, 2008. Suresh Sambandam, Founder of OrangeScape & CEO at
KiSSFLOW. https://www.slideshare.net/sureshsambandam/rule-based-system-
Thesis
[7] Fazlin Liyana Binti Mohammed Wadzir, 2017. Title of Degree, Universiti Sultan
59
APPENDIX A (GANTT CHART)
FYP 1 Schedule
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Task
Proof of Concept
Seminar Presentation
Report Correction
60
FYP 2 Schedule
1 2 3 4 5
Task
61