Академический Документы
Профессиональный Документы
Культура Документы
1
1. INTRODUCTION
The application generates the report for users. The admin can view and
download the report of the data. This application is mainly develop for
windows operating system users.
2
SYSTEM SPECIFICATION
3
2. SYSTEM SPECIFICATION
RAM : 1 GB
4
2.3 SOFTWARE OVERVIEW
5
THE .NET FRAMEWORK
The .NET Framework specifies how .NET programming constructs, such as
intrinsic types, classes and interfaces are implemented. The .NET Framework sits on
top of any flavor of the Windows operating system. The most important components
of the Framework are the Common Language Runtime (CLR), and the So-called
Framework Class Library (FCL), which provides an enormous number of predefined
types or classes for us to use in our programs.
6
In VB.NET, classes are declared and defined in the same code blocks.
VB.NET makes the development and implementation of components easy.
With VB.NET, it is possible to build reliable and durable components that
help us to handle several real-life applications.
VB.NET supports the versioning features.
Web forms in VB.NET enable us develop very efficient web-based
applications that will generate dynamic web content.
7
Finally, the .NET runtime manager executes the native code. The native code is
cached and users can select the caching schemes that best fit their execution
environments.
VB, the name makes me feel that it is something special. IN THE history of
computing world no other product sold more copies than VB did such is the
importance of that language which clearly states how widely it is used for its friendly
working (graphical) Environment. VB .NET is an extension of VB programming
language with many new features in it. The changes from VB to Vb.NET age huge,
ranging from the changes in syntax of the language to the types of projects we can
create now and the way design applications.VB.NET was designed to take advantage
of the .NET Framework back classes and runtime environment. It comes with power
packed features that simplicity application development.
8
BACK-END TOOL
About Ms-SQL
Ms-SQL is a powerful multi-user RDBMS developed by Microsoft
Corporation. It can store and manipulate large amount of information and repetitive
tasks such as maintaining user, instructor logins, questions and answers, marks
awarded to the students. Data can be processed and meaningful reports can be
generated easily.
Ms-SQL provides most of the features available in the high RDBMS products
like Oracle, Sybase, and Ingress etc. Visual Basic keeps SQL as its native database
always called JET (Joint Engine Technology). SQL, which means Structured Query
Language, is widely used to retrieve data from one or more tables other than the
wizard available in SQL.
Data in SQL is organized in the form of tables. Within tables records are
arranged according to a common reference value known as primary key or the key
field. The value in the key field is different for every record and thus helps in
uniquely identifying records.
Since the value of the table can be replicated across other tables, there should
be a way to maintain a relation between the two tables. This relation is implemented
through the concept of foreign key. Foreign key in a table is a field, which links that
table to anther table. Database in SQL has the extension “MDB”.
SQL DATABASE
Microsoft SQL handles the database in Visual Basic, which is a partial
Relational Database Management System (RDBMS). The data handling will be
powerful and also it can be able to handle large volumes of data.
Ms- SQL is very useful for accessing the database to create records, deleting
records, modifying records and useful for listing records. It is used as back and tool
for the Visual Basic. A database server is the key to solving the problems of
information management. In general, a server must relating manages a large amount
data in multi-user environment. So that many users, can concurrently SQL the same
data.
9
All this must be accomplished while delivering high performance. A database
server must also prevent unauthorized access provide efficient solution for failure
recovery.
Ms-SQL is a Relational Database Management system for windows. A
RDBMS stores and retrieve information based on relationships. That have been
specified relationship exist almost everywhere in life. With ms-SQL, we can build
relational database that stores related data in one place.
Ms-SQL provides a very easy-to use graphical interface.
Ms-SQL utilizes that full potential of windows giving a visual
outlook a data and information
Ms-SQL provides a wizard for almost everything
Ms-SQL hides the nuances of storage format location and
fetches information quickly.
A database is a collection of information that’s related to a particular subject
or purpose, such as tracking customer orders or maintaining a music collection.
If your database isn’t stored on a computer, or only parts of it are stored, you
may be tracking information from a variety of sources that you have to coordinate and
organize yourself.
For example, suppose the phone numbers of your suppliers are stored in
various locations: in a card file containing supplier phone numbers, in product
information files in a file cabinet, and in a spreadsheet containing order information.
If a supplier’s phone numbers changes, you might have to update that information in
all three places. In a database, however, you only have to update that information in
one place- the supplier’s phone number is automatically updated wherever you use it
in the database.
Features of MY SQL
Windows based application
Large data management capacity
Importing, exporting and linking external files
Wizard and builders
Macros
Built-in- security
10
Windows based applications
SQL is a based application and therefore had an interface similar to
Windows NT. We can cut copy and paste data from any window application to and
from SQL.
Built- in function
SQL includes small program known as functions that perform simple
calculation or data formatting.
11
SYSTEM ANALYSIS
12
3. SYSTEM ANALYSIS
13
3.2 PROPOSED SYSTEM
The proposed system makes the management of the details easier which is far better
than the existing system. In our system the need for maintaining large, written
information is reduced. The way in which the data stored is very efficient. This helps
in easy entry, editing, storing the data as well as retrieving the data.
Separate tables for purchases, sales, and returns for both are maintained. The
database is carefully designed to facilitate the easy, accurate retrieval and also to
consolidate the information.
The some of the benefits of the proposed system are,
It reduces the volume of documents stored if maintained manually.
Easy entry, editing, deletion, and extraction of information.
Quick retrieval of the wanted information.
Immediate information of the present stock, needs etc.
14
SYSTEM DESIGN AND DEVELOPMENT
15
4. DESIGN AND DEVELOPMENT
The quality of the system input determines the quality for system output. Input
specification describes the manner in which data entered the system processing.
The input design also determines the user to interact efficiently with the
system. Input design is a part of overall system design that requires special attention
because it is the common source for data processing error. The goal of designing input
data is to make entry easy and free from errors.
Effectiveness
Accuracy
Ease to use
Consistency
Attractiveness
16
The main objectives that are done during the input design are:
Computer output is the most important and direct source of information to the
user. Efficient, intelligible output design should improve the systems relationships
with the user and help in decision making. A major form of output is the hardcopy
from the printer.
17
DATA CO-ORDINATION
In a database, information from several files are coordinated, SQLed and
operated upon as though it is in a single file. Logically the information is centralized.
Physically the data may be located on different devices and in widely scattered
geographically locations, connected through data communication facilities.
DATA INTEGRITY
This ensures the correctness and completeness of the data in the database.
When the contents of the database are modified the integrity of the Database is lost.
To maintain the consistency of data integrity of constraints is required.
Some of the integrity constraints are
Domain constraints specify NULL or NOT NULL.
Validity integrity - checks for data type and range.
Entity integrity - uniqueness and primary key.
Reference integrity - foreign key relation
18
Information
This Form is used to store the information about Inpatient. It has following
Fields Patient Code, Patient Name, and Date. We use several command buttons such
as Show Detail, Clear Detail, Close and Data Grid is also used to shown the details
about Inpatient. Clear Detail button is used to clear the details about the inpatient.
Show Detail button is used to view the details about the inpatient. Close button is used
to close the inpatient details form.
Patient Records
This Form is used to store the information about Inpatient who is
discharged. It has following Fields Patient Code, Patient Name, Age, Gender, Native,
Address, Phone, Date, Ward, Room no, Bed no, Doctor, Treatment Report. We use
several command buttons such asFirst, Previous, Next, Last, Delete, Search, Exit.
Search button is used to find the particular Patient Records. Delete button is used to
delete the Patient record. All information’s are stored in Patient Record table.
WARDS
The Ward Module takes care of Inpatient Admission, Discharge and
Transfer. It maintains the details of various Wards, Beds and Movement of the
patient. It has 3 forms such as Admission, Discharge and Movement.
Admission
This Form is used to admit Patient in the Wards. The admitted patients are
called Inpatients. It has following Fields Patient Code, Patient Name, Age, Gender,
Native, Address, Phone, Date, Ward, Room no, Bed no, Doctor, Treatment Report.
We use several command buttons such as New, Admit, Show Record, Modify,
Cancel, Exit and also we use Data Grid to shown the details about Inpatient. Admit
button is used to store the admission details about the Inpatient. Modify button is used
to modify the Inpatient admission details. Cancel button is used to cancel the Inpatient
admission details.
19
Ward Discharge
This is used to store the information about the Discharged Patient. It has
following Fields Patient Code, Admit Date, No. of days Admit, Room Rent, Bed no,
Room no, Discharge Date, Total Fee. We use several command buttons such as
Discharge, Clear and Exit. Discharge button is used to discharge the Patient from the
Hospital. Clear button is used to clear the details.
Ward Movement
This Form is used to transfer the patient location from present ward to
required ward. It has following Fields Patient Code, Present Room no, Present Ward,
Present Bed no, No. Of days, Move to ward, Move to Room, Move to Bed. We use
several command buttons such as Fix Movement, Clear and Exit. Fix movement
button is used to store the movement details. Clear button is used to clear the
movement details.
STAFF
This Module used to store information about Doctor’s and Staff’s details. It
has 2 Forms such as Doctor’s Information and Staff‘s Information.
Staff Information
This form is used to give the details about the Staff’s in the Hospital. It has
following Fields Staff Code, Staff name, Qualification, Department, Date of Join,
Age, Gender, Address, Experience, Residence Phone, Cell phone, E-Mail. We use
several command buttons such as New, Save, Search, Modify, Cancel, Delete, and
Exit. New button is used to enter the details about staffs. Save button is used to store
the information’s about the staff’s. Modify button is used to modify the staff’s
information. Cancel button is used to cancel the staff’s details. Delete button is used
to delete the staff’s information. All information’s are stored in Staff personal table.
REPORTS
This module is used to maintain the reports of the organization. We have 3
Reports, which are as follows
20
Patient Billing
Inpatient Payment
Outpatient Payment
Patient Billing
This Report is used to store the information about the patient Billing. It has
following fields Bill No, Patient Code, Patient Name, Room Rent, Blood Bill, Scan
Bill, X-Ray Bill, Urine Bill, Medicine Charge, Operation charge, Other charge, Total
Bill, Fee Paid, Net Amount. We use several command buttons such as Modify, Save,
Clear, Delete, Reports and Exit. On clicking the Report Button Patient Billing details
are shown on the basis of Patient Code and generate report. Save button is used to
store the patient Billing. Delete button is used to delete the patient billing details.
Clear button is used to clear the details of inpatient billing.
Inpatient
This Report is used to store the information about the Inpatient Payment.
This payment will subtract from the Net Amount and stored in the Patient Billing. It
has following fields Receipt No, Patient Code, Patient Name, Bill Paid, Paid Date. We
use several command buttons such as New, Save, Clear, Cancel, First, Previous, Next,
Last, Delete, Report, Exit. On clicking the Report Button Inpatient details are shown
on the basis of Inpatient Code. Save button is used to store the Inpatient payment
Billing. Delete button is used to delete the Inpatient payment billing details. Clear
button is used to clear the details inpatient billing.
Outpatient
This Report is used to store the information about the Outpatient Payment.
It has following fields Receipt No, Patient Code, Patient Name, Bill Paid, Paid Date.
We use several command buttons such as New, Save, Clear, Cancel, First, Previous,
Next, Last, Delete, Report, Exit. On clicking the Report Button Outpatient details are
show on the basis of Out Patient Code. Save button is used to store the outpatient
payment billing. Delete button is used to delete the outpatient payment billing details.
Clear button is used to clear the details outpatient payment billing.
21
TESTING AND IMPLEMENTATION
22
5. TESTING AND IMPLEMENTATION
Testing Issues
Client GUI considerations
Target environment and platform diversity considerations
Distributed database considerations
Distributed processing considerations
Testing Methodologies
System testing is state of implementation, which is aimed at ensuring that the
system works accurately and efficiently as expect before live operation commences. It
certifies that the whole set of programs hang together.
System testing requires a test plan that consists of several key activities and
step for run program, string, system and user acceptance testing. The implementation
of newly designed package is important in adopting a successful new system.
Testing is the important stage in software development. The system test in
implementation stage in software development process. The system testing
implementation should be confirmation that all is correct and an opportunity to show
23
the users that the system works as expected. It accounts the largest percentage of
technical effort in the software development process.
Testing phase in the development cycle validates the code against the
functional specification. Testing is vital to achievement of the system goals. The
objective of the testing is to discover errors. To fulfill this objective a series of test
step unit, integration, validation and system tests were planned and executed. The test
steps are:
Unit Testing
Unit is the testing changes made in an existing or new program. This test is
carried out during the programming and each module is found to be working
satisfactory. In the registration form user details are stored in database without any
change.
Integration Testing
A comprehensive integration testing is carried out using integrated test plans
in the design phase of the development as guide to ensure the behavior of functions
with live data. The administrator module can integrate with user module.
Validation Testing
Software validation is achieved through the series of tests that demonstrate
confirmative with requirement. Thus the proposed system and considerations has been
tested by validation and found to be working satisfactorily.
Output Testing
Asking the user about the format required by them to test the output
generated by the system under considerations. It can be considered in two ways, one
on the screen and the other is printed format. The output format on the screen is found
to be correct as the format designed in the system design.
24
Testing Results
All tests should be traceable to customer requirements. The focus of testing
will shift progressively from programs. Exhaustive testing is not possible. To be more
effective, testing should be one, which has probability of finding errors.
The following are the attributes of good test:
A good test has a high probability of finding an error.
A good test is not redundant.
A good test should be “best of breeds”.
A good test should neither too simple nor too complex.
RELIABILITY
The degree to which the system performs Intended functions overtime.
EFFICIENCY
The amount of computer resources required by a program to perform a
function.
USABILITY
The effort required learning and operating a system.
25
MAINTAINABILITY
To use with which program errors are located and corrected.
TESTABILITY
The effort required testing a program to ensure its correct performance.
PORTABILITY
The ease of transporting a program from one hardware configuration to
another.
ACCURACY
The required portion in input editing, computation and output.
26
candidate system include an operational one. Conversion is one aspect of
implementation.
Several procedures of documents are unique to the conversion phase.
They include the following
The conversion portion of the implementation plan is finalized
and approved.
Files are converted.
Parallel processing between the existing and the new system of
logged on the special form.
Assuming no problems, no parallel processing is discontinued.
Implementation results for documented for reference.
Conversion is completed. Plans for the post implementation
review are prepared. Following the review the new system is
officially operational.
User Training
User training is designed to prepare the user for testing and converting the
system. There are several ways to train the user they are:
User manual
Help screens
Training demonstration
USER MANUAL
The summary of important function is about the system and the software
can provided as the document to the user.
HELP SCREENS
This feature now available in every software packages, especially when it is
used with a menu. The user selects the “HELP” option from the menu. The system
SQL the necessary descriptions are information from user referrrences.
27
TRAINING DEMONSTRATION
Another user training element is a training demonstration. Live
demonstration with personal contact is extremely effective for training users.
Documentation Tools
Document production and desktop publishing tool support nearly ever
aspect of software developers. Most software development organizations spend a
substantial amount of time developing documents, and in many cases the
documentation process itself is quite efficient. It is not use unusual for a software
development effort on documentation. For this reason, documentation tools provide
an important opportunity to improve productivity.
Document Restructuring
Creating document is far too time consuming. If the system works, we
will live with what we have. In some cases, this is the correct approach. It is not
possible to recreate document for hundreds of computer programs.
Documentation must be updated, but we have limited resources. It, may
not be necessary to fully re document an application. Rather, those portions of the
system that are currently undergoing change are fully documented.
The system is business critical and must be fully re documented. Even in
this case, an intelligent approach is to pare document to an essential minimum
28
Analyst and programmers spend far more time to maintain the
program. Then they do writing them. Maintenance accounts for 50-80% of total
system development.
29
CONCLUSION
30
6. CONCLUSION
The tool carries out testing process like white-box testing and Regression
testing to point out errors automatically which affects application’s successful
completion.
All these modules are efficiently developed and executed using different
Visual basic applications and the tool is also tested with different set of users and
implanted successfully.
31
SCOPE OF FURTHER ENHANCEMENT
In existing system, the production department details are transferred into sales
department through manual entry.
But in case of future development, we can update the data of the sales
department automatically when the data entry is made into the production
department.
All modules are extendable even in the case of future expansion changes can
be made.
Production planning is using powerful tools .The user can enter the data
available in the forms without any confusion. if the user enters the data
wrongly, this system cannot allow it to save. Database is structured with
minimum redundancy.
This system can be implemented in other depots also, and it has been built in
that way, by taking maximum data from the tables.
32
BIBLIOGRAPHY
33
7. BIBLIOGRAPHY
WEBSITE REFERANCE
http://www.vbdotnetheaven.com/
http://www.sysimp.com
http://en.wikipedia.org/wiki/winsock server
http://www.testinggeek.com/testingtype.aspw
http://www.sei.cmu.edu./domain-engineering/usecasediagram.html
http://en.wikipedia.org/wiki/windows-XP
http://www.sys-design.com
34
APPENDIX
35
APPENDIX
The data flow diagram does not depend on hardware, software and data structure or
file organization.
There are 5 Modules in our Project, they are
Patient
Ward
Staff
Medical Checkup
Reports
36
LEVEL-0
Hospital
manageme
Manager Reports
nt
37
LEVEL-1
Manager
Patient
details patient_Data
preocess
Ward
details ward_Data
process
Doctors
details doctor_data
process
Test test_data
details
process
Discharge
process discharge_data
Final Report
38
LEVEL-2
patient_Data
ward_Data
Hospital Reports Manager
management
doctor_data system
test_data
Discharge_data
39
B.TABLE DESIGN
40
Phone Varchar 10 Phone Number
Admit Date Date/Time 8 Admit Date
Ward Name Varchar 10 Ward Name
Room No Long 4 Room Number
Bed No Long 4 Bed Number
Doctor Varchar 20 Doctor Name
Report Varchar 20 Report
Discharge Date Date/Time 8 Discharge Date
41
Ward Name Varchar 10 Ward Name
Room No Long 4 Room Number
Bed No Long 4 Bed Number
Doctor Varchar 20 Doctor Name
Report Varchar 20 Report
RegFee Double 8 Registration Fee
42
BloodTestBill Double 8 BloodTestBill
UrineTestBill Double 8 UrineTestBill
MedicineCharge Double 8 MedicineCharge
Operation Charge Double 8 OperationCharge
Other Charge Double 8 Other Charge
TotalBill Double 8 TotalBill
FeePaid Double 8 FeePaid
NetAmount Double 8 NetAmount
Long 4
BillNo Bill Number
43
C.SAMPLE CODING
End Sub
44
Rs.Requery
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Text9.Text = ""
If Len(D1) = 1 Then
D1 = "0" & D1
End If
If Len(M1) = 1 Then
M1 = "0" & M1
End If
'Check the Existing Patient Code and regenerate the new patient code
If Rs.EOF Then
I=1
Else
Rs.MoveLast
Pcode = Left(Rs.Fields(0).Value, 8)
45
If Pcode = PatDate Then
Pcode = Mid(Rs.Fields(0).Value, 9, Len(Rs.Fields(0).Value) - 8)
I = CInt(Pcode) + 1
Else
I=1
End If
End If
D1 = Day(Date)
M1 = Month(Date)
Y1 = Year(Date)
If Len(D1) = 1 Then
D1 = "0" & D1
End If
If Len(M1) = 1 Then
M1 = "0" & M1
End If
Text1.Text = Pcode
lblDate.Caption = Date
Command1.Enabled = False
Command2.Enabled = True
Command3.Enabled = True
Combo1.Visible = True
Combo1.ListIndex = 0
Call TextLock(False)
46
End Sub
Rs.Fields(0) = Trim(Text1.Text)
Rs.Fields(1) = Text2.Text
Rs.Fields(2) = CInt(Text3.Text)
Rs.Fields(3) = Combo1.Text
Rs.Fields(4) = CDate(lblDate.Caption)
Rs.Fields(5) = Text5.Text
Rs.Fields(6) = Text6.Text
Rs.Fields(7) = Text7.Text
Rs.Fields(8) = Text8.Text
Rs.Fields(9) = Text9.Text
Rs.Fields(10) = "OUT"
Rs.Update
MsgBox "Patient Admission information stored", vbInformation, "Message"
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Text9.Text = ""
lblDate.Caption = ""
Command1.Enabled = True
Command2.Enabled = False
Command3.Enabled = False
Call TextLock(True)
47
Exit Sub
L1:
MsgBox "Check the entry", vbInformation, "Message"
End Sub
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Text9.Text = ""
lblDate.Caption = ""
Call TextLock(True)
Command1.Enabled = True
Command2.Enabled = False
Command3.Enabled = False
End Sub
D1 = Day(Date)
M1 = Month(Date)
48
Y1 = Year(Date)
If Len(D1) = 1 Then
D1 = "0" & D1
End If
If Len(M1) = 1 Then
M1 = "0" & M1
End If
Rs.Requery
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Text9.Text = ""
End Sub
49
Private Sub Command5_Click()
Rs1.Requery
Combo2.Clear
End Sub
Rs.Fields(0) = Text1.Text
Rs.Fields(1) = Text2.Text
Rs.Fields(2) = CInt(Text3.Text)
Rs.Fields(3) = Combo1.Text
Rs.Fields(4) = CDate(lblDate.Caption)
Rs.Fields(5) = Text5.Text
Rs.Fields(6) = Text6.Text
Rs.Fields(7) = Text7.Text
Rs.Fields(8) = Text8.Text
Rs.Fields(9) = Text9.Text
50
Rs.Update
Command6.Caption = "Modify"
MsgBox "Record Modified successfully", vbInformation, "Message"
End If
End Sub
51
D. SAMPLE INPUT
Patient Admission
Patient Information
52
Patient Appointment
Ward Admission
53
Doctor Information
54
E.SAMPLE OUTPUT
Doctor Information
Outpatient details
55
Outpatient report
56