SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
APROJECT REPORT
ON
Online Blood Bank System
SUBMITTED BY SHAH HARDIKKUMAR NARENDRABHAI(13034212094)
RUDANI AKSHAYKUMAR BHARATBHAI (13034212093)M.C.A Semester-V
Internal Guided By Mr. Jignesh A.chauhan
Submitted to
Acharya Motibhai Patel Institute of Computer StudiesGanpat University, Ganpat Vidyanagar-384012
Nov/Dec-2014
Ganpat University | 1
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
Acharya Motibhai Patel Institute of Computer
StudiesGanpat University, Ganpat
Vidyanagar-384012CERTIFICATE
T O W H O M S O E V E R I T M A Y C O N C E R N
This is to certify that the following students of M.C.A. Semester-V have completed their project work titled “Online Blood Bank System” satisfactorily
fulfill the requirement of M.C.A Semester-V, Ganpat University, Ganpat Vidyanagar, in the year 2014-2015.
Name Exam No/Enroll. NoShah Hardik N 13034212094Rudani Akshay B 13034212093
Internal Guide Project Co-ordinator PrincipalMr.Jignesh A.Chauhan Mr. K.J.Patel Dr.N.J.Patel
Ganpat University | 2
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
Acknowledgement We are thankful Mr.Jignesh A.Chauhan for guiding us throughout the project development. He helped us in conceptualize the idea of the project and helped us reorganization our work by providing us with every facility required as well as always helping us in the understanding and the development of our application. We are thankful to our college principal Dr.N.J.Patel and internal guide Mr Jignesh A.Chauhan for their valuable involvement in helping us for undertaking and successfully complete our project at this level.
Thank You.
Shah Hardik(13034212094)
Rudani Akshay(13034212093)
Ganpat University | 3
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
Preface
The project report has been prepared by Shah Hardik and Rudani Akshay student of group no 23. in acharya motibhai patel institute of computer studies (ampics), ganpat university, kharva(gujarat).
The project report has been made to ease of understanding of the s/w
developed for full time project fulfillment in mca sem-v, where project report contains the documentation of project and project presentation.
Here, in word document the documentation has been developed including the following things.
Intro –page, college certificate (made for project), index, project profile about organization, existing system, need for new system, minimum requirement .system flow chart, diagrams.
The other things are process description that includes brief description of process .process algorithm, i/o design o/p design and at the last post implementation review future enhancement and bibliography that gives the reference books and refines sites.
Ganpat University | 4
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
Contents
Sr. No Title Page No
1 Project Profile 1
2 Requirement Specification 3
3 Functional Specification 4
4 Recommended Hardware & Software Requirement
5
5 Time line chart (Gantt chart) 6
6 Activity Diagrams 13
7 Use Case Diagrams 20
8 E-R Diagram 22
9 Data Dictionary 38
10 Sequence Diagrams 44
11 Class Diagrams 46
12 Collaboration Diagrams 49
13 Input and Output Design 66
14 Testing [Test Case] 67
15 Future Enhancement 68
16 Bibliography / References 69
PROJECT PROFILEGanpat University | 5
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
Project Name Online Blood Bank System
Objective I have developed a web application.it covers multiple modules like visitor only search product and send feedback but register user can search and buy product,and update user profile details etc.
Front End Tools PHP 5.1.4 & Wampserver 2.0
Back End Tools MySQL 5.0.2
Tools Used MS PowerPoint Presentation 2007
Type Of Application Dynamic Web Application
Project Guide Mr. Jignesh A Chauhan
Team Members 2 Members
Developed By Shah Hardik N (13034212094)Rudani Akshay B (13034212093)
REQUIREMENT SPECIFICATION
Ganpat University | 6
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
1. Existing System
Web Blood Bank
This website provide common platform for Donor Registration, Search Donor, Request Blood.
Features
This website provides search facility for donor.
Also provide Donor Registration
User can request blood
Blood Bank India
This website provide common platform for blood bank portal where donor registration, search donor and request blood.
Feature
This website provides search facility for donor.
Also provide Donor Registration
User can request blood
Ganpat University | 7
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
1. Need for the New System
There is a shortage of blood for patients in India. Many accident victims, innocent children suffering from thalessaemia, pregnant women, cancer patients and other people in life threatening situations die due to shortage of blood.
Who need blood in an emergency and help save life, but do not know whom to contact. This portal will decrease their effort to find the blood of particular group.
Many People have little diseases problem but not cure about, Here user can post about disease and available doctor will respond you with a various prescription , so it cure as.
FUNCTIONAL SPECIFICATION
Ganpat University | 8
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
Admin
Registered Users Details Organized Donation Camps Details Blood Requests Details Diseases Questions Details Disease Answers Details Reports
Guest user
In this functionality Guest user can view the basic profile of a Register user and do quick search.
View the site Search Blood Bank. View Donor.
Register user
In this functionality register user can view the site, send message to user.
View the site. Question discussion Check Blood Tips Update profile
Ganpat University | 9
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
SERVER SIDE REQUIREMENT
Hardware Requirement:
Processor : 2.0GHz
RAM : 512MB
Hard Disk : 320GB
Software Requirement:
Operating System : Windows server OS
Front End : PHP 5.2
Back End : Wampserver 2.0 or Above
Tools Used : Photoshop CS5
Browser : Internet Explorer 8.0
CLIENT SIDE REQUIREMENT
Hardware Requirement:
Processor : 1.6GHz
RAM : 512MB
Hard Disk : 25GB space required
Software Requirement:
Operating System : Windows server OS
Browser : Internet Explorer 8.0
Ganpat University | 10
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
Time Line Chart
the time line chart show whole work of project by days and , it present in graphical .in our time line chart we are include evaluate current system and define problem, planning, define requirement, system design, system development, system integrated and testing, system deployment, prepare documentation task.
Activity DiagramsAn activity diagram is essentially a flowchart, showing flow of control from activity to activity
Ganpat University | 11
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
Activity diagrams may stand alone to visualize, specify, construct, and document the dynamics of a society of objects, or they may be used to model the flow of control of an operation
An activity diagrams emphasize the flow of control from activity to activity
An activity diagram shows the flow from activity to activity.
Activity :
Activities ultimately result in some action, which is made up of executable atomic computations that result in a change in state of the system or the return of a value.
Action:
ctions encompass calling another operation, sending a signal, creating or destroying an object, or some pure computation, such as evaluating an expression.
Graphically, an activity diagram is a collection of vertices and arcs.
Ganpat University | 12
Registration User
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
Ganpat University | 16
Diseases Post Question-Answer
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
Use case is a description of a set of sequences of actions, including variants that a system performs . Graphically, a use case is rendered as an ellipse.
Names:
Every use case must have a name that distinguishes it from other use cases. A name is a textual string. That name alone is known as a simple name.
A path name is the use case name prefixed by the name of the package in which that use case lives. A use case is typically drawn showing only its name.
An actor represents a set of roles that users of use cases play when interacting with these use cases. Typically, an actor represents a role that a human, a hardware device, or even another system plays with a system.
Ex. If you work for a bank, you might be a loan officer. If you do your personal banking there, you will also play the role of customer.
An instance of an actor represents an individual interacting with the system in a specific way. Actors are not actually a part of the system. they live outside of the system.
Actors may be connected to use cases only by association. An association between an actor and a use case indicates that the actor and the use case communicate with each other, each one possibly sending and receiving messages
Ganpat University | 19
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
E-R Diagrams
Also Called an entity – relationship(E-R Diagram) Diagram. a graphical representation of entities and their relationships to each other ,typically user in computing in regard to the organization of data within database or information system. An entity is a piece of data –an object or concept about which data is stored
A relationship is how the data is shared between entities. there are types of relationship between entities.
One To One
One To Many
Many To Many
Ganpat University | 26
ER-Diagrams
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
Data Dictionary
List of Tables
Ganpat University | 27
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
REGISTRATION
DONATION CAMP
BLOOD REQUEST
BLOOD STOCK
DISEASE QUESTION
DISEASE ANSWER
SPECIALIZATION MASTER
STATE MASTER
DISTRICT MASTER
CITY MASTER
BLOOD GROUP MASTER
CAMP ATTEND
Registration_ mst
This table shows the Basic information of a register user
Ganpat University | 28
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
S.NO
FIELD NAME DATA TYPE (SIZE) CONSTRAINTS DESCRIPTION
1 ID INTEGER PK ID OF USER
2 CATEGORY ENUM NOT NULL
‘DONOR’,’DOCTOR’,’BANK’,’GUEST’
3 NAME VARCHAR(100)
NOT NULL
NAME OF USER
4 BIRTHDAY DATE NOT NULL
BIRTHDATE OF USER
5 GENDER ENUM NOT NULL
‘MALE’,’FEMALE’,’OTHER’
6 BANK_PERSON VARCHAR(100)
NOT NULL
BANK INCHARGE PERSON NAME
7 REGISTRATION_NO VARCHAR(30)
NOT NULL
REGISTARTION NUMBER OF DOCTOR AND BANK
8 DOCTOR_SPEC INTEGER NOT NULL
ID OF DOCTOR SPECIALIZATION
9 ADDRESS TEXT(1000) NOT NULL
ADDRESS OD USER
10 STATE INTEGER FK ID OF STATE_MASTER
11 DISTRICT INTEGER NOT NULL ID OF DISTRICT_MASTER
12 CITY INTEGER FK I D OF CITY_MASTER13 PINCODE INTEGER NOT
NULLPINCODE OF USER
14 MOBILE_NO INTEGER NOT NULL
MOBILE NUMBER OF USER
15 LANDLINE NO INTEGER NULL LANDLINE NUMBER OF USER
16 WEBSITE VARCHAR(30)
NULL WEBSITE OF USER
17 EMAIL VARCHAR(100)
UNIQUE
EMAIL OF USER
18 PASSWORD VARCHAR(20)
NOT NULL
PASSWORD OF USER
19 PREV_DONATIONDATA
DATE NULL DATE OF PREVIOS BLOOD DONATION OF DONOR
20 BLOOD_GROUP INTEGER FK ID OF BLOOD GROUP MASTER
21 WEIGHT FLOAT(3,2) NOT NULL
WEIGHT OF USER
22 REG_DATE DATE NOT NULL
REGISTRATION DATE
Ganpat University | 29
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
23 STATUS ENUM NOT NULL
‘YES’,’NO’
Example:-
Table Name: Donation Camp_mstSNO.
FIELD NAME DATA TYPE (SIZE)
CONSTRAINTS DESCRIPTION
1 ID INTEGER PK ID OF DONATION CAMP
Ganpat University | 30
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
2 ORG_NAME VARCHAR(100) NOT NULL ORGANIZATION NAME WHERE ORAGANIZE CAMP
3 ORG_ADDRESS TEXT(1000) NOT NULL ORGANIZATION NAME WHERE ORAGANIZE ADDRESS
4 STATE INTEGER pk ID OF STATE_MASTER
5 DISTRICT INTEGER FK ID OF DISTRICT_MASTER
6 CITY INTEGER No I D OF CITY_MASTER
7 START_DATETIME DATETIME NOT NULL START SATETIME OF CAMP
8 END_DATETIME DATETIME NOT NULL END DATETIME OF CAMP
9 USER_ID INTEGER FK ID OF BANK
Example
Table Name: BLOOD REQUEST_mstSNO.
FIELD NAME DATA TYPE (SIZE)
CONSTRAINTS
DESCRIPTION
Ganpat University | 31
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
1 ID INTEGER Fk ID OF BLOOD REQUEST
2 PATIENT_NAME
VARCHAR(100)
NOT NULL NAME OF PATIENT
3 PATIENT_AGE INTEGER NOT NULL AGE OF PATIENT
4 BLOOD_GROUP INTEGER FK ID OF BLOOD GROUP MASTER
5 DATE_NEED DATE NOT NULL DATE WHEN NEED 0BLOOD
6 UNITS INTEGER NOT NULL HOW MANY NO. OF UNITS NEED
7 HOSPITAL_NAME
VARCHAR(200)
NOT NULL HOSPITAL NAME OF PATIENT ADMIT
8 LOCATION VARCHAR(200)
NOT NULL LOCATION OF BLOOD NEED
9 PURPOSE TEXT(1000) NULL PURPOSE OF BLOOD NEED
10 STATUS ENUM NULL ‘YES’,’NO’
11 USER_ID INTEGER FK ID OF USER
Example:
Table Name: DISEASE QUESTION_mstS.NO
FIELD NAME
DATA TYPE (SIZE)
CONSTRAINTS
DESCRIPTION
1 ID INTEGER PK ID OF QUESTION
Ganpat University | 32
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
2 TITLE VARCHAR(200)
NOT NULL TITLE OF QUESTION
3 DETAIL TEXT(1000) NOT NULL DETAIL OF QUESTION
4 DATETIME
DATETIME(20)
NOT NULL WHEN POSTED DATETIME
5 STATUS ENUM NOT NULL ‘YES’,’NO’
6 USER_ID INTEGER FK ID OF USER
Example:
Table Name: DISEASE ANSWER_mstS.N FIELD DATA CONSTRAIN DESCRIPTI
Ganpat University | 33
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
O NAME TYPE (SIZE)
TS ON
1 ID INTEGER Fk ID OF ANSWER
2 ANSWER TEXT(1000)
NOT NULL ANSWER DETAIL
3 DATETIME
DATETIME
NOT NULL WHEN POSTED DATETIME
4 STATUS ENUM NOT NULL ‘YES’,’NO’
5 USER_ID INTEGER FK ID OF USER
6 QUE_ID INTEGER FK ID OF QUESTION
Example:
Table Name: DOCTOR SPECIALIZATION_mstS.NO FIELD
NAMEDATA TYPE (SIZE)
CONSTRAINTS DESCRIPTION
1 ID INTEGER Fk ID OF DOCTOR SPECIALIZATION
Ganpat University | 34
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
2 NAME VARCHAR(100) NOT NULL NAME OF DOCTOR SPECIALIZATION
Example
Table Name: STATE MASTER
S.NO FIELD NAME
DATA TYPE (SIZE)
CONSTRAINTS DESCRIPTION
Ganpat University | 35
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
1 ID INTEGER PK ID OF STATE2 NAME VARCHAR(30) NOT NULL NAME OF
STATE
Example
Table Name: DISTRICT MASTERS.NO FIELD
NAMEDATA TYPE (SIZE)
CONSTRAINTS DESCRIPTION
1 ID INTEGER PK ID OF DISTRICT
Ganpat University | 36
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
2 NAME VARCHAR(30) NOT NULL NAME OF DISTRICT
3 STATE_ID INTEGER NOT NULL ID OF STATE
Example:-
Table Name: CITY MASTERS.NO FIELD NAME DATA TYPE
(SIZE)CONSTRAINTS DESCRIPTION
1 ID INTEGER PK ID OF CITY
Ganpat University | 37
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
2 NAME VARCHAR(30) NOT NULL NAME OF CITY
3 DISTRICT_ID INTEGER NOT NULL ID OF DISTRICT
Example
Table Name: BLOOD GROUP MASTERS.NO
FIELD NAME
DATATYPE (SIZE)
CONSTRAINTS
DESCRIPTION
Ganpat University | 38
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
1 ID INTEGER Fk ID OF BLOOD GROUP
2 NAME
VARCHAR(30)
NOT NULL NAME OF BLOOD GROUP
Example:-
Table Name: BLOOD STOCKS.NO
FIELD NAME DATA TYPE
CONSTRAINTS DESCRIPTION
Ganpat University | 39
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
(SIZE)1 ID INTEGE
RPK ID OF STOCK
2 BLOOD_GROUP INTEGER
FK ID OF BLOOD GROUP MASTER
3 LAST_UPDATE_DATE DATE NOT NULL DATE OF LAST UPDATED STOCK
4 WHOLEBLOOD INTEGER
NULL WHOLEBLOODBOTTEL
5 PACKETCELLS INTEGER
NULL PACKETCELLSBOTTEL
6 PLATELETCELLS INTEGER
NULL PLATELETCELLSBOTTEL
7 PLATELETCONCENTRATE INTEGER
NULL PLATELETCONCENTRATE BOTTEL
8 FRESHFROZENPLASMA INTEGER
NULL FRESHFROZENPLASMA BOTTEL
9 CRYOPRECIPITATE INTEGER
NULL CRYOPRECIPITATEBOTTEL
10 PLASMA INTEGER
NULL PLASMA BOTTEL
11 TOTAL INTEGER
NULL TOTAL OF BOTTEL
12 USER_ID INTEGER
FK ID OF BANK
Example:-
Sequence Diagrams
Ganpat University | 40
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
What is a Sequence Diagram?A model describing how groups of objects collaborate in some behaviour overtime.The diagram captures the behaviour of a single use case.t shows objects and the messages that are passed between these objects for theparticular use case.When to use a Sequence Diagram?A good design can have lots of small methods in different classes. Because it isdifficult to figure out the overall behaviour of the design we draw a sequencediagram to verify the behaviour
Sequence Diagram: Registration
Ganpat University | 41
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
Sequence Diagram: Search Donor/Blood Bank
Ganpat University | 42
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
Sequence Diagram: Request Blood
Ganpat University | 43
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
Sequence Diagram: Donation Camp
Ganpat University | 44
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
Sequence Diagram: : Post Disease Questions/Answers
Ganpat University | 45
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
A class diagram is a diagram that shows a set of classes, interfaces, and collaborations and their relationships. Graphically, a class diagram is a collection of vertices and arcs.
It is used to model the static view of a system.
It is also a foundation for component and deployment diagrams.
Collaboration Diagrams
Ganpat University | 47
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
A collaboration is a society of classes, interfaces, and other elements that work together to provide some cooperative behavior that's bigger than the sum of all its parts.
A collaboration name must be unique within its enclosing package,
Every collaboration must have a name that distinguishes it from other collaborations.
A name is a textual string. That name alone is known as a simple name;
A path name is the collaboration name prefixed by the name of the package in which that collaboration lives
Collaborations have two aspects: a structural part and behavioral part .
a structural part that specifies the classes, interfaces, and other elements that work together to carry out the named collaboration, and
a behavioral part that specifies the dynamics of how those elements interact
Ganpat University | 48
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
Ganpat University | 49
USER Login
Boold bank
SearchDoor
Boold Tips
Discussion
Bloodreqest
1.Enter Userame & Password
2.Varify
4.View Blood Group Detail
3. View BloodbankDetail
5. Donation
Tips
7.Post
Question
6. Request Blood
USER SIDE
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
Ganpat University | 50
ADMIN
Login
Registratn
status
Blood
Request
User
Donation Camp
Discussion
CREATE NEW ADMIN
1.Enter Userame & Password
2.Varify 3.Request Blood Details
3.1 Checking Blood Group
(Admin)
4. Registred Detail4.1 connection
between user & Admin 5M
anag
e User
6. Donation
Camp Details
7.Discussio
n&QUESTIONANSW
R
8.Manage Booking
ADMIN SIDE
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
Input and Output Design
User Home Page:-
Ganpat University | 51
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
Login page
changepassword
Ganpat University | 53
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
User Contact Us
Admin Home page
Ganpat University | 63
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
Future Enhncement
With email as messaging service, we will provide SMS to users in future.
Ganpat University | 68
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
We also include Discussion Forum which contains question-answer, rating, number of views, and like – dislike.
We also record all activity of users as logged file.
We plan to develop mobile-based application for this project in near future.
Bibliography
Websites
Jquery. (n.d.). Retrieved from Jquery: http://jquery.com/
Jquery.com. (n.d.). Retrieved from Jquery: www.jquery.com
Ganpat University | 69
SYSTEM DEVELOPMENT PROJECT-1 BLOOD BANK ONLINE SYSTEM
lesson9. (n.d.). Retrieved from lesson9: http://www.9lessons.info
PhpEasyStep. (n.d.). Retrieved from PhpEasyStep: http://www.phpeasystep.com/
Stack Overflow. (n.d.). Retrieved from Stack Overflow: http://stackoverflow.com/
W3schools. (n.d.). Retrieved from W3schools: http://www.w3schools.com/
Books
Jquery Cookbook. United States of America: O’Reilly Media, Inc.
Steve Suehring, T. C. (2009). PHP and MySql Bible. United States of America: Wiley Publishing, Inc.
Ganpat University | 70