Hospital Manegement System
Hospital Manegement System
Hospital Manegement System
2
ACKNOWLEDGEMENT
This project requires a lot of people support to complete this project. We take
this opportunity to acknowledge their support to me.
My Deepest thanks to our Trainers Mr. Pradip vanpariya and Mr. Keyur Zala
for guiding and correcting various documents of my project with attention and
care. They have taken pain to go through the project and make necessary
correction as when needed. They express their gratitude for guidance and who
kept the things on track. Their helpful solutions and comers enriched by his
experience for the betterment of the project and also to all other faculty
members who helped us directly or indirectly.
Last but not list, we would like to thank our department and all faculty
members. We also extend our heartfelt thanks to friends and my parents and my
sister who helped me directly throughout the project duration and have been the
source of encouragement.
3
INTRODUCTION TO PROJECT
4
PROJECT PROFILE
ASP.NET
C#
Database : My SQL
Year : 2011-12
5
ABSTRACT
The present system is desktop base application. My proposed system is totally
web based application by which hospital can manage and all the records
maintain in database.
6
PROJECT SUMMARY
This web site is “Hospital Management System”, This system covers the all the
functionality and services provided by the hospital so ,It is useful to manage the
hospital. Doctor can check the status of patient online, the patient can check
their status like what is his blood report?, urine report etc.
The scope of this website is it can be used in any clinic, hospital, dispensary or
pathology labs for maintaining patient details and their test results.
7
SYSTEM ANALYSIS &
REQUIREMENT
8
SYSTEM REQUIREMENT
SPECIFICATION
Types of Requirements:
Non-Functional Requirement
Functional Requirement
9
NON FUNCTIONAL REQUIREMENT
SOFTWARE REQUIREMENT
Client on Intranet
Database Server
Development End
ASP.NET(C#)
Tools
10
HARDWARE REQUIREMENT
Internet Explorer 6.0 /Mozilla Firefox / Or any Browser that supports Applet.
11
FUNCTIONAL REQUIREMENT
Maintainability
The malignance of the project should be easy and the cost required for the
project maintenance must be low. The design patterns used are very adaptive, so
that if any change required in system, it will be very easy.
Security
We are using .Net Framework 3.5 and C#.Net as the front end which provides
more security. The user wants that the data stored in the database must be
secure and can‟t get by unauthorized user which can damage the system. After
login only you can access system, so if you don‟t have your username or
password, you are not able to use system.
Usability
The interface should use terms and concepts, which are drawn from the
experience of the people who will make most of the system.
Accuracy
The user should require that data are getting from database and stored in the
database must be accurate. The data entered by user are verified by validation
controls.
12
Interface Issue
The system must provide easy and fast access without consuming more cost.
The system must also be user- friendly so that user can easily access the system.
Constraints
User should never be surprised by the behaviour of the system and it should also
provide meaningful feedback when errors occur so that user can recover from
the errors.
Readability
The user among the project must be able to proceed further easily and without
facing any problem.
Modularity
The project must be built up in modules so things are not missed up and
complexity reduces. So it‟s easier to find out errors in modules.
Portability
The project should be run on any system satisfying hardware and software
requirements successfully without making more changes.
Traceability
The system should be such that each module can be traced from any module.
13
ANALYSIS
INFORMATION GATHERING
The first step was to understand the Structure of the system. The next most
important step was to understand the Business Logic of the respective modules
of the system. After studying the system it was the time for gathering
requirements and information about the system. The information was collected
and consolidated by conducting a series of interviews with the Project Manager.
This was supplemented with collection of documents that form the part of the
present physical system. Simultaneously, a study of the Development tools was
carried out.
14
FEASIBILITY ANALYSIS
Economic feasibility
Technical feasibility
Operational feasibility
Implementation Feasibility
15
ECONOMIC FEASIBILITY
SPARK Hospitals site uses all the free technologies to implement and
does not require a high-end PC to function successfully at client side.
16
TECHNICAL FEASIBILITY
17
OPERATIONAL FEASIBILITY
Information:- This site allows you to register and book an appointment with
a Doctor. It even allows you chat with Doctor.
Services:- All the facilities provided by website are reliable and the system
can be expandable for future enhancements.
18
IMPLEMENTATION FEASIBILITY
19
Tools
and
Technology
20
TOOLS SPECIFICATION
There are many tools required for the preparation of this website. A developer
no matter, how skilled is dependent on the tools and technology at his disposal.
There are numerous free tools to aid in .net development; from source control to
debugging and from documentation to profiling. I have used following software
whose brief introduction is given below:
ASP.NET
Ms SQL Server
Microsoft visual studio
21
ASP.NET
ASP.NET is a free technology that allows anyone to create a modern web
site.
ASP.NET is a powerful platform for developing software.
ASP.NET is a web application framework developed and marketed by
Microsoft to allow programmers to build dynamic web-sites, web-
application and web-services.
It was first released in January 2002 with version 1.0 of the .Net
Framework and is the successor to Microsoft's Active Server Pages
(ASP) technology.
Framework 3.5 is released in November 19; 2007.It is released with
Visual Studio 2010 and Windows Server 2008.
.NET Framework 3.5 supports WCF, WPF, LINQ and WORKFLOW.
22
MS SQL SERVER 2005
Microsoft SQL Server is a relational model database server produced by
Microsoft.
Its primary query languages are T-SQL and ANSI SQL.
SQL Server 2005 (codenamed Yukon), released in October 2005, is the
successor to SQL Server 2000.
It included native support for managing XML data, in addition to
relational data.
It allows DML and DDL functionality.
SQL Server is a relational database management system (RDBMS)
from Microsoft that's designed for the enterprise environment. SQL
Server runs on T-SQL (Transact -SQL), a set of programming extensions
from Sybase and Microsoft that add several features to standard SQL,
including transaction control, exception and error handling, row
processing, and declared variables.
23
MICROSOFT VISUAL STUDIO
Ms Visual Studio is one of the very powerful IDE Integrated development
environment from Microsoft. It supports many language, integrated web-server,
code completion, refectory tools, debugger etc.
24
Visual Studio supports different programming languages by means of language
services, which allow the code editor and debugger to support (to varying
degrees) nearly any programming language, provided a language-specific
service exists. Built-in languages include C/C++, VB.NET , C# , and F#.
Support for other languages such as Python, and Ruby among others is available
via language services installed separately.
25
PROJECT RISK
Risk Management is due to creating a project and having coding mistake, if put
any query in other place than it create distinguish mistakes in project.
Risk is the factor that make a project having more efficiency and more reliable
for use that kind of project.
Risk analysis and management are a series of steps that help a software team to
understand and manage uncertainty. But, regardless of the outcome, it's a really
good idea to identify it, assess its probability of occurrence, and estimate its
impact.
Risk management aims at dealing with all kinds of risks that might affect a
project. Having many types of risk, but here we can judge only getting some
types of errors and also get any kind of working drawback of project designing
and data.
Risk can also get by introducing our project in market scenario or client
scenario. Risk identification is a systematic attempt to specify threats to the
project plan.
By identifying known and predictable risks the project manager takes step
toward avoiding them when possible and controlling them when necessary. One
method for identifying risks is to create a risk item checklist.
26
USER REQUIREMENTS
As the whole organization is going to use the application, the application should
serve the purpose of each person associated with the organization. Depending
on the business logic of each module, the corresponding forms should help the
user to automate the processing in such a way that the physical documents can
be easily mapped to forms available in the application.
The system should eliminate data redundancy and make the data readily
available throughout the organization. In the freelance section I have to focus
on catering the requirements of users of the module. The system should
authenticate the user who will use this system. The system should provide the
central login facility for all the modules so that the user who logon to the one
module can use functionalities of all the modules. As my focus is on the
freelance module I should take care that when user first time logon to the
system his account should be activated by filling up the registration form.
In the freelance section, contact information of the buyers and sellers should not
be displayed to each other. Otherwise, they will communicate with each other
and there is no need of this section.
27
SYSTEM DESIGN
28
DATABASE
Appointment table
29
Department Table
30
Login table
31
Doctor table
32
Registration table
33
DATA FLOW DIAGRAM
System diagram
View
(SignUp.aspx,SignIn.as
Home.aspx,Alogin.
px,User.aspx,ForgotPa
aspx,Registration.
ssword.aspx,ChangePa
aspx,Appointment
ssword.aspx,Profile.as SQL SERVER
.aspx,Chat.aspx,A
px,ProfileSelect.aspx,P (Database)
bout.aspx,Contact
rofileUpdate.aspx,Cha Model (Country,Educatio
.aspx t.aspx) Login_id,login
(LINQ to SQL) n,Language,Logge
name,passwo
(modelsignup.cs,m dinUsers,Message
rd,address,Do
odelsignin.cs,mode
Dataclass.dbm ,Profile_Info,Relati
lprofile.cs,modelch ctor_id,Apmt
onship,Relegion,S
l
angepassword.cs, _Id,Dept_Id,D
ecret_Question,U
Controller
(C# class) modelchat.cs) epartmentNa
ser_General_Info,
(logicsignup.cs,logicsig me,etc
User_Userid_Info)
Home.aspx.cs,Registration.as
nin.cs,logicprofile.cs,l
px.cs,Alogin.aspx.cs,Appoint
Dataclass.dbm
(All stored
ment.aspx.cs,chat.aspx.cs,co
ogicchangepassword.c
ntact.aspx.cs,Class1.cs,Class2 l procedures )
s,logicchat.cs)
.cs,loginregiatration.cs
34
35
Screen Layout
36
SCREEN SHOTS
HOME PAGE
The gateway of the application from where users Sign in into the system.
37
ABOUT
The first time user can know about the hospital with the help of About page.
38
CONTACT
The user can get the details like locality of the hospital or the emergency no
through contact page
39
REGISTRACTION PAGE
The gateway of the application from where users get registered to the site.
40
AFTER REGISTRACTION
After successful registration the patient gets a mail to his mail Id from
sparkhospitals.com
41
AFTER LOGIN
42
APPOINMENT PAGE OF DOCTOR
The doctors page when doctor has few appointmets for that day
43
The doctors page when doctor has no appointmet for that day.
44
APPOINTMENT PAGE OF PATIENT
45
Software Testing
46
TESTING
System testing makes logical assumptions that if all the parts of the system are
correct, the goal will be successfully achieved. The system should be checked
logically. Validations and cross checks should be there. Avoiding duplication of
records, which causes redundancy of data.
This system is tested by the following steps and prepared for the final
implementation. Using review at different stages we ensured that
47
UNIT TESTING
In the web based application smallest testable unit is web page itself. So the
web pages of the site are to be unit tested. Each web page contains content,
navigational links and processing elements (scripts, event handlers, etc.). The
testing will be driven by the content processing and links contained in the site.
Using black box testing technique web pages are tested unit by unit for whether
they receive input properly and give output in proper format or redirect to
specific web page. It is also tested that the error message are properly displayed
and give user-friendly information.
48
INTEGRATED TESTING
We have used top down testing strategy for integrating web pages. The
separately generated web pages will be integrated and for checking that they
work properly after their integration, tests will be conducted to ensure their
proper functionality
Using dummy web pages it is checked that whether output of pages will redirect
to specific web page
After that registration testing strategy help us to ensure that changes do not
introduce unintended behaviour or additional errors.
49
SYSTEM TESTING
The uncovered weakness that was not found in earlier tested are removed in
system testing. The system is corrected such away that is it does not affect the
forced system failure. This testing is done with low volume of transaction
based on live data. Finally the total system is also tested to ensure that no data
are lost.
Following testing on the completed system will be performed and order to find
the errors before they become defects and correct them.
Web pages of the site will be unit tested. For the web pages sometimes
the smallest testable unit is the single web page itself. Each web page
contains content, navigational links and processing elements. The testing
will be driven by the content processing and link contained in the site.
The separately generated web pages will be integrated and for checking
that they work properly after their integration, tests will be conducted to
ensure their proper functionality.
The functionality of the site will be checked with the different versions of
the browsers and wherever necessary it will be attended to change the
implementation of the not working for some browser fir some case and of
course without losing the purpose of the functionality, if possible.
50
Appendix
51
LIMITATIONS OF PROJECT
52
FUTURE APPLICATION OF
PROJECT
We expect to expand and add some of the f12eatures to this system in near
future.
53
BIBLIOGRAPHY
Website
www.google.com
www.wikipedia.org
http://www.w3schools.com
https://www.irctc.co.in/
Book
54