Professional Documents
Culture Documents
A PROJECT REPORT
SUBMITTED ON HOSPITAL MANAGEMENT SYSTEM
FOR A HOSPITAL IN
GREATER NOIDA
SUBMITTED BY:-
CHETAN ANAND 0609013028
DEVENDRA GUPTA 0609013029
MOHIT SINGH 0609013045
Certificate
This is to certify that the project entitled “HOSPITAL MANAGEMENT SYSTEM” submitted by
“CHETAN ANAND” , “MOHIT SINGH” & ”DEVENDRA GUPTA”&”MANPREET SINGH BHATIA”.
Gr. Noida, is a record of student’s own work carried out under our supervision
and guidance. While working on project they were sincere, disciplined &
enthusiastic.
This is further certify that they have worked for a period of one
support he has given to us. This is only his support that we are able to
Our thanks also extend to the entire library group of IEC-CET, Gr. Noida
1. Introduction
2. Development Methodology
• Feasibility Study
• Requirement Analysis
• Initial Investigation
• Structured Analysis
3. System Requirement
• Hardware Used
• Software Used
TYPES OF FEASIBILITY
The study is conducted to evaluate the possibility of HRM systems to produce the desired
outputs .Most successful system projects are not necessarily the biggest or most visible in a
business but rather those that truly meet user expectations. Three key considerations
involved are :
Types of Feasibility
Technical
Economic
Operational
1. ECONOMIC FEASIBILITY
Economic analysis is the most frequently used method for evaluating the
Effectiveness of a HRM Systems .Most commonly known as cost/benefit analysis, the
procedure is to determine the benefits and savings that are expected from a system and
compare them with costs involved.
Benefits from The System are:
• System will be user friendly.
• No information gap.
• Accurate and latest information will help managers for quick decision
making.
• Saving of precious time and resources.
The cost are negligible as the needed infrastructure already exists .As the benefits greatly
overweighs cost, the proposed system is economically feasible.
Economic analysis is the most frequently used technique for evaluating the effectiveness
of a proposed system. Commonly known as cost / benefit analysis. The procedure is to
determine the benefit and savings that expected from a proposed system and compare
them with costs.
In case of profit, decision is taken to design and implement the system.
The proposed system is financially feasible because of the following reason:
1. The cost of the system development is not much because of module /
department wise automation.
2. Then organization wants to implement wise so this system cannot take
a heavy amount to implement the system into the form of hardware
investment.
3. The proposed system is economic, as it will reduce the time investment
in running the daily transaction.
2. TECHNICAL FEASIBILITY
Technical feasibility centers on the existing computer system
(Hardware and software etc.) and to what extent it can support the proposed system .
In case of this system, the required infrastructure i.e. hardware, software application and
technical know-how already exists .Thus the project is then technically feasible.
This is concerned with specifying equipment and software that will successfully satisfy
the user requirements. The are a number of technical issue, which are raised during the
feasibility stage investigation. The are as follow:
Technical feasibility centers on the existing computer system (hardware, software, etc.)
and to what extent it can support the proposed addition. Time duration is also a part of
technical feasibility. Time is one of the major factors to decide the success of the
project. If project is not complete within the time duration, the budget will be
increase definitely.
If the budget is a serious constraint, then the project is judged not feasible .So if it is
very serious matter, each project team should keeps in mind this, to complete the
project with in specified time.
• The facility to produce output in a given time.
• Response time under certain condition.
• Ability to process ascertains volume of package at a particular speed.
• Facility to communicate data to distinct location.
• Maintained into the digital form so that maintaining of information will gone to
Be easy and retrieval of the information is fast.
After converting data into the digital form cost of stationary is saved.
• This system also able to produce the required the report in least time.
• This system has also the facility to communication among the terminals to
distant locations.
3. OPERATIONAL FEASIBILITY
It is mainly related to human organizational and political aspect. the points to be
considered are:
• What changes will be brought with the system?
• What organizational structures are distributed?
• What new skills will be required?
4. BEHAVIOURAL FEASIBILITY
Behavioural feasibility is procedure to determine an estimate of how strong reaction the
user staff is likely to have towards the development of a computerized system. It is
common knowledge .
Those computer installations have something to do with turnover, transfers, retraining
and changes in employee job status. Therefore, it is understandable that the
introduction of a candidate system requires special effort to educate and train the staff
on new ways of handling the system. All along the above studies and discussion the
users were actively involved and were keen to get a new system, which would eliminate
all the problems in the existing system.
The total project costs, priority, completion time and personnel’s required were
estimated. Initial plans were drawn up to how the project would proceed to
its final Implementation,while running the existing system so that company’s
information needs were not affected. Feasibility Study helps to determine performance
and cost Effectiveness of the system, against the system performance requirements set
prior to the feasibility study.
5. SOCIAL FEASIBILITY
People are inherently resistant to change, and computers have been known to facilitate
change . An adverse reaction and resistance is always expected from the user staff. Our
case is different .The users get the graphical displays of information which is quickly
understandable than capturing the information from reports.
6. TIME FEASIBILITY
After the feasibility study, the analyst takes the formal acceptance of the proposed
system from the requested department. The next step is to study the current system in
detail, so that the system requirements can be determined. Systems analysis, also called
as ‘Problem Analysis’ or ‘Requirements Analysis’ is the obtaining of the actual
specifications of the system by clearly understanding the needs of the users. After
analysis, a document is prepared by the analyst, which is called as Software
Requirement Specification (SRS) document. We will discuss the various parts
and characteristics of an SRS in subsequent part.
Many methods and languages have been developed for requirements analysis.
Structured Analysis and Design Technique (SADT) – simply called as
‘Structured Analysis’ is the most commonly used method for analysis. We will
discuss this method in detail in subsequent part. Problem Statement Language
(PSL) and Requirements Statements Language (RSL) are some of the languages
developed for specifying the requirements.
PSL is fundamentally the same as the structured analysis, but it is purely textual whereas
structured analysis uses both text and graphics. RSL has been specially designed for
specifying the requirements of real time control systems.
The Initial Investigation
A questionnaire is formed to find the need of change and the deficiencies of the
existing system. A set of questions can be represented to the security staff and
visitors which will help in understanding the types of requirements as the
project
under consideration is objective driven.
• Do you have the facility of storing the records of new visitors without
need to access the various record .
• How tedious is to add a new visitor and make the desired changes in the
desired record.
DFD
Data Dictionary
Process Description
Tools of Structured analysis
• Data Flow Diagrams (DFDs): Data flow diagrams are widely used
graphic tools for describing the movement of data within or
outside the system. As a DFD consists of a series of bubbles joining
by lines, it is also known as ‘bubble chart’.
Pentium i133MHz
Ram 16 MB
Hard disk 2.1 GB
Recommended: -
Pentium III
Ram 128 MB
Hard disk 10 GB
Others: -
Printer
Colored Monitor
Software requirements
Operating System:-
DOS, WINDOWS 98/XP
Compiler :-
TURBO C++ VER 4.0
LEVEL ZERO DFD
LEVEL -1 DFD
HEADER FILES
stdio.h:- Defines types and macros needed for the Standard I/O Package
defined in Kernighan and Ritchie and extended under UNIX
System V. Defines the standard I/O predefined streams stdin,
stdout, stdprn, and stderr, and declares stream-level I/O
routines
conio.h:- Declares various functions used in calling the DOS console I/O
routines.
dos.h:- Defines various constants and gives declarations needed for DOS and
8086-specific calls.
clrscr():- clrscr clears the current text window and places the
cursor in the upper left-hand corner
#include<stdio.h>
#include<conio.h>
#include<string.h>
#include<dos.h>
#include<time.h>
# include <alloc.h>
struct patient
{
char p_id[10];
char name[20];
char sex[10];
char age[4];
char address[50];
char diagnosis[200];
char bloodgroup[10];
char test[200];
};
void main()
{
printf("welcome to");
printf("\n ***** Hospital Management Simulation ***** ");
userchk();//module checks the user and administrator
}
void userchk()//module that differentiates user & administrator
}
s1[i-1]='\0';
us_check = stricmp(passadmin,s1);
// printf("us_check=%d",us_check);
if(us_check==0)
{
printf("\nwelcome administrator");
privilage = 'a';
menu();
//return;
}
else
{
printf("\nentered password is wrong\n");
printf("\nPlease Choose the correct User Mode \n
Enter correct password");
userchk();
}
}
if(us_choice==2)
{
printf("enter password\n");
while(ch!=13)
{
ch=getch();
s2[i++]=ch;
printf("*");
}
s2[i-1]='\0';
us_check = stricmp(passuser,s2);
// printf("%d",us_check);
if(us_check==0)
{
printf("welcome user");
privilage = 'u';
menu();
}
else
{
printf("entered password is wrong");
}
}
void menu()
{
int choice;//choice for main menu
int mm;// choice for the goto tag
clrscr();
printf("welcome to");
printf("\n ***** Hospital Management Simulation ***** ");
//main menu starts from here
printf("\n ***********hospital management software***********");
printf(" \n1 - Entering patient detail 2 - View patient detail ");
printf(" \n3 - Doctors enquiry 4 - Details about software ");
printf(" \n5 - Feedback 6 - Exit ");
printf(" \n7- Change current User Mode");
printf(" \n");
n1:
printf("\n enter choice");
scanf("%d",&choice);
switch(choice)
{
case 1 :
printf("enter patient detail");
module1();//module for enterting patient detail
printf(" \nwould you like to goto the main menu");
printf(" \n 1 - yes \t\t 0 - no\n\t");
scanf("%d",&mm);
if(mm==1)
{
menu();
}
else
{
break;
}
case 2 :
printf(" view patient detail");
module2();//module for veiwing existing patient detail
printf(" \nwould you like to goto the main menu");
printf(" \n 1 - yes \t\t 0 - no\n\t");
scanf("%d",&mm);
if(mm==1)
{
menu();
}
else
{
break;
}
case 3 :
printf("Welcome to doctor's enquiry section");
module3();//module for doctors enquiry section
printf(" \nwould you like to goto the main menu");
printf(" \n 1 - yes \t\t 0 - no\n\t");
scanf("%d",&mm);
if(mm==1)
{
menu();
}
else
{
break;
}
case 4:
printf("details about software");
module4();// module for details about s/w n programmer
printf(" \nwould you like to goto the main menu");
printf(" \n 1 - yes \t\t 0 - no\n\t");
scanf("%d",&mm);
if(mm==1)
{
menu();
}
else
{
break;
}
case 5 :
printf(" welcome to feedback section:");
module5();// module for feedback
printf(" \nwould you like to goto the main menu");
printf(" \n 1 - yes \t\t 0 - no\n\t");
scanf("%d",&mm);
if(mm==1)
{
menu();
}
else
{
break;
}
case 6 :
printf("you are about to exit");
module6(); // module for exit
/* printf(" \nwould you like to goto the main menu");
printf(" \n 1 - yes \t\t 0 - no\n\t");
scanf("%d",&mm);
if(mm==1)
{
menu();
}
else
{
exit();
// break;
}*/
case 7 :
printf("case 7");
module7();
printf(" \nwould you like to goto the main menu");
printf(" \n 1 - yes \t\t 0 - no\n\t");
scanf("%d",&mm);
if(mm==1)
{
menu();
}
else
{
exit();
// break;
}
default :
printf("not valid");
printf(" \nwould you like to goto the main menu");
printf(" \n 1 - yes \t\t 0 - no\n\t");
scanf("%d",&mm);
if(mm==1)
{
menu();
}
else
{
break;
}
}
}
if(source==NULL)
{
printf("\n Can not open file.");
}
else
{
// fprintf(source,"%s%s%s%s",detail->name,detail->p_id,detail->age,detail->sex);
fwrite(&detail,sizeof(detail),1,source);
fclose(source);
}
printf("\n Add another record (y/n) :");
another=getche();
}
}
void module2() //module for veiwing existing patient detail
{
FILE *target;
struct patient detail;
char ch;
//detail=(struct patient *)malloc(sizeof(struct patient));
target=fopen("pat_det.dat","rb");
if(target==NULL)
{
printf("\n Can not open file");
}
else
{
while(fread(&detail,sizeof(struct patient),1,target)==1)
{
printf("\n%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\n",detail.p_id,detail.name,detail.address,detail.bloodgroup,det
ail.diagnosis,detail.sex,detail.test,detail.age);
//fseek(target,sizeof(struct patient),SEEK_CUR);
}
/* ch=fgetc(target);
while(ch!=EOF)
{
printf("%c",ch);
ch=fgetc(target);
}*/
fclose(target);
}
if(privilage=='a')
{
printf("\n welcome Administrator");
printf("\n Please select a task to do");
printf("\n a - to read feedback file \t b - append feedback for future
visit\n\n\n\n\n\t");
fflush(stdin);
feed_check = getchar();
if(feed_check=='a')
{
linecount = 1 ;
reply[0] ='\0' ;
c = getc( fp ) ; /* Read 1st character if any */
while ( c != EOF && reply[0] != 'Q' && reply[0] !=
'q')
{
putchar( c ) ; /*
Display character */
if ( c == '\n' )
linecount = linecount+ 1 ;
if ( linecount == 20 )
{
linecount = 1 ;
printf("[Press
Return to continue, Q to quit]");
gets( reply ) ;
}
c = getc ( fp );
}
fclose( fp );
}
if(feed_check=='b')
{
feedback =fopen("feed.txt","a+");
if(feedback==NULL)
{
puts("cannot open file");
return;
}
fflush(stdin);
gets(feed);
fprintf(feedback,"%s",feed);
fclose(feedback);
}