Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 34

CHAPTER 1

INTRODUCTION

1.1 OVERVIEW OF THE PROJECT

This Project entitled as “MEDICAL CLAIM FOR COMPANY EMPLOYEE” accepts


various data such as LIC Client information, Plan information, Personal detail of Client and his
or her premium details of client also, etc. It also accepts data such as various plans along with its
various parameters such as minimum and maximum amount with term and an amount of the
insurance. Printing Personal detail Report will display Policy date to maturity date.

This package has been able to successfully incorporate the entire requirement as per the
requirement of LIC client agent system. Appropriate care has been taken during database design
maintain database integrity and to avoid redundancy of data. Validation is done instantaneously
to avoid data redundancy of data. The policy provided a safe future, saving etc. Designing and
developing this DBMS-project was an interesting experience. It really helped me to understand
the database concepts, which are of great importance these days.

The addition, deletion and modification of various details for various forms like plan
guide, personal detail, relative details, new policy are very a user friendly, simple and easy.

1
CHAPTER 2

SYSTEM STUDY

2.1. EXISTING SYSTEM:

The existing system is used manual. The user has been maintaining files, ledgers and
stock book for entering details. Maintaining the data manually is a tedious job. All the
calculations must be done manually.

The users are interested to speed up the calculations and to rectify the errors. Existing
system is the manual one which has the following drawbacks.

2.1.1. DRAW BACKS:

 Much time is wasted in entering the details.


 Lot of information cannot be stored in the files.
 Sometimes the calculations done manually will prone to error.
 It requires more space& more time for maintaining the files.
 Required information cannot be retrieved easily.
 Manual calculations will take time.
 So the desire for the development of the proposed system had become essential

2
2.2. PROPOSED SYSTEM

The proposed system is to computerize and maintaining security of the data. The aim of
the proposed system is the overcome the difficulties of the existing system.

The latest technology will be used in the proposed system. The main objective is to
automate the manual calculations and easy retrieval of the stored data Reports have been
generated for the purpose of Maintenance.

2.2.1. ADVANTAGES OF PROPOSED SYSTEM:

The advantages of proposed system are as follows:

 The required information can be retrieved easily.


 The details can be stored in the storage system permanently.
 Time will not be wasted in the calculations.
 Corrections can be made easily.
 High speed.
 Reports can be generated.
 Wastage of manpower is reduced.
 Large volume of records to process.

3
CHAPTER 3

SYSTEM SPECIFICATION

3.1 HARDWARE SPECIFICATION

Processor : Pentium III or Higher

Memory : 128 MB RAM or More

Hard disk Requirement: Free 500MB on installation drive

Monitor Resolution : 800x600 resolutions or higher

Keyboard : 104 keys

Mouse : Scroll/Optic with three buttons

3.2 SOFTWARE SPECIFICATION

Operating System : WINDOWS 7, & Above

Front-End tool : VB.NET

Back-End tool : SQL Server

4
CHAPTER 4

SYSTEM DESIGN

4.1. INPUT DESIGN

Input design is one of the most important phase of the system design. Input design is the
process where the input received in the system are planned and designed, so as to get necessary
information from the user, eliminating the information that is not required. The aim of the input
design is to ensure the maximum possible levels of accuracy and also ensures that the input is
accessible that understood by the user.

The input design is the part of overall system design, which requires very careful
attention. if the data going into the system is incorrect then the processing and output will
magnify the errors.

The objectives considered during input design are:

 Nature of input processing.


 Flexibility and thoroughness of validation rules.
 Handling of properties within the input documents.
 Screen design to ensure accuracy and efficiency of the input relationship with files.
 Careful design of the input also involves attention to error handling, controls,
batching and validation procedures.

Input design features can ensure the reliability of the system and produce result from accurate
data or they can result in the production of erroneous information. The input design of the system
includes the following

5
6
4.2. OUTPUT DESIGN

Output design is very important concept in the computerized system, without reliable
output the user may feel the entire system is unnecessary and avoids using it. The proper output
design is important in any system and facilitates effective decision-making. The output design of
this system includes the following reports.

Computer output is the most important and direct source of information the user.
Efficient, intelligible output design should improve the system’s relationships with the user and
help in decision making. A major form of output is the hardcopy from the printer.

Output requirements are designed during system analysis. A good starting point for the
output design is the data flow diagram. Human factors reduce issues for design involved
addressing internal controls to ensure readability.

7
4.3. DATA FLOW DESIGN

Data flow diagrams are directed graphs in which the nodes specify processing activities
and arches that specify the data items transmitted between processing nodes. It is a
representation because it is used to convey the flow of data and the processes involved in a
problem.

A data flow diagram can be used to represent data flow between individual statements or
block statements in a routine, data flow between sequential routines, between concurrent
processes or data flow in a distributed computing system, where each node represents a
geographically remote processing unit

DFD-Level 0:

Client

Medical
Login
Admin claim for Manage
company
employee
Policy

8
LEVEL 1 DFD OF ADMIN:

Login
Admin

Invalid Login ID Medical


  claim for Premium
Pre_inf_db
View user list company information
employee

Policy Manage Policy _db


Client_db

Police Client
select

Collection

Pre_colle_db Premium
collection

9
4.4 ENITY RELATIONSHIP DIAGRAM

mob
l_id Login
prem name
address
trn_no prev_ba client_id
pwd

Manage
Premium Client
collection

Insert

descr
ipt Pro_price
Pro_name

Pro_qty
Pro_code
Invoice
Premium
information
description
name

name

Policy Manage

10
4.5. SYSTEM FLOW DIAGRAM

Admin

Login

Premium Premium
Client Policy
Collection Information

Client_db Premium Premium


Policy_db
Collection Information_db
_db _db

Premium Premium Premium


Client_report Collection_repo Collection_report Information_report
rt

11
4.6. DATABASE DESIGN

Database design is a collection of interactive data store. It is an effective method of


defining, storing and retrieving the information in the database. The database design is
independent of any relational database management system and it is a logical model. The logical
design is mapped according to RDBMS used for implementation. The data contained in the
database can be multiple application and users. It prevents the unauthorized from accessing data
and ensures the privacy of data.

The ERD to relational scheme mapping is done in order to make the most efficient use of
table space. The relations of the scheme are converted into table and key attributes are converted
into primary keys. The various tables that are used in the system are derived from the Entity
Relationship Diagram.

TABLE 1

Table Name : login_Detail

Description : To store the admin login Details

Primary key : L_id

Name Data Type Size Description


L_id varchar 10 The unique id (login id)
Pwd varchar 10 Login password

12
TABLE 2

Table Name : premiumcollection_Detail

Description : To store the premium collection Details

Primary key : trn_no

Name Data Type Size Description


trn_no varchar 11 The unique id
loan_num varchar 20 Loan number
prev_bal varchar 20 Prevbalance
Prem varchar 10 Premium
amt_remit varchar 25 Amount remit
total_amt varchar 20 Total amount
Bal varchar 20 Balance
date_remitted Date - Date remitted

TABLE 3

Table Name : client_Registration

Description : To store the client register Details

Primary key : client_id


Name Data Type Size Description
client_id varchar 11 The unique id (client code)
Name varchar 20 client full name
Mob varchar 13 client mobile number
address Text 250 client address
occupation varchar 20 Client occupation
income Int 10 Client income

13
TABLE 4

Table Name : policy_Detail

Description : To store the policy Details

Primary key : policy_code

Name Data Type Size Description


policy_code varchar 10 The unique id (policy code)
name varchar 20 policy name
description varchar 50 policy description
premium Int 10 Policy premium
Paying_amt Int 20 Policy paying amount
Claim_amt Int 20 Claim amount

TABLE 5

Table Name : premiuminformation_Detail

Description : To store the premium Information Details

Primary key : pur_inf_no

14
Name Data Type Size Description
b_no varchar Borrower no
name varchar Client name
duration varchar Duration
eff_date Date Effective date
interest Int Interest
total_pre Int Total premium
interest Int Interest
mat_value Int Maturity value
mat_date Date Maturity date
month_rem varchar Monthly remittance
total_amt Int Total amount rem
out_capital Int Outstanding capital
un_interest Int Unearned interest
total_bal Int Total balance

CHAPTER 5
SYSTEM TESTING

5.1 FUNCTIONAL TESTING


The method of designing the program to produce the desired result is accomplished to the
section. Programs are written and tested by using sample data: if the output produces good result
was that the actual required output. All the facilities required for developing the new system
acquired and the program preparation is started. Quality assurance is an important step in
software engineering. This overlaps with all the phases of development right from the
requirement analysis.

15
Unit Testing
Module or Unit Testing refers testing of all individual programs. This is sometimes called
as program testing. This test should be carried out during programming stage in order to find the
errors in coding and logic for each program in each module. Unit test focuses verification effort
on the smallest unit of software design module. In this project, the user must fill each field
otherwise the user to enter values.

Welcome Form – Check the administrator login. If the login authentication performed for the
administrator, it leads to admin home page. If its administrator, it leads to administrator menu
form.

Validation Testing
Valid and invalid data should be created and the program should be made to process this
data to catch errors. If the user gives the wrong password or user id then the information is
provided to the user like “you must enter user id and password”. Here the inputs given by the
user are validated.

SYSTEM TESTING:

It is the stage of implementation, which ensures that system works accurately and effectively
before the live operation Commences. It is a confirmation that all are correct and opportunity to show the
users that the system must be tested with text data and show that the system will operate successfully and
produce expected results under expected conditions.

Before implementation, the proposed system must be tested with raw data to ensure that the
modules of the system work correctly and satisfactorily. The system must be tested with valid data to
achieve its objective.

16
Functional Test

Functional test can be defined as testing two or more modules together with the intent of
finding defects, demonstrating that defects are not present, verifying that the module performs its
intended functions as stated in the specification and establishing confidence that a program does
what it is supposed to do.

Integration Testing
The main function or goal of this testing is to test the interfaces between the units/modules.

We normally do Integration testing after “Unit testing”. Once all the individual units are created
and tested, we start combining those “Unit Tested” modules and start doing the integrated
testing.

The individual modules are first tested in isolation. Once the modules are unit tested, they are
integrated one by one, till all the modules are integrated, to check the combinational behavior,
and validate whether the requirements are implemented correctly or not.

The Integration testing does not happen at the end of the cycle; rather it is conducted
simultaneously with the development. So in most of the times, all the modules are not actually
available to test and here is what the challenge comes to test something which does not exist!

CHAPTER 6
IMPLEMENTATION
IMPLEMENTATION OF THE PROJECT
Implementation is the state in the project where the theoretical design is turned into
the Implementation phase is less creative than system design. It is primarily with user training
site preparation and file conversion. Implementation means the database design converted into
source code. When the candidate system is linked to terminals as remove site. The
telecommunication networks and tests of the network along with the system are also including

17
under implementation. During the final testing user acceptance is tested, followed by user
training depending on the nature of the system, extensive user training may be required.

System testing checks the Redlines and accuracy of the system to access update and
retrieve data from new files. Once the programs become available, test data are read into the
computer and processed against. The files are provided for testing. If it is successfully, the
programs are then run with “live” data otherwise, a diagnostic procedure is used to locate and
current errors in the program. Obviously, a data structure with relevant information must exits
and be readily accessible by the development process. System implementation is the part of the
software engineering life cycle, where the design artifacts are covered to a working application

The Modules used in this application are as follows:

1. Client Details

2. Policy Details

3. Premium Pay

Report Module
This Module is used to generate various reports as per management need and requirement

Premium Report

Premium Pay Report

CHAPTER 7
CONCLUSION AND FUTURE ENHANCEMENT

7.1 CONCLUSION

The “Medical claim for company employee” has been developed to satisfy all
proposed requirements. The system is highly scalable and user friendly. Almost all the system
objectives have been met. The system has been tested under all criteria. The system minimizes

18
the problem arising in the existing manual system and it eliminates the human errors to zero
level.

The software executes successfully by fulfilling the objectives of the project. Further

extensions to this system can be made required with minor modifications. The invention can be

implemented in digital electronic circuitry, or in computer hardware, firmware, software, or in

combinations of them. Apparatus of the invention can be implemented in a computer program

product tangibly embodied in a machine-readable storage device for execution by a

programmable processor; and method steps of the invention can be performed by a

programmable processor executing a program of instructions to perform functions of the

invention by operating on input data and generating output

7.2 FUTURE ENHANCEMENT

Every application has its own merits and demerits. The project has covered almost all

the requirement. Future requirement and improvements can easily be done since the coding is

mainly structured or modular in nature. Changing the existing modules or adding new modules

19
can append improvements. Future enhancements can be made to the application, so that the

functions are very attractive and useful manner than the present one. The modular approach and

the programming techniques incorporated during the development of system will be of great help

for future enhancements. This project work is planning to cover all the stepwise process that

takes place in a software development environment.

CHAPTER 8
SOURCE CODE

Imports System.Data.SqlClientImports System.Data.SqlClient


Public Class customerAdd
Dim x As String = ""
Dim rand As Random = New Random()
Private Sub customer_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)

20
Handles MyBase.Load
generate()
End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)


Handles Button1.Click
generate()
End Sub
Sub generate()
For y As Integer = 1 To 3
x += Convert.ToString(rand.Next(0, 9))
If y = 3 Then
x += "CUS"
End If
Next

For y As Integer = 1 To 4
x += Convert.ToString(rand.Next(0, 9))
If y = 4 Then
x += "-"
End If
Next

For y As Integer = 1 To 3
x += Convert.ToString(rand.Next(0, 9))
Next

txtBCODE.Text = x
If txtBCODE.Text = x Then
x = Nothing
End If
End Sub

Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)


Handles btnSave.Click
If is_empty(txtBCODE) = True Then Exit Sub
If is_empty(txtName) = True Then Exit Sub
If is_empty(txtDesc) = True Then Exit Sub
If is_empty(txtPrice) = True Then Exit Sub
If is_empty(txtQty) = True Then Exit Sub
If is_empty(TextBox1) = True Then Exit Sub
Try
cm = New SqlCommand("insert into
tblcustomer(cID,cName,address,phone,mailid,income) values('" & txtBCODE.Text & "','" &
txtName.Text & "','" & txtDesc.Text & "','" & txtPrice.Text & "','" & txtQty.Text & "','" &
TextBox1.Text & "')", cn)

21
cm.ExecuteNonQuery()
MessageBox.Show("Successfully save!", "Message", MessageBoxButtons.OK,
MessageBoxIcon.Information)
clear()
frmAUD.txtSearch_TextChanged(sender, e)
Catch ex As Exception
MsgBox(ex.Message, vbCritical)
End Try
Customer.txtSearch_TextChanged(sender, e)
End Sub
Sub clear()
txtBCODE.Clear()
txtName.Clear()
txtDesc.Clear()
txtPrice.Clear()
txtQty.Clear()
TextBox1.Clear()
End Sub
End Class

Public Class Customer

Dim col As New AutoCompleteStringCollection


Private Sub ToolStripButton1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs)

End Sub
Private Sub btnAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)

End Sub

Private Sub Panel3_Paint(ByVal sender As System.Object, ByVal e As


System.Windows.Forms.PaintEventArgs) Handles Panel3.Paint

End Sub

Private Sub Customer_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)


Handles MyBase.Load
connection()
txtSearch_TextChanged(sender, e)
End Sub

Public Sub txtSearch_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs)


Handles txtSearch.TextChanged
Try

22
ListView1.Items.Clear()
cm = New SqlCommand("select * from tblcustomer where cName like '" &
txtSearch.Text & "%'", cn)
dr = cm.ExecuteReader
While dr.Read

'col.Add(dr.Item("bName").ToString())
lst = ListView1.Items.Add(dr.Item("cid").ToString) 'code
lst.SubItems.Add(dr.Item(1).ToString) 'name
lst.SubItems.Add(dr.Item(2).ToString) 'price
lst.SubItems.Add(dr.Item(3).ToString) 'qty
lst.SubItems.Add(dr.Item(4).ToString) 'desc
lst.SubItems.Add(dr.Item(5).ToString) 'pic
' lst.SubItems.Add(dr.Item(6).ToString) 'pic
End While
dr.Close()

txtSearch.AutoCompleteMode = AutoCompleteMode.Suggest
txtSearch.AutoCompleteSource = AutoCompleteSource.CustomSource
txtSearch.AutoCompleteCustomSource = col
Catch ex As Exception
MsgBox(ex.Message, vbCritical)
End Try

lblCount.Text = recordCount("select count(cID) as CODE from tblcustomer")


End Sub

Private Sub ListView1_DoubleClick(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles ListView1.DoubleClick
Dim del As Customerdelete = New Customerdelete
del.txtCode.Text = ListView1.FocusedItem.Text
del.txtName.Text = ListView1.FocusedItem.SubItems(1).Text
del.txtDesc.Text = ListView1.FocusedItem.SubItems(2).Text
del.txtPrice.Text = ListView1.FocusedItem.SubItems(3).Text
del.txtQty.Text = ListView1.FocusedItem.SubItems(4).Text
del.TextBox1.Text = ListView1.FocusedItem.SubItems(5).Text
del.ShowDialog()
End Sub

Private Sub ListView1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles ListView1.SelectedIndexChanged
Dim update1 As customerupdate = New customerupdate
update1.txtCode.Text = ListView1.FocusedItem.Text
update1.txtName.Text = ListView1.FocusedItem.SubItems(1).Text
update1.txtDesc.Text = ListView1.FocusedItem.SubItems(2).Text

23
update1.txtPrice.Text = ListView1.FocusedItem.SubItems(3).Text
update1.txtQty.Text = ListView1.FocusedItem.SubItems(4).Text
update1.TextBox1.Text = ListView1.FocusedItem.SubItems(5).Text

End Sub

Private Sub txtSearch_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)


Handles txtSearch.Click

End Sub

Private Sub Label1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)


Handles Label1.Click

End Sub

Private Sub ToolStripButton1_Click_1(ByVal sender As System.Object, ByVal e As


System.EventArgs)
customerupdate.ShowDialog()
Dim update1 As customerupdate = New customerupdate
update1.txtCode.Text = ListView1.FocusedItem.Text
update1.txtName.Text = ListView1.FocusedItem.SubItems(1).Text
update1.txtDesc.Text = ListView1.FocusedItem.SubItems(4).Text
update1.txtPrice.Text = ListView1.FocusedItem.SubItems(2).Text
update1.txtQty.Text = ListView1.FocusedItem.SubItems(3).Text
End Sub

Private Sub btnAdd_Click_1(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles btnAdd.Click
customerAdd.ShowDialog()
End Sub
End Class
Imports System.Data.SqlClient
Public Class frmAdd
Dim x As String = ""
Dim rand As Random = New Random()

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)


generate()
End Sub

Sub generate()
For y As Integer = 1 To 3
x += Convert.ToString(rand.Next(0, 9))
If y = 3 Then
x += "ITEM"

24
End If
Next

For y As Integer = 1 To 4
x += Convert.ToString(rand.Next(0, 9))
If y = 4 Then
x += "-"
End If
Next

For y As Integer = 1 To 3
x += Convert.ToString(rand.Next(0, 9))
Next

txtBCODE.Text = x
If txtBCODE.Text = x Then
x = Nothing
End If
End Sub

Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)


If is_empty(txtBCODE) = True Then Exit Sub
If is_empty(txtName) = True Then Exit Sub
If is_empty(txtDesc) = True Then Exit Sub
If is_empty(txtPrice) = True Then Exit Sub
If is_empty(txtQty) = True Then Exit Sub
If is_empty(TextBox1) = True Then Exit Sub
Try
cm = New SqlCommand("insert into
tblProduct(bID,bName,bDescription,bPrice,bQty,claim) values('" & txtBCODE.Text & "','" &
txtName.Text & "','" & txtDesc.Text & "','" & Convert.ToDouble(txtPrice.Text) & "','" &
Convert.ToDouble(txtQty.Text) & "','" & TextBox1.Text & "')", cn)
cm.ExecuteNonQuery()
MessageBox.Show("Successfully save!", "Message", MessageBoxButtons.OK,
MessageBoxIcon.Information)
clear()
frmAUD.txtSearch_TextChanged(sender, e)
Catch ex As Exception
MsgBox(ex.Message, vbCritical)
End Try
End Sub

Sub clear()
txtBCODE.Clear()
txtName.Clear()
txtDesc.Clear()

25
txtPrice.Clear()
txtQty.Clear()
TextBox1.Clear()
End Sub

Private Sub txtPrice_KeyPress(ByVal sender As System.Object, ByVal e As


System.Windows.Forms.KeyPressEventArgs)
If Not Char.IsNumber(e.KeyChar) AndAlso Not Char.IsControl(e.KeyChar) Then
e.KeyChar = ""
End Sub

Private Sub frmAdd_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)


Handles MyBase.Load
generate()
End Sub

Private Sub Label1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)

End Sub

Private Sub btnSave_Click_1(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles btnSave.Click
If is_empty(txtBCODE) = True Then Exit Sub
If is_empty(txtName) = True Then Exit Sub
If is_empty(txtDesc) = True Then Exit Sub
If is_empty(txtPrice) = True Then Exit Sub
If is_empty(txtQty) = True Then Exit Sub

clear()
frmAUD.txtSearch_TextChanged(sender, e)
Catch ex As Exception
MsgBox(ex.Message, vbCritical)
End Try
End Sub
End Class

CHAPTER 9
BIBLIOGRAPHY

BOOKS
1. Content Development Group, “Visual Basic 6.0 Programming” Tata McGraw-Hill
Publishing Company Limited, New Delhi, 2011.

26
2. Noel Jerke, “The Complete Reference Visual Basic 6” Tata McGraw-Hill Publishing
Company Limited, New Delhi, 2011.
3. Gray Cornell, “Visual Basic 6 from the ground up” Tata McGraw-Hill Publishing
Company Limited, New Delhi, 2011.
4. Rob Cooper, “Access 2000 Programmer’s Reference” Tata McGraw-Hill Publishing
Company Limited, Mumbai, 2000.
5. Novalis, Susann “Access 2000 VBA Handbook” Tata McGraw-Hill Publishing
Company Limited, Mumbai, 2000.

WEBSITES
1. www.w3schools.com
2. www.computerhope.com
3. www.webdesign.about.com

APPENDIX

Login
This module for the purpose of providing authentication to the user and an organization
by the way of different login method.

27
Main Menu
Main menu is the container for the menu structure of the form and menus are made of
menu item objects that represent individual parts of a menu.

28
29
Client

The client Details includes client Code, client Name, Address, Phone no, In the client
details form Save, Update, Delete, Clear and viewing the record is possible. They are all stored
in Database

30
Policy

This module of the system is used to control the all Policy about which enables Add new
Policy

31
Premium

In LIFE INSURANCE company when any customer purchase any policy then every Six
month or One year he/she has to pay premium. Insurance plans are work on by paying premium
in company and by paying this premium company work perfect.

32
Reports

A Report is a document that presents information in an organized format for a specific


audience and purpose
Premium

33
Premium pay

34

You might also like