Академический Документы
Профессиональный Документы
Культура Документы
CHAPTER 1
INTRODUCTION
1. 1. Abstract
The main aim of the project is to provide good user friendly to maintain the complete
Hospital Information and to automate the patient registration and all other activities and track all
the transaction and post it to the respective register.
Whenever a new patient visits the hospital al his details are recorded, like address, age
sex, suffering from and all the details are sent to the concerned doctor for further treatment.
New appointment of doctors and al other staff are provided so that when ever new
appointment are taken their details are recorded in a separate register and similarly when a staff
quits the job his details are also maintained.
Depending on the seriousness of the patient he/she may be taken as inpatient or out patient.
The doctor will decide that and if outpatient they may be given further date for review. If
inpatient his details are collected and a bed is allotted and at the time of discharge he has to clear
all his bills.
1.2 Objectives:
{1}
Hospital Management System
CHAPTER 2
SYSTEM STUDY
2.1 Introduction
System Analysis is an important activity that takes place when we are building new
system information or charging existing ones. Analysis is used to gain an understanding of an
existing system and what is required of it. At the conclusion of the analysis, there is a system
description and a set requirement for the new system. If there is no existing system, the analysis
defines only the requirement.
System models are used to gain the ambiguities often found in the system. Modeling
techniques used in the system analysis avoids ambiguity by using precise modeling constructs
and process description. They also assist to define precisely the requirement of the new system.
Software tools that help analyst in their work now often support system analysis.
This phase is a detail appraisal of the existing system. This appraisal includes finding out
how the system works and what it does. It also includes finding out in more detail what the
system’s problem are and what the user requires from the new or changed system. After this
phase, analysts should be familiar with both the detailed operation of the system and what is
required of the new system. Analysts must spend considerable time examining components.
One of the most important factors in system analysis is to develop a good understanding
of the system and its problems. A good understanding of the system enbable designers to
identify the correct problems and suggest realistic solutions for them. It also helps them to
develop solutions that satisfy all users and thus makes the new system acceptable in an
organization. System users are the first information source investigated by analysts. From users
it is possible to find out the existing system activities and to develop the user objectives and
requirements. A system analysts must spend a lot of time taking to users and finding out how
they use the system, any problems they find with the system and what they expect from it.
The details of the staff’s/patient’s specification will be entered in different ledgers and
the details of the design will be stored in other
Registers, which is every difficult in accessing of the information.
If one person is using the register then the other should wait until the register id free.
{2}
Hospital Management System
Software:-
Platform : GUI (Windows-98 and above)
Back-end : Microsoft Access
Front-end Tool : Visual Basic 6.0
{3}
Hospital Management System
Creation of Staff’s/Patient’s.
Creation of Staff list.
Rising Bill.
Printing Staff and Patient List.
Printing Discharge List.
Printing all details List.
{4}
Hospital Management System
CHAPTER 3
FESIBILITY ANALYSIS
3.1 Introduction
Every project is feasible if there is unlimited resources and infinite time. But In real
sense the development of a computer-based system is more likely with a limited resource and
time. It is necessary to evaluate the feasibility of a project at the earliest.
Feasibility and risk analysis is related in many ways. If project risk is great, the
feasibility of producing quality software is reduced. During feasibility analysis for this project,
the following five primary areas of interest were considered very carefully.
This software is economically feasible for the development of the organization, because
of the benefits that the system is providing in terms of security and user-friendly interfaces.
{5}
Hospital Management System
3.5 NORMALIZATION:
{6}
Hospital Management System
CHAPTER 4
SYSTEM DESIGN
4.1 Introduction
Design, which follows system study, proposes the new system that meets the
requirements. This phase produces a design for the new system. Designers must select the
equipment needed to implement the system. Design is the hardest phase to describe. It is very
different form analysis. There is no such thing as a correct design. A good design is very
dependent in the particularly system and what is a good design for one system may be bad for
another. Design considerable creativity to make necessary changes and additions and come up
with a new system that is acceptable to users easy to implement.
Design is a problem solving process that investigates ways of meeting the objectives. Its
goal is to create a new system that meets a set of objectives and these objectives are the driving
forces behind the design process.
Design is the only way in which we can accurately translate a customer’s requirements
into finished software product or system. Without design risk of building an unstable system
exists-one that will fail when small changes are made, one that may be difficult to test. System
design usually proceeds in two steps, broad designs & detailed design.
During Broad design, major new functions are proposed and changes to the existing
functions are defined. Important inputs and outputs are also defined at this point and
performance requirements are also specified. Board design outlines, which part of the system is
to automated and which will remain manual.
During detailed design, the database and the program modules are designed detailed
documented. The interfaces between the system users and the computers are also defined. These
interfaces define exactly how user will be expected to use the system. It should be noted that
detailed design tends to be more structured than broad designs and is easier to describe.
Normally Structured System Analysis and Design technique are used for design. These
include.
HIPO Charts
Data modeling (ERD)
Process modeling (DFD)
{7}
Hospital Management System
Logical DFD shows the flow of data over the processes. Leveled DFD set is a
hierarchical way of organizing the system. It has a context level diagram identifying the major
inputs, outputs and processes in the system, then each process is refined and DFD is drawn for
the process. Physical DFD shows flow of data over physical media.
External entity
• Data Flow:
Data in a system move in a specific direction that is from origin to destination.
The data flow is a “packet” of data indicating the movement of data within the system.
They are shown as:
Data Flow
• Processes:
The emphasis in any DFD is placed on processing. Processes transform
inputs into outputs. They are work or actions that are performed by people, machines, or
computers on incoming data flows to produce outgoing data flow. Processes are depicted
as:
• Data Store:
Data stores could be thought of the ‘Memory’ of the system. Data stores are
temporary holders of data. Data flow diagrams do not specify the type physical storage
i.e. tape, disk etc. It is depicted as:
Data Store
{8}
Hospital Management System
DFD
Hospital
Management
System
In Patient
Give Disease
Details
Cases Discharge
Pay Bill
{9}
Hospital Management System
Out Patient
Check Doctor
Registratio Inspection
n
Report
Registration File
{10}
Hospital Management System
FLOW CHARTS
Flowcharts are also a method of communicating complex relationships. They are
extensively used to describe information flow and processing throughout the analysis and
development of computer-based information system.
Each procedure defined in a flowchart specifies all the logical steps and sequence in
involved in it. They help to divide the problem into smaller segments and are widely used in
evaluations of the process logic’s since they do bring to light new area of problem that are
needed for the study.
Uses of flowcharts:
Flowcharts help the analyst to describe and communicate complex sets of data in there
principal ways. They are:
1. Analyses existing systems
2. Synthesize New systems
3. Communicate with others
Types of Flowcharts
According to their usage, the flowcharts are classified into:
1. System Flowchart
2. Program Flowchart
System flowcharts are used in describing the overall work flow of the system. In a
system flow chart normally the origin of data, manual operations, I/O devices, storage
media’, data transmission procedures and I/O operations are explained.
The Programming flow charts describe the sequence of each step exactly involved
in a procedure. Three main program flowcharting techniques are in use to represent
processes and events. Each method has its own set of symbols to signify the steps
involved in procedure or program.
{11}
Hospital Management System
1. They enable facts to be set out early with sufficient details according to the level.
2. They Provide means for comparison and analysis.
3. They act as a good referencing tool.
Process Connection
{12}
Hospital Management System
Patient Registration
Doctor Appointment
Room Allotment
Billings
Patient Discharge
{13}
Hospital Management System
Start
Patient Registration
If
Seriou Out Patient
s
In Patient
Allocate Room
Treatment
Discharge
{14}
Hospital Management System
{15}
Hospital Management System
In output design too, this has done as per the specification give by the client and also
keeping in min the output requirement. It also includes the relevant reports like individual Sales
person reports, Data wise reports, Invoice reports Quotation reports and Consignor Commission
reports are also generated. The other forms of output are in the forms of messages for the user
which guides him to use the package comfortably, the other types of message is in the forms of
message box, which is trigger when the user makes any mistake, error or when and confirmation
is necessary for further processing.
Table: Staff
Field Name Data Type Length Constraints Description
S_code Text 10 Primary Key Staff Code
Name Text 20 Not Null Staff Name
Sex Text 5 Not Null Sex
Age Number Integer Not Null Age
Address Memo Memo Not Null Address
Qualification Text 20 Not Null Qualification
Des Text 20 Not Null Designation
Exp Text 20 Not Null Experience
Doj Date/Time Date/Time Not Null Date of Join
Ph_no Number Integer Not Null Phone No
Spl Text 20 Not Null Specialization
{16}
Hospital Management System
Table: In Patient
Field Name Data Type Length Constraints Description
Ip_code Text 10 Primary Key In Patient Code
P_code Text 10 Foreign Key Patient Code
A_date Date/Time Date/Time Not Null Admit Date
R_no Number Integer Not Null Room No
B_no Number Integer Not Null Bed No
Dis_details Text 20 Not Null Disease Details
Med_pres Text 20 Not Null Medicine Details
Table: Discharge
Field Name Data Type Length Constraints Description
D_no Text 10 Primary Key Discharge No
P_code Text 10 Foreign Key Patient Code
Bill_Paid Text 20 Not Null Patient Name
Amount Number Integer Not Null Bill Amount
Date Date/Time Date/Time Not Null Discharge Date
R_date Date/Time Date/Time Not Null Review Date
{17}
Hospital Management System
CHAPTER 5
5.1 CODING
After designing each module application programs were written for menus, process and
reports.
Here we have adopted the TOP-DOWN approach of coding, each application modules
was written by considering needs of the user and the storage sectors of the database. The job of
the application program is to provide the interface between the tables (Database) and the screen
(forms) and facilitates the user with different validation checks for data entry.
5.2 TESTING
5.2.1 Introduction
Testing is the major quality control measured employed during software development. Its
basic function is to detect errors in the software. Testing not only to uncover the errors
introduced during coding, but also errors introduced during the previous phases. The goal of
testing is to uncover requirement design or coding errors in the programs, consequently different
levels of testing are employed.
Unit Testing:
This is the starting point of testing; GSMS system is tested simultaneously with the
coding phase. The purpose is to exercise the different parts of the module code to detect coding
errors.
Integration Testing:
During the integration of all the levels (modules) the integration testing is performed. The
goal of this testing is to detect design errors. While focusing on testing the interconnection
between the levels or (modules).
System Testing:
System testing performed against the system requirement to see if all the requirements
are met and the GSMS system performs as specified by the requirements.
Acceptance Testing:
This is done in front of the clients on the real data of the client, the GSMS system was
found to be working perfectly as it was designed.
Validation Testing:
Validation testing is and as the part of the software requirements analysis, and validated
against the software already been designed. This test provides the final assurance of against the
software, meets all the functional, behavior performance requirements, and the errors, which are
uncovered during the testing.
{18}
Hospital Management System
Deviation or errors discovered at this step in this project is corrected prior to completion
of the project with the help of user by negotiating to establish a method for resolving
deficiencies. Thus, the proposed system under consideration has been tested by using validation
testing and found to be working satisfactorily.
Output Testing:
The output generated or displayed by the system under consideration is tested by asking
the user about the format required by them. Here the output format is considered in two ways.
One is on the screen is found to correct as the format was designed in the system design phase
according to the specified requirements. Some minor changes proposed by the user are done
immediately. Hence, output testing did not result in any correction in the system.
{19}
Hospital Management System
End Sub
{20}
Hospital Management System
{21}
Hospital Management System
txt_P_Code = ""
txt_date = ""
txt_time = ""
txt_name = ""
txt_age = ""
txt_sex = ""
txt_occupation = ""
txt_status = ""
txt_address = ""
txt_pincode = ""
txt_email = ""
txt_district = ""
txt_phone = ""
End Sub
'txt_P_Code.Locked = bval
txt_date.Enabled = Not bval
txt_time.Enabled = Not bval
txt_name.Locked = bval
txt_age.Enabled = Not bval
txt_sex.Locked = bval
txt_occupation.Locked = bval
txt_status.Locked = bval
txt_address.Locked = bval
txt_pincode.Enabled = Not bval
txt_email.Locked = bval
txt_district.Locked = bval
txt_phone.Enabled = Not bval
End Function
{22}
Hospital Management System
CHAPTER 6
Introduction to MS-Access 98 and Visual Basic 6.0
Microsoft Access does not load modules, including form modules, until the Visual Basic
in a module is executed. This improves overall performance. You can optimize bulk update
queries for ODBC data sources by sending the query to the server where all the appropriate
records are processed at once instead of one record at a time.
You can set a reference from a Visual Basic project in one Microsoft Access database to
a project in another Microsoft Access database, a library database. Once you have set reference,
you can run Visual Basic procedures in the referenced project.
The new features of Visual Basic 6.0 are Active X technology, data access controls, the
development environment, client/server development, or the language itself. We can begin an
application, creating its features, fine tuning it, or getting it ready for distribution and can be
parted to any system.
Microsoft Visual Basic version 6.0 is the popular programming language. With its new
features, Visual Basic is and even stronger contender in the enterprise application development
area that ever before. Visual Basic play a key role in data access strategy of large and small
organization alike. Almost all Visual Basic Application involves connection relational database
management system (RDBMS).
You can develop robust stand-alone application, games and utilities in less time than it
takes in other languages. You can also use ActiveX Technology to create Internet enabled
applications that are limited only by your imagination. When used in conjunction with the
{23}
Hospital Management System
Windows API, you are armed with a serious programming tool for which you can do almost
anything in the you project development efforts.
{24}
Hospital Management System
CHAPTER 7
Conclusion
“Hospital Management System” is a user friendly, menu driven and easily maintainable.
Many control details are stored in separate tables. These names can be altered without altering
the programs. Thus data independence is achieved. Since table are normalized. Redundancy and
anomalies are reduced.
Manual system used to take hours together to search a particular record, but his
computerized system will take a few seconds to do the above said operations.
This system is easy to handle and provides timely reports and faster access to the
information. This system has been tested with sample as well as lives data converting all possible
options and its performance is commendable.
{25}
Hospital Management System
Main Form
{26}
Hospital Management System
{27}
Hospital Management System
{28}
Hospital Management System
{29}
Hospital Management System
Learning
System
Analysis
System design
Database
Design
Screen Design
Coding
Testing
Documentation
{30}
Hospital Management System
APPENDIX-C [BIBLILOGRAPHY]
{31}