Upload
shailesh-singh
View
216
Download
0
Embed Size (px)
Citation preview
8/4/2019 HARDEEP
1/23
TERM PAPER
ONHOSPITAL
MANAGEMENT
SYSTEM
Submitted to: submitted by:Lec.MOHANTESH
MOHIIT,SURENDER
m.c.a (1st sem)
rOLL NO:
r277b51,b52
8/4/2019 HARDEEP
2/23
Acknowledgment
This project is a welcome and challenging
experience for us as it took a great deal of
hard work and dedication for its successful
completion. Its our pleasure to take this
opportunity to thank all those who help us
directly or indirectly in preparation of this
report.
We would also like to very sincere thank to
our project guide Lecturer Mr. MOHANTESHwho supported us technically as well as
morally in every stage of the project. Without
their guidance and support, this project
would not have seen light of the day.
It gives us immense in expressing a deep sense
of gratitude and sincere thanks to Lovely
Professional University.There times in such
project when clock beats you again and again
and you run out of energy and you want to finish
it once and forever.
Last but not the least we thank our family for
their boost and support in every sphere. Their
8/4/2019 HARDEEP
3/23
vital push infused a sense of insurgency in us.
MOHIT SETIA
SURENDER
Table of contents:-
#Introduction
#source of information#PROPOSED SYSTEM#FEATURES OF THE
PROPOSED SYSTEM:
#software specification#System design
#source code
#Testing of program#implimentation
introduction
8/4/2019 HARDEEP
4/23
The HOSPITAL MANAGEMENT SYSTEM is minor
project,in which we can collect the data of
paitents like their name,address,phone no, father
nameblood group , sex,registration number etc.
After collecting all the information.now we are
able to find related results. like
1.Add new patient
2.Search patient information
3. Remove patient information
4.Exit
After collecting this information.we know all
the information about patient.
Sou rce o f In fo rm at ion
8/4/2019 HARDEEP
5/23
The basic aim of problem analysis is
to obtain a clear Understanding of
the problems of the patient and thedocter, what is exactly Desired from
the software, and what the
constraints on the solution are
Analysis leads to actual
specification.
Analysis involve gathering information of the
patient These people and the existing document
about the patient mode of operation are the basic
sources of information for the analysts search aproblem by asking question of the patient and the
docter and by reading existing documents.
Once the problem analyzed and
these understood,The
requirements must be
specified in the requirement
specification document. The
Requirements document must
specify all the Functional and
performance requirements.
A basic purpose of software
requirement Specification is to
8/4/2019 HARDEEP
6/23
bridge the communication gap
between the patient and
developers. .
PROPOSED SYSTEM
The proposed system for
hospital management system
is computerized.Today is the era of
computers. This software project
solves all the problems discussed
above in the present system. The
main objective of developing this
project is to save time and money.
The proposed system provides the
following features on different
tasks.
FEATURES OF THE PROPOSED
SYSTEM:
. User-friendly package.
. Efficient retrieval time.
8/4/2019 HARDEEP
7/23
. Efficient linkage of information.
Validation checks to ensure
accuracy.. Query facility for instant
information.
. Error messages or better user
interface.
SYSTEMDESIGNThe design activity begins when the requirements
document for the software to be developed is
available .While the requirements specification
activity is entirely in the problem domain toward
the solution domain. Design is essentially the
bridge between requirements specifications andfinal solution for satisfying the Requirements. The
design of a system essentially a blueprint or a plan
for a solution for the system.
8/4/2019 HARDEEP
8/23
The design process for software
systems often has to Levels. At the
first level the focus is on decidingwhich modules are needed for the
system, the specifications of these
modules, and how the modules
should be interconnected. This is
what is called the system design or
top-level design. In the second level,
the internal design of the modules,
or how the specifications of the
modules can be satisfied, is decided.
This design level is often called
detailed design or logic design.
Detailed design essentially
expands to contain a more
detailed description of theprocessing logic and data structures
so that the design is sufficiently
complete for coding.
8/4/2019 HARDEEP
9/23
System design focuses on
the detailed implementation of the
system recommended in thefeasibility study. It is not a step-by-
step implementation of clear
procedure and guidelines; much of
the design work .
8/4/2019 HARDEEP
10/23
PROCESSOR
PENTIUM AND
ABOVE
MOTHERBOARD
845 OR 915,945
RAM
512 MB RAM
HARD DISK
40 GB
CD ROM DRIVE
DVD/COMBO
FLOPPY DRIVE
1.44 MB
8/4/2019 HARDEEP
11/23
MONITOR
15 INCH
MEMORY
80 GB
DISPLAY COLORS32 BIT
KEYBOARD
MOUSE
8/4/2019 HARDEEP
12/23
Software
specification
In c language
#source code#include
#include
#include
struct hos
{ char name[20];
int phno;
char address[50];
char fathername[50];
char sex;
char bloodgroup[5];
int registrationno;
}s[100];
8/4/2019 HARDEEP
13/23
void view();
void search();
void delete();
void add();
void menu()
{ int ch;
clrscr();
printf("\n
*************************************************"
);
printf("\n * *");
printf("\n * WELCOME TO HOSPITALMANAGEMENT SYSTEM *");
printf("\n * *");
printf("\n
*************************************************"
);
printf("\n\n\tWELCOME TO LPU HOSPITAL ");
printf("\n\n\t1.ADD NEW PATIENT");
printf("\n\n\t2.SEARCH PATIENT INFORMATION");
printf("\n\n\t3.REMOVE PATIENT");
printf("\n\n\t4.exit ");
8/4/2019 HARDEEP
14/23
printf("\n\n\tEnter your choice(1,2,3or4)");
scanf("%d",&ch);
switch(ch)
{ case 1: add();
getch();
menu();
break;
case 2: search();
getch();
menu();
break;
case 3:delete();
getch();
menu();
break;
case 4:exit();
break;
}}
void search()
8/4/2019 HARDEEP
15/23
{int i,regno;
char ch;
clrscr();
printf("\nEnter the regno no");
scanf("%d",®no);
for(i=0;i
8/4/2019 HARDEEP
16/23
printf("\nFATHER NAME:");
fflush(stdin);
printf(s[i].fathername);
printf("\nADDRESS:");
printf(s[i].address);
fflush(stdin);
i=100;
}
else
{printf("\nregistration no not matched");
getch();
menu();
}}
void add()
{char ch;
int i;
clrscr();
// printf("how much record you want to enter");
8/4/2019 HARDEEP
17/23
for( i=0;i
8/4/2019 HARDEEP
18/23
printf("\nEnter the registration no:");
scanf("%d",&s[i].registrationno);
fflush(stdin);
printf("\nDo you want to add more record");
scanf("%c",&ch);
if(ch!='y')
goto xy;
xy:break;
}
}
void delete()
{int i, regno;
char ch;
clrscr();
printf("enter the regno no");
scanf("%d",®no);
for(i=0;i
8/4/2019 HARDEEP
19/23
{ printf("\nAre you sure you want to delete this
record(y or n)");
scanf("%c",&ch);if(ch=='y')
printf("\nyour record is deleted");
getch();
menu();
}
else
{printf("registration no not matched");
getch();
menu();
}}
void main()
{
clrscr();
getch();
menu();
}
8/4/2019 HARDEEP
20/23
Testing of program
We make this program by properly running.we
remove all the errors with full effort. We test our
program in c-language using ctrl+f9 key
combination from the keybord . but before
running we find that in general whether any
errors are occur in our program or not. This can
be done by using by itself.
Mainly generally error are are occurred in the
field of syntax or logical eerror. These syntax are
generally remove by the
To see the program and analize every thing of
the program.
8/4/2019 HARDEEP
21/23
IMPLEMENTATION
Once the program has properly
finished developing, Coding and
testing the program, the
development of the program is near
the end. Now the project team will
release the program to play its part
in the overall system-the
programmer just has some tidying
up to do. How the team will release
8/4/2019 HARDEEP
22/23
the program depends on the
installation. In most cases, however,
the process will involve some kind ofacceptance test; this is to ensure
that the user to try out the new
system to see whether their needs
are met. Of course, the programmer
should have produced adequate
documentation. This will include
details of program testing, with full
description on test data used on
actual results. Many users will agree
that those records are enough to
show the program is acceptable,
where as some way wish to provide
a new set of test data to test the
system again. In this case, theproject team will run the program
with the new data, checking output
and documentation the process as
they had done previously. As well as
user documentation, the released
8/4/2019 HARDEEP
23/23
program needs an operations
manual. This may be part of the
user manual or separate from it.Often the programmer will have
made some input to this document,
perhaps giving details of the run-
time message.