HOSPITAL MANAGEMENT SYESTEM Latest
HOSPITAL MANAGEMENT SYESTEM Latest
1. INTRODUCTION
This project work titled ”Hospital management system” is an attempt to provide some
systematic understanding about the function of Hospital .This project Visual C#
language. This project topic used Hospital management system and used to simulate
real word situations.
The project contains a comprehensive study of the function of the Hospital management
system.
The proposed system is very easy to operate. Speed and accuracy are the main
advantages of proposed system. There is no redundancy of data. The data are stored in
the computer’s secondary memories like hard disk, etc. it can be easily receive and used
at any time. The proposed system will easily handle all the data and the work done by
the existing systems. The proposed systems eliminate the drawbacks of the existing
system to a great extent and it provides tight security to data.
Interoperability
Because interaction between new and older applications is commonly required,
the .NET Framework provides means to access functionality that is implemented in
programs that execute outside the .NET environment. Access to COM components is
provided in the System.Runtime.InteropServices and System.EnterpriseServices
namespaces of the framework; access to other functionality is provided using the
P/Invoke feature.
Simplified Deployment
Installation of computer software must be carefully managed to ensure that it does not
interfere with previously installed software, and that it conforms to security
requirements. The .NET framework includes design features and tools that help address
these requirements.
Security
The design is meant to address some of the vulnerabilities, such as buffer overflows,
that have been exploited by malicious software. Additionally, .NET provides a common
security model for all applications.
Portability
The design of the .NET Framework allows it to theoretically be platform agnostic, and
thus cross-platform compatible. That is, a program written to use the framework should
run without change on any type of system for which the framework is implemented.
Microsoft's commercial implementations of the framework cover Windows, Windows
CE, and the Xbox 360. In addition, Microsoft submits the specifications for the
Common Language Infrastructure (which includes the core class libraries, Common
Type System, and the Common Intermediate Language), the C# language, and the
standards. This makes it possible for third parties to create compatible implementations
of the framework and its languages on other platforms.
Assemblies
The intermediate CIL code is housed in .NET assemblies. As mandated by
specification, assemblies are stored in the Portable Executable (PE) format, common on
the Windows platform for all DLL and EXE files. The assembly consists of one or more
files, one of which must contain the manifest, which has the metadata for the assembly.
Metadata
All CLI is self-describing through .NET metadata. The CLR checks the metadata to
ensure that the correct method is called. Metadata is usually generated by language
compilers but developers can create their own metadata through custom attributes.
Metadata contains information about the assembly, and is also used to implement the
reflective programming capabilities of .NET Framework.
Security
.NET has its own security mechanism with two general features: Code Access Security
(CAS), and validation and verification. Code Access Security is based on evidence that
is associated with a specific assembly. Typically the evidence is the source of the
assembly (whether it is installed on the local machine or has been downloaded from the
intranet or Internet). Code Access Security uses evidence to determine the permissions
granted to the code. Other code can demand that calling code is granted a specified
permission. The demand causes the CLR to perform a call stack walk: every assembly
of each method in the call stack is checked for the required permission; if any assembly
is not granted the permission a security exception is thrown.
Microsoft .NET Framework includes a set of standard class libraries. The class library
is organized in a hierarchy of namespaces. Most of the built in APIs are part of either
System.* or Microsoft.* namespaces. It encapsulates a large number of common
functions, such as file reading and writing, graphic rendering, database interaction, and
XML document manipulation, among others. The .NET class libraries are available to
all .NET languages. The .NET Framework class library is divided into two parts: the
Base Class Library and the Framework Class Library.
Memory management
The .NET Framework CLR frees the developer from the burden of managing memory
(allocating and freeing up when done); instead it does the memory management itself.
To this end, the memory allocated to instantiations of .NET types (objects) is done
contiguously from the managed heap, a pool of memory managed by the CLR. As long
as there exists a reference to an object, which might be either a direct reference to an
object or via a graph of objects, the object is considered to be in use by the CLR.
Versions: Microsoft started development on the .NET Framework in the late 1990s
originally under the name of Next Generation Windows Services (NGWS). By late
2000 the first beta versions of .NET 1.0 were released.
3.2 ASP.NET
Simplicity. ASP.NET makes it easy to perform common tasks, from simple form
submission and client authentication to deployment and site configuration. For
example, the ASP.NET page framework allows you to build user interfaces that
cleanly separate application logic from presentation code and to handle events in a
simple, Visual Basic - like forms processing model. Additionally, the common
language runtime simplifies development, with managed code services such as
automatic reference counting and garbage collection.
copying the necessary files to the server. No server restart is required, even to
deploy or replace running compiled code.
Scalability and Availability. ASP.NET has been designed with scalability in mind,
with features specifically tailored to improve performance in clustered and
multiprocessor environments. Further, processes are closely monitored and managed
by the ASP.NET runtime, so that if one misbehaves (leaks, deadlocks), a new
process can be created in its place, which helps keep your application constantly
available to handle requests.
Customizability and Extensibility. ASP.NET delivers a well-factored architecture
that allows developers to "plug-in" their code at the appropriate level. In fact, it is
possible to extend or replace any subcomponent of the ASP.NET runtime with your
own custom-written component. Implementing custom authentication or state
services has never been easier.
LANGUAGE SUPPORT
The Microsoft .NET Platform currently offers built-in support for three languages: C#,
Visual Basic, and Java Script.
ASP.NET Web Forms pages are text files with an .aspx file name extension. They can
be deployed throughout an IIS virtual root directory tree. When a browser client
requests .aspx resources, the ASP.NET runtime parses and compiles the target file into a
.NET Framework class. This class can then be used to dynamically process incoming
requests. (Note that the .aspx file is compiled only the first time it is accessed; the
compiled type instance is then reused across multiple requests).
An ASP.NET page can be created simply by taking an existing HTML file and
changing its file name extension to .aspx (no modification of code is required). For
example, the following sample demonstrates a simple HTML page that collects a user's
name and category preference and then performs a form post back to the originating
page when a button is clicked:
ASP.NET provides syntax compatibility with existing ASP pages. This includes support
for <% %> code render blocks that can be intermixed with HTML content within
an .aspx file. These code blocks execute in a top-down manner at page render time.
Server controls automatically maintain any client-entered values between round trips to
the server. This control state is not stored on the server (it is instead stored within an
<input type="hidden"> form field that is round-tripped between requests). Note also
that no client-side script is required.
1. ASP.NET Web Forms provide an easy and powerful way to build dynamic Web UI.
2. ASP.NET Web Forms pages can target any browser client (there are no script
library or cookie requirements).
3. ASP.NET Web Forms pages provide syntax compatibility with existing ASP pages.
4. ASP.NET server controls provide an easy way to encapsulate common
functionality.
5. ASP.NET ships with 45 built-in server controls. Developers can also use controls
built by third parties.
6. ASP.NET server controls can automatically project both uplevel and downlevel
HTML.
7. ASP.NET templates provide an easy way to customize the look and feel of list
server controls.
8. ASP.NET validation controls provide an easy way to do declarative client or server
data validation.
3.3 C#.NET
The following sections will introduce you to some objects that have evolved, and some
that are new. These objects are:
Connections:
Connections are used to 'talk to' databases, and are represented by provider-specific
classes such as SqlConnection. Commands travel over connections and resultsets are
returned in the form of streams which can be read by a DataReader object, or pushed
into a DataSet object.
Commands:
Commands contain the information that is submitted to a database, and are represented
by provider-specific classes such as SqlCommand. A command can be a stored
procedure call, an UPDATE statement, or a statement that returns results. You can also
use input and output parameters, and return values as part of your command syntax. The
example below shows how to issue an INSERT statement against the Northwind
database.
DataReaders:
The DataReader object is somewhat synonymous with a read-only/forward-only cursor
over data. The DataReader API supports flat as well as hierarchical data. A DataReader
object is returned after executing a command against a database. The format of the
returned DataReader object is different from a recordset. For example, you might use
the DataReader to show the results of a search list in a web page.
DataSets
The DataSet object is similar to the ADO Recordset object, but more powerful, and with
one other important distinction: the DataSet is always disconnected. The DataSet object
represents a cache of data, with database-like structures such as tables, columns,
relationships, and constraints. However, though a DataSet can and does behave much
like a database, it is important to remember that DataSet objects do not interact directly
with databases, or other source data.
3. ADO.NET can be used to get data from a stream, or to store data in a cache for
updates.
4. There is a lot more information about ADO.NET in the documentation.
Also, you can use a DataSet to bind to the data, move through the data, and
navigate data relationships.
PRIMARY KEY
Every table in SQL Server has a field or a combination of fields that uniquely identifies
each record in the table. The Unique identifier is called the Primary Key, or simply the
Key. The primary key provides the means to distinguish one record from all other in a
table. It allows the user and the database system to identify, locate and refer to one
particular record in the database.
RELATIONAL DATABASE
Sometimes all the information of interest to a business operation can be stored in one
table. SQL Server makes it very easy to link the data in multiple tables. This is what
makes SQL Server a relational database management system, or RDBMS. It stores data
in two or more tables and enables you to define relationships between the table and
enables you to define relationships between the tables.
FOREIGN KEY:
When a field is one table matches the primary key of another field is referred to as a
foreign key. A foreign key is a field or a group of fields in one table whose values
match those of the primary key of another table.
Effective software project estimation is one of the most challenging and important
activities in software development. Proper project planning and control is not possible
without a sound and reliable estimate. As a whole, the software industry doesn’t
estimate projects well and doesn’t use estimates appropriately.
5.2 Scheduling
Software project scheduling is an activity that distributes estimated efforts across the
planned project duration by allocating the effort to specific software engineering tasks.
The basic principles adopted for software project scheduling are:
Compartmentalization.
Interdependency.
Time Allocation.
Effort validation
MODULES OF DISCRIPTION
To understand the activities of ward incharge more clearly, his activities are described
in details in the following section.
WARD MAINTANANCE
Ward incharge maintenance the information of all wards of the hospital. For this he
maintains a ward register. He assigns a unique each ward. He enters a fresh entry
regarding a ward as soon as a new is added in the hospital. Using this register in the
morning, ward incharge prepares a list of vacant wards. This list helps them in deciding
the course of action for rest of the day. If wards are free then only doctors
recommended patient to get admitted in the hospital.
PATIENT REGISTRATION
In this department all new patient are registered. Format of admission slip is described
below. Registration incharge enters the details of patient in the registration register.
After allotting the unique registration number to the patient, he also collect the
registration fee.
TREATMENT REGISTER
This register maintain by the doctors. After examine a patient the suggested
recommendations & medicines are entered by the doctors in this register according to
Reno of patient.
PATHOLOGY REGISTER
In this section the patient pathology checkups are done according to Doctor’s
recommendation. The pathology incharge maintain the pathology register on the basis
of patient’s registration register.
DOCTOR REGISTER
In this register the hospital maintain the record of doctors. The hospital allotted a unique
decode to each doctor.
MONEY COLLECTION
After generating the bill, ward incharge charges money from the patient and performs
the following functions:
A). Updates discharge register to the record the information of amount collected
date of discharge & final report.
B) Updates ward registers, so as to have the wards status as vacant.
4. SYSTEM ANALYSIS
FEASUBILITY STUDY
The main objective of the feasibility study is to test the Technical, Operational and
Economical feasibility for adding new modules and debugging old running system. All
system is feasible if they are unlimited resources and infinite time. Technical Feasibility
Operational Feasibility
Economical Feasibility
Technical Feasibility centers on the existing computer system hardware, software, etc.
and to some extent how it can support the proposed addition. This involves financial
considerations to accommodate technical enhancements. Technical support is also a
reason for the success of the project. Since the project is designed with ASP.NET with
C# as Front end and SQL Server 2000 as Back end, it is easy to install in all the systems
wherever needed. It is more efficient, easy and user-friendly to understand by almost
everyone.
People are inherently instant to change and computers have been known to facilitate
change. An estimate should be made to how strong a reaction the user staff is likely to
have towards the development of the computerized system. The staff is accustomed to
computerized systems. These kinds of systems are becoming more common day by day
for evaluation of the software engineers. Hence, this system is operationally feasible. As
this system is technically, economically and operationally feasible, this system is judged
feasible.
The role of interface design is to reconcile the differences that prevail among the
software engineer’s design model, the designed system meet the end user requirement
with economical way at minimal cost within the affordable price by encouraging more
of proposed system. Economic feasibility is concerned with comparing the development
cost with the income/benefit derived from the developed system.
5. DESIGN
Software design sits at the technical kernel of the software engineering process and is
applied regardless of the development paradigm and area of application. Design is the
first step in the development phase for any engineered product or system. The
designer’s goal is to produce a model or representation of an entity that will later be
built. Beginning, once system requirement have been specified and analyzed, system
design is the first of the three technical activities -design, code and test that is required
to build and verify software.
5.1ER Diagram
5.2DFD
0 Level DFD
1 Level DFD
Tables
Home.asp
Patient Report.asp
DoctarInfo.asp
Employee.asp
Patient Registration.asp
Treatment.asp
Discharge Report.asp
Patient Report.asp
Patient registration.asp
10. TESTING
During testing the program to tested is executed with the set of test cases and have the
output of the program for the test cases is evaluated to determine if the program is
performing as expected. Due to its approach dynamic testing can only presence of errors
in the program, the exact nature of errors is not usually decided by testing. Testing
forms is the first in determining errors in the program. Once a program are tested
individually then the system as a whole needs to be tested. During testing the system is
used experimentally to ensure that the software does not fail i.e. it will run according to
its specification. The programs executed to check for any syntax and logical errors. The
errors are corrected and test is made to determine whether the program is doing what
supposed to do.
12. CONCLUSION
The Hospital Management System is very easy to operate. Speed and accuracy are the
main advantages of Hospital Management System. There is no redundancy of data. The
data are stored in the computer’s secondary memories like hard disk, etc. it can be
easily receive and used at any time. The Hospital Management System will easily
handle all the data and the work done by the existing systems.
The major achievement of this project is the ability register new staff, doctors, and
nurse and store their data in database the most important things that must be appreciated
by all is that, the system is an eye opener to a lot more investigation and detail research
for implementation and improvement purpose in order to add to the general knowledge
base.
13. REFERENCES
Professional C# 2005
Microsoft SQL Server 2005
Professional ASP .NET 3.5