Professional Documents
Culture Documents
Main Project
Main Project
3 Development Tools
Visual Basic
M.S. Access
M.S. Word
7 Conclusion
8 Bibliography
1
TITLE OF THE PROJECT
2
INTRODUCTION
managing the records of Donor & Member available in the Blood Bank
requirement, and approval status held in the blood bank. First of all user
can send the details of blood group, no of unit, date and type ( Donate or
most of the employees are busy in doing just paper works and
3
There is no other redeeming act than to save a human life. People may
thinks that way, then doctors may be unable to save so many human
lives. People who have never donated blood may themselves require
blood at some point of their life. But think what will happen if
donation so that more and more people come forward to donate blood. If
human lives are wasted because of the dearth of blood in the blood
service via web interface, mobile application and SMS. As soon as any
updates occur in the blood database these changes are reflected in all the
blood bank.
supply chain to reduce response time for each blood demand request.
effectively. The results have shown that the proposed system helps
chain network. The recipient can get blood in emergency case also .we
also provide SMs facility to donors so that they can reach to exact
location .
5
Project Category:
Application Software
Tools/Platform, Languages:
HARDWARE SPECIFICATION
VIRTUAL MEMEORY
RAM : 256 MB
HARD DISK : 40 GB
600RESOLUTIONS)
FLOPPYDRIVE : 1.44 MB
6
3.1.2 SOFTWARE SPECIFICATION
SERVLET
MIDDLEWARE : J2EE
with the selected users through according blood report only. Now this
site is free, after few months, registered users have to pay monthly for
In future, we can have the search engine that can provide the result on
the basis of different criteria to search. We can also have one more
7
One year maintenance and software support for the proposed
be easily added without affecting the main program with less effort
and cost.
tools.
8
LITERATURE SURVEY:
demands.
and HIT.
The main goal of this paper is to incorporate the real-time and mobility
paper can offer: SMS, MMS, live audio and video coverage.
describes about the review of the main features, merits and demerits
Banks and shows the comparison of various existing system and provide
system. paper introduce some new idea for improving the existing
about how recent developments in the wireless networks field, new and
has just started and how wireless networks are going to become an
integral part of medical solutions. And also this survey paper describes
medical field and discusses the issues and challenges. and also tried to
currently being developed in the research and business sectors, also talk
11
Paper[6] , ProSang – leading blood management system in
that simplifies the entire management of blood– from blood donor call
major systems/applications.
shows that the government is in the right track although having some
amount of money to get better system in place for the future benefit.
12
Overall paper describes about how telehealth can be profit to the
outcome of the extensive consultation, the policy context and the legal
textbook)
14
And include the incidence of emergency situation by using
from the body into the combined message in a new form while allowing
hospitals and also explains about the importance of health care system
Also explains about how E-healthcare will empower the consumer and
providers.
record (EMR) systems, models important health and safety benefits, and
eventually save more than $81 billion annually-by improving health care
with respect to existing system .and how the drawbacks are overcome by
proposed system. Also describes how proposed system will be less time
16
Result will be very precise and accurate and will be declared in very
short
how right information available at the right place, at the right time, and
discusses the design of the MediNet system and shows how it seamlessly
between the healthcare meters and mobile phones, and between mobile
phones and web server components. The overall paper describes about
Blood bank has a major task to collect blood from donors, monitor
blood quality and supply, and distribute blood and blood components to
within this blood supply chain. If the blood bank is able to deliver blood
retrieve and to find particular information like- E.g. - To find out about
the donor’s history, the user has to go through various registers. This
within the blood supply chain. The system was designed to cope with
The recipient can get blood in emergency case also. Also we are
connects to our web-site so that the one with our application in his/her
cell phone can easily access our site and can get information. This
banks.
location etc).
4. PROPOSED SYSTEM:
20
Front-end Features:
Donors registration
Donors login
Blood Request
Search donors
Request Blood
Mobile application
21
Administrative Features:
Admin login
22
3.1 BLOCK DIAGRAM
Our system consists of main server which interacts with the database and
client and also blood bank. Our server also interacts with multimedia
cell phones which have our mobile application. With help of mobile
interface user can interact with server effectively, user can easily search
23
4.2 HARDWARE AND SOFTWARE REQUIREMENTS:
For system:
Processor
RAM
Monitor
Mouse
Printer
For mobile:
Software tool:J2ME
24
5. PROTOTYPE IMPLEMENTATION:
25
5.1 VARIOUS MODULES DESCRIBED IN STRUCTURE
CHART:
Administrator Module.
ADMINISTRATOR MODULE:
of this site.
After they logged into this site. They can search various
donors, can add camp details ,and can add new donor to
database.
27
OBJECTIVE
are as follows: -
28
also involves maintaining audit trails to enable recovery if errors are
deleted.
or group of items.
information provided.
29
of data must be protected to start legal accounting and auditing
requirements.
the public.
the day and session that they want or free to make blood donation.
30
GENERAL USER MODULE:
General Users are those who are new users in this site. They
user name and password with the help of this he/she can
blood group. and he can access his position and also he can
31
//Prototype implementation for "ONLINE BLOOD BANK
MANAGEMENT SYSTEM"
#include<stdio.h>
#include<stdlib.h>
#include<conio.h>
#include<string.h>
void search();
void main1();
void general_user();
void blood_bank();
void admin();
int login();
int enter();
int ch;
void main()
int i,ltype,a,b,c,f,u,v;
32
clrscr();
scanf("%d",&ch);
if(ch==1)
ltype=login();
switch(ltype)
case 1:admin();
break;
case 2:blood_bank();
break;
case 3:general_user();
break;
exit(0);
getch();
33
}
int login()
int x,i;
char c[5],d[5];
clrscr();
fflush(stdin);
gets(d);
fflush(stdin);
gets(c);
x=validate(c);
if(x==1)
if(c[0]=='a'&& c[1]=='d')
return 1;
34
else if(c[0]=='b'&& c[1]=='l')
return 2;
return 3;
else
return 4;
else
return 5;
return 1;
35
void admin()
int n,g,j;
printf("\nWelcome Admin\n");
4-Exit\n");
scanf("%d",&n);
switch(n)
found\n");
break;
n");
break;
break;
main1();
break;
admin();
void blood_bank()
int n,k;
5-exit\n");
scanf("%d",&n);
37
switch(n)
int h;
found\n");
break;
break;
break;
break;
main1();
break;
}
38
blood_bank();
void general_user()
int n,i,l;
scanf("%d",&n);
switch(n)
case 1: search();
break;
break;
break;
39
case 4:printf("\nExiting user\n");
main1();
break;
general_user();
void search()
void main1()
main();
}
40
MDI Form
Private Sub MDIForm_Load()
MDIForm1.mnuadministrator.Visible = False
MDIForm1.mnuOnline Examinationprofile.Visible = False
End Sub
Private Sub mnuadmin_Click()
frmchangeup.Show
End Sub
Private Sub mnuaboutOnline Examination_Click()
frmAbout.Show
End Sub
Private Sub mnuadministrator_Click()
frmchangeup.Show
End Sub
Private Sub mnucalculator_Click()
Shell "calc.exe"
End Sub
Private Sub mnucutdetail_Click()
Dim rs As New ADODB.Recordset
rs.Open "select * from cust_master order by acc_no", con,
adOpenStatic, adLockReadOnly
Open App.Path & "\report\cust.txt" For Output As #1
'MsgBox App.Path
41
Print #1, “----------------------------------------------------------------------”
Print #1, " All CUSTOMER DETAILS"
Print #1, “----------------------------------------------------------------------”
Print #1, " AccountNO" & Space(3) & "Name" & Space(15) & "City"
& Space(8) & "CONTACT NO" & Space(5) & "LAST BALANCE"
Print #1, “----------------------------------------------------------------------”
Do While Not rs.EOF
Print #1, " " & rs!acc_no & Space(10 - Len(rs!acc_no)) & rs!Name
& Space(20 - Len(rs!Name)) & rs!city & Space(15 - Len(rs!city)) & rs!
cno & Space(10 - Len(rs!current_amount)) & rs!current_amount
Print #1, ""
rs.MoveNext
Loop
Print #1, ""
Print #1, “---------------------------------------------------------”
Print #1, ""
Print #1, " " & Me.Caption & Space(4) & Date & Space(4) & Time
Close #1
Shell App.Path & "\utilitys\wordpad.exe " & App.Path & "\report\
cust.txt", vbMaximizedFocus
rs.Close
End Sub
42
Private Sub mnudeposit_Click()
frmdeposit.Show
End Sub
43
Print #1, ""
rs.MoveNext
Loop
Print #1, ""
Print #1, "---------------------------------------------------"
Print #1, ""
Print #1, Me.Caption & Space(4) & Date & Space(4) & Time
Close #1
Shell App.Path & "\utilitys\wordpad.exe " & App.Path & "\report\
alldeposit.txt", vbMaximizedFocus
rs.Close
End Sub
Private Sub mnuexit_Click()
End
End Sub
Private Sub mnunewcustomer_Click()
frmcust_master.Show
End Sub
Private Sub mnunewtransaction_Click()
frmwithdrawn.Show
End Sub
Private Sub mnunotepad_Click()
Shell "notepad.exe", vbMaximizedFocus
44
End Sub
Private Sub mnusingout_Click()
Unload Me
frmlogin.Show
End Sub
Private Sub mnuviewOnline Examinationprofile_Click()
frmOnline Examinationprofile.Show
End Sub
Private Sub mnuviewprofile_Click()
frmuser_info.Show
End Sub
Private Sub mnuviewtransaction_Click()
frmtransaction.Show
End Sub
Private Sub mnuwithdraw_Click()
frmwithdrawn.Show
End Sub
Private Sub mnuwithdrawlreport_Click()
Dim rs As New ADODB.Recordset
rs.Open "select * from withdrawn order by date", con, adOpenStatic,
adLockReadOnly
Open App.Path & "\report\allwithdrawl.txt" For Output As #1
'MsgBox App.Path
45
Print #1, "-------------------------------------------------------------------"
Print #1, " All WITHDRAWL TRANSACTION
DETAILS"
Print #1, "-------------------------------------------------------------------"
Print #1, "Trans_ID" & Space(3) & "A/c NO" & Space(5) & "Date" &
Space(8) & "Withdrawn_Amt" & Space(5) & "Available Bal"
Print #1, "-------------------------------------------------------------------"
Do While Not rs.EOF
Print #1, ""
Print #1, rs!transactionid & Space(11 - Len(rs!acc_no)) & rs!
acc_no & Space(11 - Len(rs!acc_no)) & rs!Date & Space(13 - Len(rs!
Date)) & Format(rs!withdrawn_amt, "0.00") & Space(16 - Len(rs!
withdrawn_amt)) & rs!remaing_amt & Space(22 - Len(rs!
remaing_amt))
Print #1, ""
rs.MoveNext
Loop
Print #1, ""
Print #1, "-------------------------------------------------------------------"
Print #1, ""
Print #1, Me.Caption & Space(4) & Date & Space(4) & Time
Close #1
46
Shell App.Path & "\utilitys\wordpad.exe " & App.Path & "\report\
allwithdrawl.txt", vbMaximizedFocus
rs.Close
End Sub
User profile
Option Explicit
Dim rs As New ADODB.Recordset
Private Sub calendardob_Click()
txtdob.Text = calendardob.Value
calendardob.Visible = False
End Sub
Private Sub Calendar1_Click()
End Sub
Private Sub chkshowpwd_Click()
If chkshowpwd.Value = vbChecked Then
txtpassword.PasswordChar = ""
Else
txtpassword.PasswordChar = Chr(219)
End If
End Sub
Private Sub cmdclose_Click()
47
Unload Me
End Sub
Private Sub cmdreset_Click()
Dim ans As String
ans = MsgBox("Are You Sure to Reset the Form ?", vbYesNo,
"USER INFORMATION")
If ans = vbYes Then
txtpassword.Text = ""
txtfullname.Text = ""
txtaddress.Text = ""
txtcontact.Text = ""
txtemail.Text = ""
End If
End Sub
Private Sub cmdsave_Click()
If LTrim(txtfullname.Text) = "" Or LTrim(txtaddress.Text) = "" Or
LTrim(txtcontact.Text) = "" Or LTrim(txtemail.Text) = "" Then
MsgBox "Please Fill All Information..."
Else
If vbYes = MsgBox("Are You Sure To Save This Changes ?",
vbYesNo, "USER INFORMATION") Then
Dim upd As String
48
upd = "update userprofile set [pwd]='" & txtpassword & "',
[fullname]='" & txtfullname & "',[address]='" & txtaddress & "',
[contact]='" & txtcontact & "',[email]='" & txtemail & "',
[birthdate]='" & txtdob & "' where [uname]='" & txtusername & "'"
con.Execute upd
MsgBox "Record Updated Successfully..."
End If
End If
End Sub
Private Sub Form_Load()
Dim qr As String
Me.Left = (MDIForm1.Width / 2) - (Me.Width / 2)
Me.Top = (MDIForm1.Height / 2) - (Me.Height / 2)
qr = "select * from userprofile where uname='" & auser & "'"
rs.Open qr, con, adOpenDynamic, adLockOptimistic
Call view
txtpassword.PasswordChar = Chr(219)
rs.Close
Me.Left = 2000
Me.Top = 50
calendardob.Visible = False
End Sub
Private Sub txtaddress_KeyPress(KeyAscii As Integer)
49
Call validate_alpha(KeyAscii)
End Sub
Private Sub txtcontact_KeyPress(KeyAscii As Integer)
Call validate_number(KeyAscii)
End Sub
Private Sub txtdob_GotFocus()
calendardob.Visible = True
calendardob.ZOrder 0
If txtdob = "" Then
calendardob.Value = rs.Fields(6)
Else
calendardob.Value = txtdob
End If
End Sub
Private Sub txtdob_LostFocus()
calendardob.Visible = False
End Sub
Private Sub view()
txtusername.Text = rs.Fields(0)
txtpassword.Text = rs.Fields(1)
txtfullname.Text = rs.Fields(2)
txtaddress.Text = rs.Fields(3)
txtcontact.Text = rs.Fields(4)
50
txtemail.Text = rs.Fields(5)
txtdob.Text = rs.Fields(6)
End Sub
Private Sub txtemail_KeyPress(KeyAscii As Integer)
Call validate_alpha(KeyAscii)
End Sub
Private Sub txtfullname_KeyPress(KeyAscii As Integer)
Call validate_alpha(KeyAscii)
End Sub
Private Sub txtpassword_KeyPress(KeyAscii As Integer)
If KeyAscii = 8 Then
KeyAscii = 8
ElseIf KeyAscii = 32 Then
KeyAscii = 0
End If
KeyAscii = validate_alphanumeric(KeyAscii)
End Sub
Private Sub txtusername_KeyPress(KeyAscii As Integer)
Call validate_alpha(KeyAscii)
End Sub
End Sub
Private Sub cmdsave_Click()
Dim str1 As String
51
If mode = "a" Then
rs_disp.Open "select * from cust_master where acc_no='" &
txtacc_no.Text & "'", Module1.con, adOpenKeyset
If rs_disp.RecordCount = 0 Then
str1 = "insert into cust_master values(" & txtcust_id.Text & ",'" &
txtacc_no.Text & "','" & txtname.Text & "','" & txtaddress.Text & "','" &
txtcity.Text & "','" & txtpincode.Text & "','" & state_combo.Text & "','"
& txtbdt.Text & "','" & sex_combo.Text & "','" & txtcontactno.Text &
"','" & acc_type_combo.Text & "','" & txtopen_dt & "','" &
txtopenamount.Text & "','" & txtopenamount.Text & " ','" &
txtremark.Text & "')"
Module1.con.Execute str1
rs_disp.Close
Call disp_rec
Call txt_empty
lock_form_control Me
cmdsave.Enabled = False
cmdupdate.Enabled = False
cmddel.Enabled = False
cmdadd.Enabled = True
Else
MsgBox "Account no already exists - plz enter unique
account_no"
52
cmdadd.Enabled = False
cmdsave.Enabled = True
cmdsave.Enabled = False
cmdadd.Enabled = True
End If
End If
If mode = "u" Then
rsu.Open "select * from cust_master where acc_no='" & txtacc_no
& "'", Module1.con, adOpenKeyset
str1 = "update cust_master set [acc_no]='" & txtacc_no.Text &
"',[name]='" & txtname.Text & "',[address]='" & txtaddress.Text & "',
[city]='" & txtcity.Text & "',[pincode]='" & txtpincode.Text & "',
[state]='" & state_combo.Text & "',[bdate]='" & txtbdt.Text & "',[sex]='"
& sex_combo.Text & "',[cno]='" & txtcontactno.Text & "',[acc_type]='"
& acc_type_combo.Text & "',[open_date]='" & txtopen_dt & "',
[open_amount]='" & txtopenamount.Text & "',[current_amount]='" &
txtopenamount.Text & "',[remark]='" & txtremark.Text & "'where
acc_no='" & txtacc_no & "'"
con.Execute str1
txt_empty
Call disp_rec
rsu.Close
cmdsave.Enabled = False
53
cmdadd.Enabled = True
cmdreset.Enabled = False
End If
End Sub
Private Sub cmdsearch_Click()
Dim Search_accno As Double
Search_accno = InputBox("Enter Account number")
If rs_disp.State = 1 Then
rs_disp.Close
End If
rs_disp.Open "select * from cust_master where acc_no='" &
txtacc_no & "'", Module1.con, adOpenKeyset
MsgBox rs_disp.Fields(0)
rs_disp.Close
End Sub
Private Sub cmdupdate_Click()
mode = "u"
unlock_form_control Me
cmdupdate.Enabled = False
cmddel.Enabled = False
cmdadd.Enabled = False
cmdsave.Enabled = True
txtcust_id.Enabled = False
54
txtacc_no.Enabled = False
txtname.SetFocus
End Sub
Private Sub Form_Load()
msflg1.TextMatrix(0, 0) = "Customer_id"
msflg1.TextMatrix(0, 1) = "Account_no"
msflg1.TextMatrix(0, 2) = "Name"
msflg1.TextMatrix(0, 3) = "Address"
msflg1.TextMatrix(0, 4) = "City"
msflg1.TextMatrix(0, 5) = "Pin Code"
msflg1.TextMatrix(0, 6) = "State"
msflg1.TextMatrix(0, 7) = "Birth_Date"
msflg1.TextMatrix(0, 8) = "Sex"
msflg1.TextMatrix(0, 9) = "Contact_no"
msflg1.TextMatrix(0, 10) = "Account_type"
msflg1.TextMatrix(0, 11) = "Open_Date"
msflg1.TextMatrix(0, 12) = "Open_amount"
msflg1.TextMatrix(0, 13) = "Current_Amt"
msflg1.TextMatrix(0, 14) = "Remark"
cmdupdate.Enabled = False
cmdsave.Enabled = False
cmddel.Enabled = False
cmdreset.Enabled = False
55
cmdadd.tabindex = 0
cmdcancel.tabindex = 1
lock_form_control Me
Call disp_rec
Me.Left = (MDIForm1.Width / 2) - (Me.Width / 2)
Me.Top = (MDIForm1.Height / 2) - (Me.Height / 2)
End Sub
'***************FILL FLEXGRID***********************88
Private Sub msflg1_Click()
txtcontactno.Text = msflg1.TextMatrix(msflg1.row, 9)
acc_type_combo.Text = msflg1.TextMatrix(msflg1.row, 10)
txtopen_dt.Text = msflg1.TextMatrix(msflg1.row, 11)
txtremark.Text = msflg1.TextMatrix(msflg1.row, 14)
lock_form_control Me
cmdsave.Enabled = False
cmdupdate.Enabled = True
cmddel.Enabled = True
cmdadd.Enabled = True
cmdreset.Enabled = True
End Sub
56
6. CONCLUSION
Online blood bank system is 24X7 systems for different kind of people
like blood bank personnel, doctors, donors, recipients and other general
users. Here any person who has undergone blood test can be registered
in any authorized blood bank as donor. That person can get facilities
like information about blood bank, blood camps, donors and recipients.
This project facilitates services like direct access to the site to get donors
The whole the objective of the project is an online edge for bringing
mutually giving blood donors and patients (blood requesters) that needs
Blood donors, Blood requesters and Blood bank clinics. This web
requiring constant updates both from the blood donors as well as the
multimedia cell phones) the service of finding a blood bank with map
57
interface. Here the application consists of a map which highlights the
particular blood bank and also the list of donors in that particular
location.
58
7.REFERENCES:
(WBBDMI)”.
pp.260-263, www.ijera.com.
59
6. “ProSang-the leading blood management system in Scandinavia”,
www.prosang.com.
7. M.H. Mat Som, A.N. Norali and M.S.A. Megat Ali, “Telehealth in
2009.
”Design of U-Health System with the Use of Smart Phone and Sensor
Network”.
Gandhi,” E-HEALTHCARE”.
60