Professional Documents
Culture Documents
Our project Hospital Management system includes registration of patients, storing their
details into the system, and also computerized billing in the pharmacy, and labs. Our software
has the facility to give a unique id for every patient and stores the details of every patient and the
staff automatically. It includes a search facility to know the current status of each room. User can
search availability of a doctor and the details of a patient using the id.
1. INTRODUCTION
In a Hospital, the staff on duty in the front-office has a lot to do in terms of Incoming
patients, Registration, Allotting Rooms and beds, coordinating with Doctors, making Bills etc.
Manually it is very difficult to maintain information with regard to all these aspects. There is a
grave chance of error and hence a monetary loss to the hospital or inconvenience to Patients.
In order to overcome the condition of chaos at the front office in a Hospital, it is proposed
to develop software to maintain the information of Beds, information of the departments,
doctors information, maintain the Patients database, services provided to the patients,
Registration and Discharge details along with Billing of patients.
Computerization has become a must for efficient Hospital management. Computers can
reduce the manual workload and give information simply at the press of a button.
Computers have become a part of our daily life. They are used in all walks of life be it for
reservation for railways/aeroplanes or CAD/CAM applications or normal accounting. With the
introduction of Internet, Computers have penetrated into our homes also.
These days all the information of a Company is stored on the Computer in the form of
Data, Documents or Pictures. This information is mostly required to be shared amongst the
various personnels of the Company or between different Companies. The transfer of this
information is most conveniently done through the Computer to another computer.
PENTIUM II
CPU SPEED
400 MHZ
BASE MEMORY
32 Mb
HARDDISK
4 GB
AUXILARY STORAGE
MONITOR
SAMTRON COLOR
KEYBORD
STANDARD KEYBOARD
OPERATING SYSTEM
WINDOWS 95
SOFTWARE
EXISTING SYSTEM
A through study of the existing system is required before planning for the new system.
The existing system deals with the maintained of information about transactions carried out in
which are presently accomplished in a manual way using the existing system it is tedious to
maintain the details of above mentioned activities. Hence,it needs a lot of search, clerical works
and time.
Time delay.
4. SYSTEM DESIGN
File design
The design of an information system produces the details that state how a system will
meet the requirements identified analysis. The emphasis is on translating the performance,
requirements into design specifications. This phase is known as logical system design phase
which includes the details of output, the data to be input, file structures, data structures, controls
and calculation producers. The next phase, the Physical design produces a working system. The
various steps in designing the CoPST: Cost Based Predictive Spatio- Temporal Join are given
below.
The following steps are involved in design:
First, decide how the output is to be produced and in what format.
Second, the input data and the master files have to be designed to meet the
system requirements.
Finally, details related to the justification of the systems are presented.
Input Design
It is the process of converting input data to the computer-based data. The goal of
designing input data is to make data entry as easier and free from error as possible. Input design
determines the format and validation criteria for data entering the system. Personal computers
and terminals can place a data at users fingertips, allowing them to call up specific data and
make timely decisions based on the data.
This system contains data collections data collection screen which display heading the
defined their purposes. By employing flashing error messages, and providing necessary alerts
on the screen, mistake entering of data in the system is avoided. The rule that each screen
should have a single purpose and restrict itself to logically related data verification, validation
etc control and reduce errors.
The accuracy of output depends on the accuracy of input and its processing. So
user
understand by the user using meaningful words. The forms are designed in such a way that the
cursor is place in the position where data must be entered.
Effectiveness
The input Screen forms have been designed such that they are very effective i.e., serve a
specific purpose. The Advertisers Login form used gets the details of the member and stores it,
thus doing the registration.
Accuracy
The forms have been designed such that they assure proper completion. Validation has
been included and thus all the required fields are checked.
Ease of Use
Forms are straight forward and require no extra time to understand.
Simplicity
The forms are simple and uncultured.
Attractiveness
Input forms have been designed such that it has appealing design that would please the
user.
Output design
Computer output is the most important and source of information to the user. Efficient
and intelligible output design should improve the system relationships with the user and help in
decision making. Major forms of output are hard copy from the printer and soft copy from the
CRT display.
Output is the key tool to evaluate the performance of software so the designing of output
should be done with great care. It should be able to satisfy the users requirements.
Code design
A group of characters used to identify an item of data is a code. A major problem
encountered in working with a large amount of data is the retrieval of specific data when it is
required. Codes are used to aid the user in information identification and retrieval.
Large volume of data handling makes difficulty in individual identification. Code
facilitated easier identification simplification in Handling and retrieval of item by consuming
less storage space. The codes are designed in such a manner that the user will easily understand
it.
In the developed system a suitable coding is adopted, which can be identify the each user
exactly. The user can identify by a unique ID which is automatically generated and it is unique.
The need to communicate with and by means of computers has made increasing demands on
user to user to work with and understand computer codes instead of natural language. It must
always be remembered that human beings, including people who do not have much familiarity
with data processing codes should be designed with the following features, will use a code.
Database Design
Databases are designed using the latest software available and the development process
follows the specific requirements of the Client. We provide total flexibility in terms of database
design-the development process is essentially Client driven.
It is important to remember that a well-designed database should provide an end product
(database) that has been tailored to meet both professional and practical business needs and
therefore serve its intended purpose.
Comprehensive and detailed analysis of the business needs, preparation of design
specifications. Initial design concept, Database programming, Database Testing/validation,
Client support, Client site installation and of course extensive database Developer & Client
communication.
1.2.2 Modules
This master database maintains all the information that has been validated through the
software.
Entry form
Regular patient
Patient details
Diseases details
Doctor description
ENTRY FORM
In this form we have to ask the patient who is in patient (or) out patient.
REGULAR PATIENT
In the patient is in patient then ask the patient to submit the old reports about the
patient.
PATIENT DETAILS
If the patient is new one, then collect the information name sex address about the
patient.
DISEASES DETAILS
In this form we have to collect the details about decides like,
6. SYSTEM TESTING
In a software development project, errors can be injected at any stage during the
development. Testing performs a very critical role for quality and for ensuring the reliability of
software. During testing ,the program to be tested is executed with set of test cases ,and the
output of the program for the test cases is evaluated to determine if the program is performing as
it is expected to. Due to its approach, dynamic testing can only ascertain the presence of error in
the program; the exact nature of the error is not usually decided by testing. Testing forms the first
step in determining the errors in the program. Clearly the success of testing in revealing errors in
programs depends critically on the test cases.
Testing is usually relied upon to detect the faults that occur during any phase of the
software development cycle, in addition to the faults that introduced during the coding phase
itself. For this, different levels of testing are used which perform different tasks and aim to test
different aspects of the system. the basic levels of testing are unit testing ,integration testing
,system and acceptance testing. the different levels of testing attempt to detect different types of
faults.
CLIENT NEEDS
ACCEPTANCE TESTING
REQUIREMENTS
SYSTEM TESTING
DESIGN
INTEGRATION TESTING
CODE
UNIT TESTING
TEST PLAN
A Test plan is a general document for the entire project, which defines the
scope approach to be taken, and the schedule of testing,as well as identifying
the test items for the entire testing process and the personnel responsible for
the different activities of testing commences and can be done in parallel with
the coding and design phases, the inputs for the test plan are the
Project plan
Requirements Document
System Design Document
The project plan is needed to make sure that the test is consistent with overall plan for the
project and the testing schedule matches that of the project plan the requirements document and
the design document are the basic document Used for selecting the test unit and deciding the
approaches to be employed during testing .A test plan should contain the Following:
TEST UNIT
It is a set of one or more modules together with associated data which are the forms a
single computer program and which are the object of testing. It can occur at any level and can
contain from a single module to the entire system. This is carried out at every stage of the project
i.e., after completion of every moduleFeatures to be tested
Include all software Features and combinations of features and combination of features to
be tested. It includes functionality, performance, design constraints and attributes.
Approach for testing, specifies the overall approach to be followed in the current project. This is
sometimes called testing criteria, or the criteria evaluating the set of test cases used in testing.
Testing deliverables should be specified in the test plan, before the actual testing begins.
Deliverables could be a list of test cases that were used detailed results of testing, test summary
report, test log and data about the code coverage.
SCHEDULE
Specifies the amount of time and effort to be spent on different activities of testing and
testing of different units have been identified.
UNIT TESTING
Unit testing is a dynamic method for verification, where the programs is actually
compiled and executed .It is one of the most widely used method, and the coding phase is
sometimes called coding and unit testing phase, as in other forms of testing, unit testing
involves executing the code with some test cases and then evaluating the results.
The goal of unit testing is to test modules orunits and not the entire software system.
The programmer himself most often does unit testing, the programmer, after finishing the coding
of a module, tests it with some data. The tested module is then delivered for system integration
and further testing there are 4 categories of tests that a programmer will typically perform on a
program unit
FUNCTIONAL TESTS:
Specify operating conditions, input values and expected results.
PERFORMANCE TESTS
It should be designed to verify response time, execution time, throughput Primary and
secondary memory utilization.
STRESS TESTS
Stress tests are designed to overload a system in various ways. Structural tests are
concerned with examining internal process logic of software system.
INTEGRATION TESTS
After the unit testing the modules is gradually integrated into subsystem, which are then
integrated them to eventually form the entire system. During integration of modules Integration
testing is performed .The goal of this testing is to detect design errors, while focusing on testing
the interconnection between modules.
SYSTEM TESTING
After the system is put together, system testing is performed. here the system is tested
against the system requirements to see if all the requirements are met and the system performs as
specified by requirements. The entire software is tested and the goal is to see if the software
meets the requirements
ALPHA-BETA TESTING
A customer does the alpha test at the developer site .the software is used in a natural
setting with the developer and usage problems.
The beta testing is conducted at one or more customer areas of the end of software. The
problems are recorded and updated.
LOOP TESTING:
Loops are the cornerstone for the vast majority of all algorithm implemented in software
loop testing is a white box technique that focuses exclusively on validity of loop construct.
BLACK BOX TESTING
Black box testing method focuses on the functional requirements of the software. Black box
testing method attempts to find in the following categories.
Incorrect or missing functions
Interface errors.
Error in data structure or external databases access
Performance errors
Initialization and termination error
We are trying to include different kinds of products, which are needed by the
customer in their day to day life, and many more facilities for the customers.
Credit card facilities will be including for making the payment easy for the
customer. Service charge will be there for credit cards.
8. CONCLUSION
The software Hospital Management System has been developed in windows 98
environment using visual basic as front end and ms access as back end. Time consumptions
reduced to a great extent and user as less complexity in handling this database.
The project is fully fledged and user friendly, End users will be lightened in using this software
because it is easy to have bills and reports and mostly all contents to be entered are to selected
from combo box. This reduces the calculating efforts to be carried out by the users.
Password
Administrator
Rejected
Ok
Enter Administrator/User
User
User
Password
Login File
User
Item Code
Item
Details
Sales process
Updating process
Item
Billing process
Bill
Customer
Quotation Details
Stock File
Field Name
Description
Data Type
Width
User Name
Password
User Name
User Name
Text
Text
50
50
Field Name
Description
Data Type
Width
Dr name
Sex
Dept
Consultation time
Address
Contact no
Emergency no
Consult fee
Date
Consultation day
Tot pat
Doctor Name
Sex
Department
Consultation Time
Address
Contact Number
Emergency Number
Consultation fees
Date
Consultation Day
Total Patient
Text
Text
Text
Text
Text
Long
Long
Long
Date/Time
Text
Double
50
50
50
50
50
50
50
50
50
50
50
Field Name
Description
Data Type
Width
Name
Age
Sex
Address
Doctor
Patient id
Reg fee
Admin Date
Room no
Name
Age
Sex
Address
Doctor
Patient id
Registration fees
Admitted Date
Room Number
Text
Integer
Text
Text
Text
Text
Double
Date/Time
Integer
50
50
50
50
50
50
50
50
50
Width
File Name:-Medicine
Field Name
Description
Data Type
Medname
Medtype
Amt
Expdate
Stock
Medicine Name
Medicine Type
Amount
Expiry Date
Stock
Text
Text
Double
Date/Time
Double
Field Name
Description
Data Type
Width
Patient id
Name
Doctor
Remark
Totbill
Patient id
Name
Doctor
Remark
Total Bill
Double
Text
Text
Text
Double
50
50
50
50
50
Date
Date
Date/Time
50
SAMPLE CODING
LOGIN
Private Sub Command2_Click ()
Unload Me
End Sub
Private Sub Command3_Click ()
Db. Open
Set rs = db. Execute ("SELECT * FROM LOGIN where username='" & txt_username.Text &
"'")
If (txt_ password = "" And txt_ username = "") Then
MsgBox "Login not possible"
Else
If No t rs. EOF () Then
If (rs(1) = txt_ password. Text) Then
MsgBox "Login Successful"
frmMDI.mn RegAdmin.Enabled = True
frmMDI.mnuRegDr.Enabled = True
frmMDI.mnuAddDept.Enabled = True
frmMDI.mnuRegUser.Enabled = True
frmMDI.mnuAddrooms.Enabled = True
frmMDI.mnuEditdr.Enabled = True
frmMDI.mnulogoff.Enabled = True
frmMDI.mnuLogin.Enabled = False
frmMDI.mnuPatient.Enabled = True
frmMDI.mnuSearch.Enabled = True
frmMDI.mnuBilling.Enabled = True
frmMDI.mnuuser.Enabled = True
Unload Me
Else
MsgBox "Login not success"
End If
Else
MsgBox "EOF Reached"
End If
End If
db.Close
End Sub
Private Sub Command4_Click()
db.Open
Set rs = db.Execute("SELECT * FROM STAFFLOGIN where username='" &
txt_username.Text & "'")
If Not rs.EOF() Then
If (rs(1) = txt_password.Text) Then
MsgBox "Login Successful"
frmMDI.mnulogoff.Enabled = True
frmMDI.mnuLogin.Enabled = False
frmMDI.mnuPatient.Enabled = True
frmMDI.mnuSearch.Enabled = True
frmMDI.mnuBilling.Enabled = True
frmMDI.mnuuser.Enabled = True
Unload Me
Else
MsgBox "Login not success"
End If
Else
MsgBox "Invalid Username or Password"
End If
db.Close
End Sub
Private Sub Form_Load()
connectdb
End Sub
ADMINISTRATOR REGISTRATION
Private Sub cmd_cancel_Click()
Unload Me
End Sub
Private Sub cmd_save_Click()
db.Open
db.Execute ("INSERT INTO LOGIN VALUES ('" & txt_username.Text & "','" &
txt_password.Text & "')")
MsgBox "Record added successfully"
db.Close
End Sub
Private Sub Form_Load ()
connectdb
End Sub
DOCTORS REGISTRATION
Dim m_time As String
Dim m_MissingFields As String
Private Sub Command1_Click ()
If ValidateForm = True Then
db.Open
m_time = txt_timefrom.Text & to & txt_timeto.Text
rs.Open "DrREGISTRATION", db, adOpenDynamic, adLockOptimistic
rs.AddNew
rs!drname = txt_name.Text
If Opt_male.Value = True Then
rs!sex = "Male"
Else
rs!sex = "Female"
End If
rs!dept = cmb_dept.Text
rs!consultationtime = m_time
rs!address = txt_address.Text
rs!contactno = txt_contactno.Text
rs!emergencyno = txt_emergency.Text
rs!Date = DTP.Value
rs!consultationday = comb_day.Text
rs!totpat = txt_totpat.Text
rs!consultfee = txt_fee.Text
rs.Update
MsgBox "One Doctor Registered", vbInformation, "Doctor ADDED"
rs.Close
rs.Open "PATCOUNT", db, adOpenDynamic, adLockOptimistic
rs.AddNew
rs!drname = txt_name.Text
rs!patcount = txt_totpat.Text
rs!Date = DTP.Value
rs.Update
db.Close
Else
PATIENT REGISTRATION
OUTPUTS
Login
Admin Registration
Change Password
Doctor Registration
Patient Registration
In Patient Search
Medicine Update
IP Bill
Discharge Sheet
Doctor Search
BIBLIOGRAPHY
Books
Site Address
www.associatedcontent.com
www.members.tripod.com
www.vbcodesource.com