presented by mr. jignesh chauhan shah hardik en no : 13034212094 rudani akshay en no : 13034212093...

84
Presented By Mr. Jignesh Chauhan Shah Hardik En No : 13034212094 Rudani Akshay En No : 13034212093 GROUP NO : 23 Internal Guide

Upload: cuthbert-lyons

Post on 22-Dec-2015

215 views

Category:

Documents


1 download

TRANSCRIPT

Presented By

Mr. Jignesh Chauhan

Shah HardikEn No : 13034212094

Rudani Akshay En No : 13034212093

GROUP NO : 23

Internal Guide

Project ProfileRequirement SpecificationFunctional SpecificationRecommended Hardware & Software Requirement Time Line ChartActivity DiagramsUse Case DiagramsE-R DiagramData DictionarySequence DiagramsClass DiagramsCollaboration DiagramsInput and Output DesignTesting [Test Case]Future Enhancement

Project Profile

PROJECT PROFILE

Project Name : Online blood bank system(Jeevan Data)

Objective: I have developed a web application.it covers multiple modules like visitor only search and send but register user can search and buy boold gurop and update user profile details etc. Front End Tools : PHP 5.1.4& WampServer 2.0Back End Tools : MySQL 5.0.2Tools Used : MS Power Point Presentation 2007Type Of Application:Dynamic Web ApplicationProject Guide:Mr. Jignesh ChauhanTeam Members: 2 MembersDeveloped By: 1.Shah Hardik 2. Rudani Akshay

Requirement Specification

Existing System

Web Blood BankThis 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

ProblemsSecurity Problem of Donation camp of any user organize donation camp. There is no facility for blood bank or doctor registration.There is no facility for update blood stock of particular bank.No provide facility of blood stock of blood group wise and particular bank wise.No provide disease discussion platform for problem of person disease.

Continue..

Blood Bank IndiaThis website provide common platform for blood bank portal where donor registration, search donor and request blood.

FeatureThis website provides search facility for donor.Also provide Donor RegistrationUser can request blood

ProblemsThere is no facility for blood bank or doctor registration.There is no facility for update blood stock of particular bank.No provide facility of blood stock of blood group wise and particular bank wise.No provide disease discussion platform for problem of person disease.No provide facility of organize donation camp of particular blood bank. 

Need For 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.

Many people do donate blood but do not know about organize donation camp.

Proposed System

Objective to create this portal is to serve the people, 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.

This portal aims to meet the requirement of precious blood by providing the facility to post information about the blood donation camps on this portal and informing the volunteer donors about the blood donation camp.

The needy ones can request for blood using this portal and can get list of volunteer donors and blood bank that has the requested blood.

Continue…

Donor RegistrationThe people who want to volunteer to donate blood when there is requirement can register as donor. They will be required to register with their blood group.They will be receiving email when there will be a blood donation camp or there is requirement for blood in hospital or blood bank.They will registration on donation camp organized by blood banks.

Doctor RegistrationThe doctors can register in this portal and can request for blood and give answers to the patients when any disease is posted.

Guest RegistrationGuest register in this portal same role as Donor but he/she only not the registration for donate blood.

 

Continue...

Blood Bank RegistrationThe blood bank can register in this portal and can request for blood and will have to update the stock of blood in their storage.The blood bank can also post information about blood donation camp that they will be conducting and can also inform registered donors about the camp email. The blood bank may also receive request for blood when there is a need in other hospital and should reply as early as possible to help the needy ones.

Searching Donor and Blood BankThe user can search donors or blood bank in this module.The searching is made very easy for the users and is very efficient so that user can get result fast.Searching can be done through website. User needs to select state, District, city/area and blood type and the result will be displayed.

Continue..

Disease postingIn this module the user can post symptoms of his disease and the doctors reply to it. The doctors can give answers like what steps should be followed to cure the disease or the type of doctor the user should consult. The doctors can also post precautionary measures that should be taken to prevent the disease.  Blood Requesting In this module the user can request for blood to various blood bank.  The mail will be sent to all the blood bank that have the requested blood in their storage and then the requested blood bank can contact to the user who had made the request.

Blood Donation CampBlood Banks can post information about the blood donation camp that they are organized going to conduct and can inform the volunteered donors, about the camp through mail.

Minimum Hardware & Software

Requirement

SERVER SIDE REQUIREMENT

Hardware Requirement :

Dual-Core IV 1 GHz. 512 MB RAM. 2 GB Space On Hard Disk.

Software Requirement: Window server 2003/2000. PHP 5.2 . WAMPserver 2.0 Or Above.

CLIENT SIDE REQUIREMENT

Hardware Requirement:

Dual-Core

256 MB RAM.

2 GB Space On Hard Disk.

Software Requirement:

Operating System Window XP(Or Above).

Any Compactable Browser(IE 6.0 Or Above).

DAYS 0 10 20 30 40 50 60 70 80 90 120

TASK

Evaluate current system and define problemPlanning

Define Requirement

System Design

System Development

System Integrated & TestingSystem Deployment

Prepare Documentation

( O-10)

( 5-20)

( 1O-40)

( 3O-50)

( 5O-80)

( 6O-90)

( 9O-120)

( 2O-120)

Activity Diagram

Registration

Registration Details

Partial Registration Completed

Successfully Registration

[Approved By Admin]

[Yes]

Unsuccessfully Registration

[No]

[Valid/Complete Information]

[Yes]

[No]

Search Donor

[Criteria Wise]

Select State

Select District

Select City/Area

Select Blood Group

All Donors Data

List of Donor Data Based On Search

[Yes] [No]

Details of Selcted Donor

Organize Donation Camp

Organize Camp Details

[Valid/Complete Information]

[No]

Successfully Organize camp

[Yes]

Send Mail to all registred Donor

Request Blood

Request Blood Details

Successfully Request Blood

[Valid/Complete Information]

[Yes]

[No]

Send Mail Donor and Blood Bank

Disease posting Question/Answer

Post Disease Question

[Approved]

View Question

[Yes]

Reply(By Doctor)

[No]

Update Blood Stock

Update Blood Stock Details

Insert Blood Stock Update Blood Stock

Successfully Inserted Successfully Updated

[New Bank]

[Yes] [No]

[valid/complete information] [valid/complete information]

Use Cases

Global View

Donor

Donor

registration

view blood stock

attend donationcamp

request blood

Post DieseaseQuestion

Donor

search donorselect cityselect district

«uses»«uses»

select state

Search Blood Bank

Select Blood Type«uses»

select cityselect district

«uses»«uses»select state

«uses»

«uses»

Bank Wise

Blood Type Wise

«extends»

«extends»

Doctor

Doctor

registration

post disease answer

view blood stock

blood request

Doctor

search donor

select city

select district

«uses»

«uses»select state

Search Blood Bank

Select Blood Type

«uses»

select cityselect district

«uses»

«uses»select state«uses»

«uses»

Bank Wise

Blood Type Wise

«extends»

«extends»

Blood Bank

Blood Bank

registarion

update blood stock

organize donationcamp

Blood Request

Blood Bank

search donor

select cityselect district

«uses»

«uses»select state

Search Blood Bank

Select Blood Type

«uses»

select cityselect district

«uses»

«uses»select state «uses»

«uses»

Guest User

registration

Guest

Post DieseaseQuestion

view_blood_stock

blood_request

search donor

select city

select district «uses»

select state

«uses»

Guest

Search Blood Bank

Select Blood Type

«uses»

select cityselect district

«uses»

«uses»select state«uses»

Bank Wise

Blood Type Wise

«extends»

«extends»

«uses»

admin

approvedregistration,post disease question,Request

Blood

reject registration,postdisease question,Request

Blood

Manage Master

Admin

Create New Admin

Show Reports

Admin

E-R Diagrams

Database Design

Sr. No. Table Name Description

1 REGISTRATION Registration table will store the basic information of register user.

2 DONATION CAMP Donation camp table will store information of bank organize donation camp.

3 BLOOD REQUEST Blood Request table will store information of user request blood.

11 BLOOD STOCK Blood stock table will store information of bank blood stock.

4 DISEASE QUESTION Disease Question table will store information of user disease problem.

5 DISEASE ANSWER Disease Answer table will store information of user disease problem’s answer.

6 SPECIALIZATION MASTER Specialization Master table will store the all doctor’s specialization names

7 STATE MASTER State Master table will store the all states names

8 DISTRICT MASTER District Master table will store the all districts names

9 CITY MASTER City Master table will store the all cities names

10 BLOOD GROUP MASTER Blood Group Master table will store the all blood group names

11 CAMP ATTEND Donor information store attend particular donation Camp

Table Name: RegistrationNo. Field Data Type Constraints Description Sample 1 Sample 2

1 USER_ID INTEGER PK ID OF USER 1 22 CATEGORY ENUM NOT NULL ‘DONOR’,’DOCTOR’,’BANK

’,’GUEST’,‘ADMIN’DONOR BANK

3 NAME VARCHAR(100) NOT NULL NAME OF USER Shah hardik CIVIL HOSPITAL

4 BIRTHDATE DATE NULL BIRTHDATE OF USER 1992-09-21 -5 GENDER ENUM NULL ‘MALE’,’FEMALE’,’OTHER’ MALE -

6 BANK_PERSON VARCHAR(100) NULL BANK INCHARGE PERSON NAME

- Mr. Akshay rudani

7 REGISTRATION_NO VARCHAR(30) NULL REGISTARTION NUMBER OF DOCTOR AND BANK

- 12345678

8 DOCTOR_SPEC INTEGER NULL ID OF DOCTOR SPECIALIZATION

- 1

9 ADDRESS TEXT(1000) NOT NULL ADDRESS OD USER 4/43 Akshganga,Parasnagar

Civil Hospital,Ahmedabad

10 STATE INTEGER FK ID OF STATE_MASTER 1 111 DISTRICT INTEGER FK ID OF DISTRICT_MASTER 1 1

12 CITY INTEGER FK I D OF CITY_MASTER 2 313 PINCODE INTEGER NOT NULL PINCODE OF USER 380063 38004514 MOBILE_NO INTEGER NOT NULL MOBILE NUMBER OF USER 9725171332 9812345678

15 LANDLINE_NO INTEGER NULL LANDLINE NUMBER OF USER

- 07912345678

16 WEBSITE VARCHAR(30) NULL WEBSITE OF USER - -17 EMAIL VARCHAR(100) UNIQUE EMAIL OF USER Bca.hardikshah2

[email protected]

18 PASSWORD VARCHAR(20) NOT NULL PASSWORD OF USER Hardik12345 Civil12345619 PREV_DONATION_DA

TEDATE NULL DATE OF PREVIOS BLOOD

DONATION OF DONOR2014-10-10 -

20 BLOOD_GROUP INTEGER FK ID OF BLOOD GROUP MASTER

1 -

21 WEIGHT FLOAT(3,2) NULL WEIGHT OF USER 58.38 -22 REG_DATE DATE NOT NULL REGISTRATION DATE 2014-10-10 2014-10-1023 STATUS ENUM NOT NULL ‘YES’,’NO’ No no

Example

Table Name: Donation Camp

SNO. FIELD NAME DATA TYPE (SIZE)

CONSTRAINTS DESCRIPTION Sample 1 Sample 2

1 CAMP_ID INTEGER PK ID OF DONATION CAMP

1 2

2 ORG_NAME VARCHAR(100) NOT NULL ORGANIZATION NAME WHERE ORAGANIZE CAMP

AESICS ahemedabd

3 ORG_ADDRESS TEXT(1000) NOT NULL ORGANIZATION ADDRESS WHERE ORGANIZE DONATION CAMP

AGT College

Campus

Gandhinagar

4 STATE INTEGER FK ID OF STATE_MASTER

1 1

5 DISTRICT INTEGER FK ID OF DISTRICT_MASTER

1 1

6 CITY INTEGER FK I D OF CITY_MASTER

4 4

7 START_DATE DATE NOT NULL START DATE OF CAMP

2014-10-15 2014-10-15

8 START_TIME TIME NOTNULL SATRT TIME OF

CAMP

09:30 AM 12:30 PM

9 END_DATE DATE NOT NULL END DATE OF CAMP

2014-10-15 2014-10-15

10 END_TIME TIME NOTNULL END TIME OF

CAMP

03:30 PM 04:30 PM

11 USER_ID INTEGER FK ID OF BANK 2 2

Example

Table Name: REQUEST BLOOD

SNO. FIELD NAME DATA TYPE (SIZE)

CONSTRAINTS DESCRIPTIONSample 1 Sample2

1 REQUEST_ID INTEGER PK ID OF BLOOD REQUEST 1 2

2 PATIENT_NAME VARCHAR(100) NOT NULL NAME OF PATIENT Akshay rudani Shah hardik

3 PATIENT_AGE INTEGER NOT NULL AGE OF PATIENT32 24

4 BLOOD_GROUP INTEGER FK ID OF BLOOD GROUP MASTER 1 3

5 DATE_NEED DATE NOT NULL DATE WHEN NEED BLOOD 2014-10-10 2014-10-10

6 UNITS INTEGER NOT NULL HOW MANY NO. OF UNITS NEED 5 7

7 HOSPITAL_NAME VARCHAR(200) NOT NULL HOSPITAL NAME OF PATIENT ADMIT

Starling

Hospital,Ahmed

abad

Starling

Hospital,Ahmed

abad

8 LOCATION VARCHAR(200) NOT NULL LOCATION OF BLOOD NEED Ahmedabad Ahmedabad

9 PURPOSE TEXT(1000) NULL PURPOSE OF BLOOD NEED Null Null

10 STATUS ENUM NOT NULL ‘YES’,’NO’No No

11 USER_ID INTEGER FK ID OF USER1 2

Example

Table Name: Blood Stock

S.NO FIELD NAME DATA TYPE (SIZE)

CONSTRAINTS DESCRIPTION Sample 1 Sample 2

1 BS_ID INTEGER PK ID OF STOCK 1 2

2 BLOOD_GROUP INTEGER FK ID OF BLOOD GROUP MASTER

1 4

3 LAST_UPDATE_DATE

DATE NOT NULL DATE OF LAST UPDATED STOCK

2014-10-15 2014-10-15

4 WHOLEBLOOD INTEGER NULL WHOLEBLOODBOTTEL

3 5

5 PACKETCELLS INTEGER NULL PACKETCELLSBOTTEL

6 8

6 PLATELETCELLS INTEGER NULL PLATELETCELLSBOTTEL

18 12

7 PLATELETCONCENTRATE

INTEGER NULL PLATELETCONCENTRATE BOTTEL

6 8

8 FRESHFROZENPLASMA

INTEGER NULL FRESHFROZENPLASMA BOTTEL

5 7

9 CRYOPRECIPITATE

INTEGER NULL CRYOPRECIPITATEBOTTEL

8 6

10 PLASMA INTEGER NULL PLASMA BOTTEL 7 8

11 TOTAL INTEGER NULL TOTAL OF BOTTEL

48 54

12 USER_ID INTEGER FK ID OF BANK 2 2

Example

Table Name: Disease QuestionS.NO FIELD NAME DATA TYPE

(SIZE)CONSTRAINTS DESCRIPTION Sample 1 Sample 2

1 QUE_ID INTEGER PK ID OF QUESTION 1 2

2 TITLE VARCHAR(200) NOT NULL TITLE OF QUESTION

Eye Problem Skin Problem

3 DETAIL TEXT(1000) NOT NULL DETAIL OF QUESTION

My Eye is always red

My skin in oily

4 DATETIME DATETIME(20) NOT NULL WHEN POSTED DATETIME

2014-10-17 14:14:12

2014-10-17 13:14:12

5 STATUS ENUM NOT NULL ‘YES’,’NO’ No No

6 USER_ID INTEGER FK ID OF USER 1 3

Table Name: Disease AnswerS.NO FIELD NAME DATA TYPE

(SIZE)CONSTRAINTS DESCRIPTION Sample 1 Sample 2

1 ANS_ID INTEGER PK ID OF ANSWER 1 2

2 ANSWER TEXT(1000) NOT NULL ANSWER DETAIL Check out in ENT Specialist

Check out in Skin Specialist

3 DATETIME DATETIME NOT NULL WHEN POSTED DATETIME

2014-10-18 14:14:12

2014-10-19 13:14:12

4 STATUS ENUM NOT NULL ‘YES’,’NO’ No No

5 USER_ID INTEGER FK ID OF USER 5 6

6 QUE_ID INTEGER FK ID OF QUESTION 1 2

Example:- Disease Question

Example:-Disease Answer

Table Name: State MasterS.NO FIELD NAME DATA TYPE

(SIZE)CONSTRAINTS DESCRIPTION Sample1 Sample 2

1 STATE_ID INTEGER PK ID OF STATE 1 2

2 NAME VARCHAR(30) NOT NULL NAME OF STATE Gujarat Rajasthan

Table Name: District Master

S.NO FIELD NAME DATA TYPE (SIZE)

CONSTRAINTS DESCRIPTION Sample 1 Sample 2

1 DISTRICT_ID INTEGER PK ID OF DISTRICT 1 2

2 NAME VARCHAR(30) NOT NULL NAME OF DISTRICT

Ahmedabad Banaskantha

3 STATE_ID INTEGER FK ID OF STATE 1 1

Table Name: City Master

S.NO FIELD NAME DATA TYPE (SIZE)

CONSTRAINTS DESCRIPTION Sample 1 Sample 2

1 CITY_ID INTEGER PK ID OF CITY 1 2

2 NAME VARCHAR(30) NOT NULL NAME OF CITY Naranpura Vadaj

3 DISTRICT_ID INTEGER FK ID OF DISTRICT 1 1

Example:-state

Example:-district

Example

Table Name: Blood Group MasterS.NO FIELD NAME DATATYPE

(SIZE)CONSTRAINTS DESCRIPTION Sample1 Sample2

1 BG_ID INTEGER PK ID OF BLOOD GROUP

1 2

2 NAME VARCHAR(30) NOT NULL NAME OF BLOOD GROUP

A+ A-

Table Name: Doctor SpecializationS.NO FIELD NAME DATA TYPE

(SIZE)CONSTRAINTS DESCRIPTION Sample1 Sample2

1 SPEC_ID INTEGER PK ID OF DOCTOR SPECIALIZATION

1 2

2 NAME VARCHAR(100) NOT NULL NAME OF DOCTOR SPECIALIZATION

Heart Specialist Skin Specialist

Table Name: Camp Attend

S.NO FIELD NAME DATA TYPE (SIZE)

CONSTRAINTS DESCRIPTION Sample1 Sample 2

1 ATTEND_ID INTEGER PK ID OF ATTEND DONOR CAMP

1 2

2 CAMP_ID INTEGER FK ID OF CAMP ID 1 1

3 USER_ID INTEGER FK ID OF DONOR 1 3

Example:- Blood Group

Example:- Doctor Specialization

Sequence Diagram

Registration

User

client:registration class:register Database

Enter Registration Information

Show Validation Error Message checkEmailAvailablity()

Show Email Existing Message

Not Email Exists

register()

Insert Query

Message of Thanks for Registration

status

validate():validation Failed

[Is available]:Email available

Search

User

client:search Database

Select State,District,City/Area,Blood Group

Select Query

Show Donor List

Select State,District,City/Area

Select Query

Show Blood Bank List

User

class:request blood Databaseclient:request blood

Show Validation Error Message

requestBlood()

Insert Query

Message of Thanks for Requesting Blood

Enter Request Blood Information

validate():validation Failed

status

Blood Request

Bank

client:donation camp class:donation camp Database

Enter Donation Camp Information

Show Validation Error Message

donationCamp()

Insert Query

Message of Thank You for Organize Camp

validate():validation Failed

status

Organize Donation Camp

user

class:post question class:post answer Databaseclient:interface

Enter Question Information

postQuestion()

Insert Query

postAnswer()

Insert Query

Msg successfully Post Question

Msg Successfully Post Answer

validate():validation Failed

status

Enter Answer Information

Show Validation Error Message

Show Validation Error Message

validate():validation Failed

status

Disease Question/Answer

Class Diagrams

+register()+request_blood()+answer_disease_que()+search()+organize donation camp()+update_stock()+ask_disease_que()+attend_camp()

-id : Integer-category : String-name : String-dob : Date-gender : String-bank_person : String-r_no : String-doctor_spec : String-address : String-state : String-district : String-city : String-mobile_no : Long-landline_no : Long-website : String-email : String-password : String-prev_don._date : Date-blood_group : String-reg_date : Date-status : String

User

+get_total_donor()

-id : Integer-org_name : String-org_address : String-state : String-district : String-city : String-start_datetime : Date-end_datetime : Date-user_id : Integer

donation_Camp

+send_request()+approved_request()+reject_request()+get_status()

-id : Integer-patient_name : String-patient_age : Integer-blood_group : String-blood_need : Date-units : Integer-hospital_name : String-location : String-purpose : String-status : String-user_id : Integer

blood_request

+get_all_answer()+update()+delete()

-id : Integer-title : String-detail : String-datetime : Date-view : Integer-status : String-user_id : Integer

disease_question

+post_answer()+update()+delete()

-id-answer-datetime-view-rating-comment-status-user_id-que_id

disease_answer

+get_total_units of blood()

-id : Integer-blood_group : String-last_update_date : Date-wholeblood : Integer-packetcells : Integer-plateletcells : Integer-plateletconcentrate : Integer-freshfrozenplasma : Integer-cryoprecipitate : Integer-total : Integer-user_id : Integer

blood_stock

-Request Blood

1

0..*

-organize camp

1

0..1-update blood stock

1

1

-post disease answer1

1

-post disease question

1

0..*

Collaboration Diagram

USER Login

Boold bank

SearchDoor

Boold Tips

Discussion

Bloodreqest

1.Enter Userame & Password

2.Varify

4.View Blood Group

Detail

3. View BloodbankDetail

5. D

onation T

ips

7.Post Question

6. Request Blood

USER SIDEUSER SIDE

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

5Man

age

Use

r

6. Donation

Camp Details

7.Discussion&QU

ESTIONANSWR

8.Manage Booking

ADMIN SIDEADMIN SIDE

Input and Output Design

User Home Page:-

Login

Login page

changepassword

View profile

Update

Search blood bank

Search Donor

Why donate blood

Donation Tips

Discussion Question

Request Blood Details

User Contact Us

Admin Home page

User Registred

DonationCamp

New Admin

Testing

Future Enhncement

With email as messaging service, we will provide SMS to users in future.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

WebsitesJquery. (n.d.). Retrieved from Jquery: http://jquery.com/Jquery.com. (n.d.). Retrieved from Jquery: www.jquery.comlesson9. (n.d.). Retrieved from lesson9: http://www.9lessons.infoPhpEasyStep. (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/BooksJquery 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.