Professional Documents
Culture Documents
Arashdeep
Under the guidance of
Mr. Sanjiv Mishra
CERTIFICATE
ACKNOWLEDGEMENT
Arashdeep
TABLE OF CONTENTS
SNO.
TOPIC
PAGENO.
PART I
1. DOCUMENTATION..6
-PROBLEM DEFINITION....6
-REQUIREMENT SPECIFICATION..7
-BACKGROUND OF THE PROJECT.7
-ANALYSIS ( Activity Chart) ....8
-METHODOLOGIES USED..9
-HARDWARE CONFIGURATION OF THE SYSTEM...13
-SOFTWARE REQUIREMENTS....13
-SOFTWARE MAINTENANCE & EVALUATION..14
-DIAGRAMATIC REPRESENTATION OF THE S/W.15
PART II
2. OUTPUT SCREENS.22
PART I
DOCUMENTATION
Preface
'Fortis' is a hospital providing the general health services. The
information about the patients admitted in the hospital is maintained
properly yet such information is not always easily accessible.
There is growing realization that the more widespread use of
information technology to increase efficiency and enable changes in
health care delivery processes could do much to improve the
performance of the health care delivery processes could do much to
improve the performance of the health care system, within the bounds
of appropriate measures to protect the confidentiality of private health
information . Hence the higher authorities of hospital have dicided to for
a computer based patient record system includes all the elements that
facilitate the capture , storage, processing , communication , security ,
and presentation of computer based patient record information.
Requirements Specification
Depending on the decision given by the management on the Computer
Based Patient Information system is to be developed. Following are the
requirements based on which the system needs to be developed.
1. The system will support registering patients
2. Users of this system can search for patient by name , admission
date, discharge date etc.
3. Users can view the previous visit histories of any patient.
4. System can maintain the list of doctor in the hospital.
5. System can maintain the list of beds/rooms available in the hospital.
6. Patietnt are categorezed into "In Patient" and "Out Patients"
7. Perform necessary validations.
OOPS CONCEPT
JAVA is an object oriented programming language. It was developed by
JAMES GOSLING, PATRIC NAUGHTON, CRIS WARTH, MIKE SHERIDAN and
1985. They[ wanted to combine the best of both the languages and create a more
powerful language that could support object oriented programming language.
The main problem associated with large programs written in procedural
language is under evaluation if data. Data is neglected. There is no built in mechanism
to ensure the security of data. The OOP approach is different. In OOP, the emphasis is
on data not on procedures. In OOP, a class is the specification for such a data form.
In OOP, we bundle together the data and the functions that operate on the data
into a single software unit called class. A class is the specification of a data entity. This
data entity is called object. An object is an instantiation of a class. The relationship
between a class and an object is the same as that of a built in data type and a variable of
that type. A class is a data type and an object is an instance of that data type.
The most important and the most basic concept in OOP is the concept of the
class. Define a class does not perform any memory allocation a class is like a blue print
for a house. The blue print gives the specification of the house. Based on the blue print
many houses can be constructed. In a similar way you can create many objects of a
given class. When an object is created, memory allocation takes place. OOP design
methodology is different. Problems are no longer divided into functions. Instead it is
divided into a collection of mutually interacting objects. Objects interact with one
another through member functions.
DATA HIDING
The wrapping up of the data and functions into a single unit (called classes ) is
know as encapsulation. Data encapsulation is the most striking feature of a class. The
data is not accessible to the outside world, and only those functions, which are wrapped
in the class program. This insulation of data from direct access by the program is called
data hiding or information hiding.
FUNCTIONALITY
In the making of this software I used basically modularity or functionality in
coding part of this software. I used so many functions in making of this software and
performing different types of task, which is easy to me, do my work with great
efficiency. In modularity of this software JAVA supports very well. I divide the
different task in different modules or functions, where every module is performing its
individual task and give the required result.
Activity chart:Patient
Entry
Attendant
Patient Admit
Patient Discharge
Payment
Report
Status
Programming Language(JAVA):
JAVA is the most widely used objectoriented language today. It is faster and more powerful than Java, another popular
object-oriented language, which lacks certain features such as pointers and
multiple inheritance.
Some important concepts of the object-oriented programming
language are as follows:
Objects
Classes
Data abstraction and encapsulation
Inheritance
Polymorphism
Dynamic binding
Message passing
Objects:
Object are the basic run-time entities in an object-oriented system. They may
represent a person, a bank account, a table of data or any item that the program has
to handle. They may also represent user-defined data such as vectors, time and
lists. Programming problem is analyzed in terms of objects and the nature of
communication between them. Program objects should be chosen such that they
match closely with the real-world objects. Objects take up space in the memory
and have an associated address like a record in Pascal, or a structure in C.
Classes:
We just mentioned that objects contain data, and code to manipulate that data. The
entire set of data and code of an object can be made a user-defined data type with
the help of a class. In fact, objects are variables of the type class. Once a class has
been defined, we can create any number of objects belonging to that class. Each
object is associated with the data of type class with which they are created. A class
is thus a collection of objects of similar type. Classes are user-defined data types
and behave like the built-in types of a programming language. The syntax used to
create an object is no different than the syntax used to create an integer object in C.
Inheritance:
Inheritance is the process by which objects of one class acquire the properties of
objects of another class. It supports the concept of hierarchical classification. For
example, the bird robin is a part of the class flying bird which is again a part of
the class bird . The principle behind this sort of that each derived class shares
common characteristics with the class from which it is derived.
In OOP, the concept of inheritance provides the idea of reusability. This means
that we can add additional features to an existing class without modifying it. This
is possible by deriving a new class from the existing one. The new class will have
the combined features of both the classes. The real appeal and power of the
inheritance mechanism is that it allows the programmer to reuse a class that is
almost, but not exactly, what he wants, and to tailor the class in such a way that it
does not introduce any undesirable side-effects into the rest of the classes.
Note that each sun-class defines only those features that are unique to
it. Without the use of classification, each class would have to explicitly include all
of its features
.
Polymorphism:
Polymorphism is another important OOP concept. Polymorphism, a Greek term,
means the ability to take more than one form. An operation may exhibit different
behaviors depends upon the types of data used in the operation. For example,
consider the operation of addition. For two numbers, the operation will generate a
sum. If the operands are strings, then the operation would produce a third string
by concatenation. The process of making an operator to exhibit different
behaviors in different instances is know as operator overloading.
A single function name can be used to handle different number and
different types of arguments. This is something similar to a particular word
having several different meanings depending on the context. Using a single
function name to perform different types of tasks is known as function
overloading.
Polymorphism plays an important role in allowing objects having different
internal structures to share the same external interface. This means that a general
class of operations may be accessed in the same manner even though specific
action associated with each operation may differ. Polymorphism is extensively
used in implementing inheritance.
Dynamic Binding:
10
Message Passing
An object-oriented program consists of a set of objects that communicate with
each other. The process of programming in an object-oriented language, therefore,
involves the following basic steps:
1. Creating classes that define objects and their behaviors,
2. Creating objects from class definitions, and
3. Establishing communication among objects.
Objects communication with one another by sending and receiving information
much the same way as people pass messages to one another. The receiving
information much the same way as people pass message to one another. The
concept of message passing makes it easier to talk about building systems that
directly model or simulate their real-world counterparts.
A message for an object is a request for execution for execution of a
procedure, and therefore will invoke a function (procedure) in the receiving object
that generates the desired result. Message passing involves specifying the name of
the object, the name of the function (message) and the information to be sent.
Objects have a life cycle. They can be created and destroyed. Communication
with an object is feasible as long as it is alive.
11
Software Requirements:
Software
Java/J2EE
Database
MsSql Server
12
1.
2.
3.
4.
5.
6.
7.
8.
9.
6.Software Architecture
A. Diagrammatical Representation of The Software
B. Data Flow Diagram (DFD)
13
DIAGRAMMATIC
REPRESENTATION
OF
THE
SOFTWARE
14
MAIN MENU
MAIN MENU
Admit patienttes
Discharge
patienttes
Display
Edit
Quit
Patient
PATIENT
ADD
PATIENTT
ALL PATIENT
UPDATE
PATIENT NAME
LIST MENU
DOCTOR
OTHER DETAILS
15
SEARCH CODE
DISCHARGE
EXIT
ADMIT/DISCHARGE
ADMIT/DISCHARGE
ADMIT
DISCHARGE
LIST
16
PATIENT
ADMITD
RETURN TO
MAIN MENU
C.
Entry
Admission
Process
C
Payment
Process
Patient
Patient Admitted
17
Collection
Report
Process
Admitting
Process
Patient
18
PART-II
19
OUTPUT
SCREENS
20
21
22
23
24
25
26
27
28
29
30
31