hospital mangement

141
FINAL PROJECT REPORT On HOSPITAL MANAGEMENT SYSTEM By Name: RANJIT KAUR University Roll No: 1277676 Semester: 6 th MASTER OF COMPUTER APPLICATIONS (Batch 2012-2015) 1 DEPARTMENT OF COMPUTER APPLICATIONS (MCA) CGC, Landran, Mohali

description

this is related with online hospitle management system report..

Transcript of hospital mangement

FINAL PROJECT REPORTOnHOSPITAL MANAGEMENT SYSTEMByName: RANJIT KAURUniversity Roll No: 1277676Semester: 6th

MASTER OF COMPUTER APPLICATIONS(Batch 2012-2015)

DEPARTMENT OF COMPUTER APPLICATIONS (MCA)CGC, Landran, Mohali

ACKNOWLEDGEMENTBefore we get into thick of the project midterm report I would like to add a few heartfelt words for the people who were part of this project in numerous wayspeople who gave unending support right from the stage the project idea was conceived.

I wish to Acknowledge with a great sense of gratitude to my guide Assistant Prof. Mr. Jaswinder Singh for their valuable guidance, suggestion and correction, I have received from them. They not only encouraged me throughout the work, but I also thank them for reviewing the entire manuscript with painstaking attention for details. It gives me immense pleasure to acknowledge my indebtedness to the various faculty members of CGC Landran, Mohali for helping me to design the project work as a part of my course curriculum.

Last but not the least, I avail the opportunity to express my deepest gratitude towards my trainer Mr. Kapil Verma for helping me to complete this project successfully. .

Ranjit Kaur

CERTIFICATE

This is to certify that this project entitled College Management System submitted in partial fulfilment of the degree of MASTER OF COMPUTER APPLICATIONS to the Punjab Technical University, Jalandhar through CGC, Department of Computer Application done by Ranjit Kaur Univ. Roll No. 1277676 is an authentic work carried out by him/her at CGC, Landran under my guidance. The matter embodied in this project work has not been submitted earlier for award of any degree or diploma to the best of my knowledge and belief.

Ranjit Kaur Mr. Jaswinder Singh

Signature of the student:- __________ Signature of the Guide: __________

Univ. Roll No. 1277676

Signature of H.O.D.

------------------------------

Name & Signature of Internal ExaminerTABLE OF CONTENTSSr. No.ContentsPage No.

1Certificatesa) College Certificateb) Company Certificate

2Acknowledgement

3Preface

4Introduction to Organization

5Introduction to Topic

6Existing System

7Requirements Specifications

8Proposed System

9System Designa) Output Designb) Input Designc) DFDd) File Designe) Form Design

10Coding

11Outputs & Reports

12Advantages of project

13Limitations of project

14Further Scope

15Data Dictionary

16References

INTRODUCTION TO ORGANISATIONVee Software Solutions is a training company that teaches not just programming languages but programming. This company believes in training their students on not just using a programming language but how and where to use the programming language most efficiently and effectively.

Today IT industry does not demand coders but they want software engineers who can effectively build robust and user friendly applications. The faculty is skilled enough to teach our students out of box and not just programming concepts.

Bright students are given exposure to live projects. This organization develop engineers not coders. The goal is not only providing knowledge about programming language but also educated students on how to implement them.

This organization teach them the standards followed in different IT companies. As companies go for CMM certification so some standards needs to be followed by them to retain their certificates.

This company provide training about Core Java, Advance Java, .Net, C, C++, Oracle. To give exposure to those areas they teach following to students-code standards, software development life cycle, how IT industry functions, how to create robust and secure code, what is search engine optimization, exposure it live projects in case students perform well in training program.

Basic Information

1. Company Name: VEE SOFTWARE SOLUTION Pvt. Ltd, Mohali.

2. Company Address: VEE SOFTWARE SOLUTION Pvt. Ltd .

SCF 41 , PHASE 7, MOHALI.

3. Name of Trainer: KAPIL VERMA

4. Trainer Contact no: 9464161616

5. Internal Guide (Class Counselor): MR. JASWINDER SINGH

6. Name of the Project: HOSPITAL MANAGEMENT SYSTEM

7. Front End: JAVA

8. Back End: MY SQL

PROFILE OF PROBLEM ASSIGNED1. The current manual system has a lot of paper work and it does not deal with old and new car purchase and sale.2. To maintain the records of sale and service manually, is a Time-consuming job.3. With the increase in database, it will become a massive job to maintain the database.4. Requires large quantities of file cabinets, which are huge and require quite a bit of space in the office, which can be used for storing records of previous details.5. The retrieval of records of previously registered patients will be a tedious job.6. Lack of security for the records, anyone disarrange the records of your system.7. If someone want to check the details of the available doctors the previous system does not provide any necessary detail of this type.

EXISTING SYSTEM INRODUCTION OF PROJECTAHospital Management System(HMS) is an element ofhealth informaticsthat focuses mainly on the administrational needs ofhospitals. In many implementations, a HMS is a comprehensive, integratedinformation systemdesigned to manage all the aspects of a hospital's operation, such as medical, administrative, financial, and legal issues and the corresponding processing of services.

One of the most important issues ishealth careservices.Hospitalsprovide a medical assistance to people. The best introduction for hospital information systems has been made in 2011 International Conference on Social Science and Humanity.

Hospital Management System is powerful, flexible, and easy to use and is designed and developed to deliver real conceivable benefits to hospitals and clinics and more importantly it is backed by reliable and dependable Vasudha SoftAim Innovations support.Hospital Management System is designed for multispeciality hospitals, to cover a wide range of hospital administration and management processes. It is an integrated end-to-end Hospital Management System that provides relevant information across the hospital to support effective decision making for patient care, hospital administration and critical financial accounting, in a seamless flow.

Hospital Management System is a software product suite designed to improve the quality and management of clinical care and hospital health care management in the areas of clinical process analysis and activity-based costing. Hospital Management System enables you to develop your organization and improve its effectiveness and quality of work. Managing the key processes efficiently is critical to the success of the hospital helps you manage your processes.

Human Body is a very complex and sophisticated structure and comprises of millions of functions. All these complicated functions have been understood by man him, part-by-part their research and experiments. As science and technology progressed, medicine became an integral part of the research. Gradually, medical science became an entirely new branch of science. As of today, the Health Sector comprises of Medical institutions i.e. Hospitals, HOSPITALs etc. research and development institutions and medical colleges. Thus the Health sector aims at providing the best medical facilities to the common man.

Our project is based on the above concept i.e. automation of Administration and Management of Hospital. The project has been developed keeping in-view the following aspects: -(i) Working environment of the Hospital.(ii) The thought-process and attitude of Indian people.(iii) The literacy rate of India.(iv) The Existing system, being used in the majority of Hospitals.(v) The availability of Infra-structural facilities likes finance, skilled personals, and working environment.

NEED:

I have designed the given proposed system in the JSP to automate the process of day to day activities of Hospital like Room activities, Admission of New Patient, Discharge of Patient, Assign a Doctor, and finally compute the bill etc., online facilities to the multiple users etc.

The complete set of rules & procedures related to Hospitals day to day activities and generating report is called HOSPITAL MANAGEMENT SYSTEM. My project gives a brief idea regarding automated Hospital activities.

The following steps that give the detailed information of the need of proposed system are:

Performance: During past several decades, the hospital management system is supposed to maintain manual handling of all the hospital daily activities. The manual handling of the record is time consuming and highly prone to error. To improve the performance of the hospital management system, the computerized hospital management system is to be undertaken. The computerized hospital project is fully computerized and user friendly even that any of the hospitals members can see the patients report and the doctors report.

Efficiency: The basic need of the project is efficiency. The project should be efficient so that whenever a new patient is admitted, and automatically a bed is assigned and also a doctor is assigned to the patient according to the patients disease. And if any patient is getting discharged, the bed assigned to him/her should automatically free in the computer.

Control: The complete control of the project is under the hands of authorized person who has the password to access this project and illegal access is not supposed to deal with. All the control is under the administrator and the other members have the rights to just see the records not to change any transaction or entry.

Security: Security is the main criteria for the proposed system. Since illegal access may corrupt the database and it will affect not only the hospital but also it also affects the patients life. So security has to be given in this project.

Features:

Only basic knowledge of computers is required for operation of Hospital Management System. As it has user-friendly application interface. Hospital Management System is Customizable and User Configurable An inbuilt Settings module makes Hospital Management System flexibility to cater to diverse organizational needs. Hospital Management System brings information to the user's desktop through integration across all modules Hospital Management System has pre-defined reports these are used for by staff filling out forms, freeing resources for more critical tasksnormal reporting as well as Administration & Staff development purpose. Additionally, Hospital Management System can be easily customized for their own customized reports Hospital Management System enables hospitals and doctors to better serve their patients Improved quality of patient care Increased nursing productivity Reducing the time spent Better quality of care, procedures and service to Patients. Control over the costs incurred by diagnosis-related groups.

OBJECTIVE OF HOSPITAL MANAGEMENT:-This main objective of the system is to computerize the maintenance of the patient details and billing section in the Hospital. It also includes the details about the laboratory checkups. 1.The system should be menu-driven and must have a user-friendly Graphical User Interface.2.It should be able to handle the test reports of patients conducted in the lab of the hospital.3.The prescription of the Outdoor patients should be kept up to date and there record should be kept in the system for historical purposes.4.Since the test results, treatment results and accounting information are crucial to the hospital there must be a good security mechanism in the software.5.While admitting a new patient room allocation and availability check for the same should be done by the system.

SYSTEM REQUIREMENTS:-

Software Requirements: Operating System : Windows 7 Front End : Eclipse Indigo Database : My Sql Hardware Requirements: Intel P4 1.1GHz or above 112MB RAM 80GB HDD Minimum

FRONT END

We have implemented JavaScript for all the Client side validations. Client side JavaScript is designed to reside inside HTML document & ensure they run properly. It is object based, event driven, platform independent. These are important parts of any Web application to implement Client side Validations and the invalid data is not submitted. The form is not submitted until user fills in correct data. It is extremely useful to restrict mistakes by user.

BACK ENDWe have used My Sql. My Sql provides efficient/effective solution for major database tech.- Large database and space management.- Many concurrent database users.- High transaction processing requirement- High Availability- Industry accepted standards- Manageable security- Portability PRODUCT DEFINATION:-

Problem StatementThe maintenance of records of these students and staff is manual. The file for each patient is kept and is retrieved upon the subsequent visit. The manual handling of the record is time consuming and highly prone to error. The purpose of this project is to automate or make online, the process of day-to-day activities like Room activities, Admission of New Patient, Discharge of Patient, Assign a Doctor, and finally compute the bill etc.

I have tried my best to make the complicated process Hospital Management System as simple as possible using Structured & Modular technique & Menu oriented interface. I have tried to design the software in such a way that user may not have any difficulty in using this package & further expansion is possible without much effort. Even though I cannot claim that this work to be entirely exhaustive, the main purpose of my exercise is perform each Hospitals activity in computerized way rather than manually which is time consuming. Definitions of problems:-1. Lack of immediate retrievals: - The information is very difficult to retrieveand to find particular information like- E.g. - To find out about the patientshistory, the user has to go through various registers. This results in inconvenienceand wastage of time.

2. Lack of immediate information storage: - The information generated byvarious transactions takes time and efforts to be stored at right place.

3. Lack of prompt updating: - Various changes to information like patientdetails or immunization details of child are difficult to make as paper work is involved.

FUNCTIONS TO BE PROVIDED:-

1. Problem of Reliability: Current system is not reliable. It seems to vary in quality from one month to the, next. Sometimes it gives good output, but some times the output is worst.2. Problem of Accuracy: There are too many mistakes in reports.3. Problem of timeliness: In the current system the reports and output produced is mostly late and in most of the cases it is useless because it is not on time.4. Problem of Validity: The output and reports mostly contains misleading information. The customer's information is sometimes not valid.5. Problem of Economy: The current system is very costly. We have to spend lots of money to keep the system up and going, but still not get the desired results.6. Problem of Capacity: The current system is suffering from problem of capacity also. The staff for organization is very less and the workload is too much. Few peoples cannot handle all the work.

PROPOSED SYSTEM.1. Registers: There is no need of keeping and maintaining salary and employee register manually. It remembers each and every record and we can get any report related to employee and salary at any time.

2. Speed: The new proposed system is very fast with 100% accuracy and saves time.

3. Manpower: The new proposed system needs less manpower. Less people can do the large work.

4. Efficiency: The new proposed systems complete the work of many salesperson in less time.

5. Past details: The new proposed system contains the details of every past doctor and patients for future assistance.

6. Reduces redundancy: The most important benefit of this system is that it reduces the redundancy of data within the data.

7. Work load: Reduces the work load of the data store by helping in easy updates of the products and providing them with the necessary details together with financial transactions management.8. Easy statements: Month-end and day-end statement easily taken out without getting headaches on browsing through the day end statements.

9. Employee Details: The new proposed system stores and maintains all the employees details.

10. Patient Details: The new proposed system stores and maintains all the new and old patient details.

11. Laboratory details: The new proposed system stores and maintains all the Lab details like Lab Test, Test reports .

12. Blood Bank Details: The new proposed system stores and maintains all the blood bank details like donors detail, acceptors detail, blood available detail, camp details etc.

Processing Requirements:-

Operating System : Windows 7 Front End : Eclipse Indigo Database : My Sql Intel P4 1.1GHz or above 112MB RAM 80GB HDD Minimum

Acceptance Criteria:-

It is very easy to find every patients detail at a single place. Every doctors record is available in this project so that there is no need to keep any other file for checking the doctors record. Also we can edit all patients and doctors data at one place instead of keeping multiple files. Any individual who wants to donate blood can register online instead of coming to the hospital and registering himself/herself thereby saving time at the time of depositing blood in the blood bank. Any patient who wants to perform any test can register online and fill up his details so that he merely has to go to the hospital and undergo test. An individual can give us the feedback regarding the services of our hospital on our project.

Feasibility Analysis:-The feasibility study proposes one or more conceptual solution to the problem set of the project. In fact, it is an evaluation of whether it is worthwhile to proceed with project or not.

1. Evaluation of feasibility of such solutions. Such evaluation often indicates shortcomings in the initial goals. This step is repeated as the goals are adjusted and the alternative solutions are evaluated.

Feasibility analysis usually considers a number of project alternatives, one that is chosen as the most satisfactory solution. These alternatives also need to be evaluated in a broad way without committing too many resources. Various steps involved in feasibility analysis are:

2. To propose a set of solution that can realize the project goal. These solutions are usually descriptions of what the new system should look like.

Four primary areas of interest in feasibility study are:

ECONOMIC FEASIBILITY: An evaluation of development cost weighed against the ultimate income of benefit derived from the development system of product. In economic feasibility, cost benefit analysis is done in which expected cost and benefits are evaluated.

TECHNICAL FEASIBILITY: Technical Feasibility includes existing and new H/W and S/W requirements that are required to operate the project using JSP. The basic S/W requirement is J2EE in which the front end of the online hospital management project has been done. The basic entry forms are developed in JSP and the data is stored in the MY SQL.

OPERATIONAL FEASIBILITY: Operational feasibility is mainly concerned with issues like whether the system will be used if it is developed and implemented. Whether there will be resistance from users that will affect the possible application benefits? The essential questions that help in testing the technical feasibility of a system are following:

Does management support the project? Are the users not happy with current business practices? Will it reduce the time considerably? If yes, then they will welcome the change and the new system. Have the users involved in the planning and development of the project? Early involvement reduced the probability of resistance towards the new system. Will the proposed system really benefit the organization? Does the overall response increase? Will accessibility of information be lost? Will the system affect the customers in considerable way?

LEGAL FEASIBILITY:

A determination of any infringement, violation, or liability that could result from development of the system. Legal feasibility tells that the software used in the project should be original purchased from the legal authorities and they have the license to use it or the software are pirated.

Project Plan:-

Team Structure:-

We are having a team of two members to develop this project. The project has been developed by Ranjit Kaur and Gaurav Sharma with their best efforts and hard work.

There are 6 modules in our project. But I will work on 3 Modules. These are as follows:-

Patient Module In-Patient Out-Patient Lab Module Blood Bank Module

Other three modules are developed by Gaurav Sharma. These are as follows:-

Doctor Module Billing Module Career Module

Development Schedule:-

Programming Languages And Development Tools:-

3.1 Tomcat 6.0Apache Tomcat version 1.1 implements the Servlet 2.4 and Java Server Pages 2.0 specifications from the Java Community Process, and includes many additional features that make it a useful platform for developing and deploying web applications and web services.

3.2 ServletsServlets are the Java platform technology of choice for extending and enhancing Web servers. Servlets provide a component-based, platform-independent method for building Web-based applications, without the performance limitations of CGI programs. Servlets have access to the entire family of Java APIs, including the JDBC API to access enterprise databases. Servlets can also access a library of HTTP-specific calls and receive all the benefits of the mature Java language, including portability, performance, reusability, and crash protection.

3.3 Java Server Pages (JSP)JSP technology enables Web developers and designers to rapidly develop and easily maintain, information-rich, dynamic Web pages that leverage existing business systems. As part of the Java technology family, JSP technology enables rapid development of Web-based applications that are platform independent. JSP technology separates the user interface from content generation, enabling designers to change the overall page layout without altering the underlying dynamic content.

3.4 Hyper Text Mark-up LanguageHTML is a predominant mark-up language for the creation of web pages. It provides a means to describe the structure of text-based information in a document by denoting certain text as headings, paragraphs, lists and to supplement that text with interactive forms, embedded images, and other objects. HTML can also describe, to some degree, the appearance and semantics of a document, and can provide additional cues, such as embedded scripting language code, that can affect the behaviour of web browsers and other HTML processors.

3.5 MY SQLMY SQL is a free object-relational database server (database management system), released under a flexible BSD-style license. It offers an alternative to other database systems. It offers an alternative to other open-source database systems (such as MySQL and Firebird), as well as to proprietary systems such as Oracle, Sybase, IBM's DB2 and Microsoft SQL Server.

3.6 ECLIPSEEclipse is an open source community whose projects are focused on providing a vendor-neutral open development platform and application frameworks for building software. Eclipse based tools give developers freedom of choice in a multi-language, multi-platform, multi-vendor environment. Eclipse provides a plug-in based framework that makes it easier to create, integrate and utilize software tools, saving time and money. By collaborating and exploiting core integration technology, tool producers can leverage platform reuse and concentrate on core competencies to create new development technology. The Eclipse Platform is written in the Java language.

System Requirement Specifications:-

1. Introduction The SRS is produced at the culmination of the analysis task. The function and performance allocated to software as part of the system engineering and refined by establishing a complete information description, a detailed functional description, a representation of system behavior, indication of performance requirements and design constrains, appropriate validation criteria and the other information related to requirements. The SRS is technical specification of requirement of Hospital Management system. This specification describes what the proposed system should do without describing how it will do it. It also describes complete external behavior of proposed system.1.1. Purpose:- The main purpose of our system is to make hospital task easy and is to develop software that replaces the manual hospital system into automated hospital management system. This document serves as the unambiguous guide for the developers of this software system.1.2. Scope:- The document only covers the requirement specification for the hospital management system. This document does not provide any references to the other component of the hospital management system. All the external interfaces and the dependencies are also identified in this document.1.3-Definitions, Acronyms, and Abbreviations HMS- Hospital Management System Report -an account of patients Front-desk staff - administrative staff that work at reception deskLogon ID- a user identification number to enter the systemPassword - a word that enables one to gain admission into the systemWeb-based application- an application that runs on the InternetMy SQL- a query language to interrogate the systemGUI- Graphical User InterfaceSRS-Software Requirements Specification

1.5. Reference:-1) An integrated approach to software engineering, Third edition by Pankaj jalote 2) Java Balaguruswamy3) SQL server 2005 JosephL Jordan 1.6. Overview:- Hospital Management System is a process of implementing all the activities of the hospital in a computerized automated way to fasten the performance. This project is to maintain the patient details, lab reports and to calculate the bill of the patient. You can also manually edit any patient details and issue bill receipt to patient within few seconds.

External Interface And Data Flows:

External Interface Requirements:- User display and report format, user command summary

User Interface:- User interface is designed in a user friendly manner and the user, in another end he has to give the order, for that he will interface with keyboard and mouse. Hardware Interface:- 1) OS Windows 7 2) Hard disk 80 GB 3) RAM 1 GB 4) Keyboard Standard QWERTY keyboard for interface 5) Mouse Standard mouse with 2 buttons Software Interface:- 1) Front end Java 2) OS Windows 7 3) Back end MY SQL Communication Interface:- Windows

High level DFD and data dictionary:-BEHAVIORAL DESCRIPTION:

DFD (1 level & 2 levels) The Data flow Diagram shows the flow of data. It is generally made of symbols given below :(1) A square shows the Entity : -

(2)A Circle shows the Process: -

(3)An open Ended Rectangle shows the data store : --

(4)An arrow shows the data flow :-The DFD can be up to several levels. The 0 level DFD states the flow of data in the system as seen from the outward in module.The first level DFD show more detail, about the single process of the 0 level DFDThe second level DFD can show even more details and so on.

Zero Level DFD:

Hospital Management SystemPatientDoctor

First Level DFD:-

E-R DIAGRAM OF PROJECT

FUNCTIONAL AND PERFORMANCE SPECIFICATIONS:-

Functional Requirements:

Doctor module:- In this module we can view the todays doctor on call schedule department-wise .Here we can create the duty plan of doctor and edit or update the duty plan of particular doctor. Here we can add/delete the doctor to particular department. Patient module:- PatientId,Name,Age,Sex,Address,Phone Number,WeightThis module has following 2 sub modules:- Inpatient module:- This sub module is used to store information about patients who were admitted in the hospital on doctors advice. PatientId, Dept depending on disease, Doctor, Room no, Date of admitted, Advance, Date of discharge. Updation like deletion and modification is done. Outpatient module:-

PatientId,New_Case,Old_Case,Date,Deptdependingon disease,Doctor . Updation like deletion and modification is done Lab module:- This module used to store or produce the laboratory reports. PatientId, Weight, Category, Doctor, Inpatient/Outpatient, Date. Updation like deletion and modification is done.

Blood Module:-In this module we ask all people to donate blood in order to save a life.

Billing module:- Inpatient module:- PatientId, doctors charge, health card amount, room bill, medicine bill, total amount, No of days, Service charge, Operation theatre,Nursing care, Lab bill .

Performance Requirements:- The capability of the computer depends on the performance of the software. The software can take any number of input provided the database size is large enough. This would depend on the available memory space.

DESIGN:-

The design document that we will develop during this phase is the blueprint of the software. It describes how the solution to the customer problem is to be built. Since solution to complex problems isnt usually found in the first try, iterations are most likely required. This is true for software design as well. For this reason, any design strategy, design method, or design language must be flexible and must easily accommodate changes due to iterations in the design. Any technique or design needs to support and guide the partitioning process in such a way that the resulting sub-problems are as independent as possible from each other and can be combined easily for the solution to the overall problem. Sub-problem independence and easy combination of their solutions reduces the complexity of the problem. This is the objective of the partitioning process. Partitioning or decomposition during design involves three types of decisions: -Define the boundaries along which to break;Determine into how money pieces to break; and

Identify the proper level of detail when design should stop and implementation should start. Basic design principles that enable the software engineer to navigate the design process suggest a set of principles for software design, which have been adapted and extended in the following list:

Free from the suffer from "tunnel vision." A good designer should consider alternative approaches, judging each based on the requirements of the problem, the resources available to do the job.

The design should be traceable to the analysis model. Because a single element of the design model often traces to multiple requirements, it is necessary to have a means for tracking how requirements have been satisfied by the design model.The design should not repeat the same thing. Systems are constructed using a set of design patterns, many of which have likely been encountered before. These patterns should always be chosen as an alternative to reinvention. Time is short and resources are limited! Design time should be invested in representing truly new ideas and integrating those patterns that already exist.The design should "minimize the intellectual distance" between the software and the problem as it exists in the real world. That is, the structure of the software design should (whenever possible) mimic the structure of the problem domain. The design should exhibit uniformity and integration. A design is uniform if it appears that one person developed the entire thing. Rules of style and format should be defined for a design team before design work begins. A design is integrated if care is taken in defining interfaces between design components.

The design activity begins when the requirements document for the software to be developed is available. This may be the SRS for the complete system, as is the case if the waterfall model is being followed or the requirements for the next "iteration" if the iterative enhancement is being followed or the requirements for the prototype if the prototyping is being followed. While the requirements specification activity is entirely in the problem domain, design is the first step in moving from the problem domain toward the solution domain. Design is essentially the bridge between requirements specification and the final solution for satisfying the requirements.

The design of a system is essentially a blueprint or a plan for a solution for the system. We consider a system to be a set of components with clearly defined behavior that interacts with each other in a fixed defined manner to produce some behavior or services for its environment. A component of a system can be considered a system, with its own components. In a software system, a component is a software module. The design process for software systems, often, has two levels. At the first level, the focus is on deciding which 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 module can be satisfied, is decided. This design level is often called detailed design or logic design. Detailed design essentially expands the system design to contain a more detailed description of the processing logic and data structures so that the design is sufficiently complete for coding.

Because the detailed design is an extension of system design, the system design controls the major structural characteristics of the system. The system design has a major impact on the testability and modifiability of a system, and it impacts its efficiency. Much of the design effort for designing software is spent creating the system design.

The input to the design phase is the specifications for the system to be designed. Hence, reasonable entry criteria can be that the specifications are stable and have been approved, hoping that the approval mechanism will ensure that the specifications are complete, consistent, unambiguous, etc. The output of the top-level design phase is the architectural design or the system design for the software system to be built. This can be produced with or without using a design methodology. A reasonable exit criteria for the phase could be that the design has been verified against the input specifications and has been evaluated and approved for quality.

A design can be object-oriented or function-oriented. In function-oriented design, the design consists of module definitions, with each module supporting a functional abstraction. In object-oriented design, the modules in the design represent data abstraction (these abstractions are discussed in more detail later). In the function-oriented methods for design and describe one particular methodology the structured design methodology in some detail. In a function- oriented design approach, a system is viewed as a transformation function, transforming the inputs to the desired outputs. The purpose of the design phase is to specify the components for this transformation function, so that each component is also a transformation function. Hence, the basic output of the system design phase, when a function oriented design approach is being followed, is the definition of all the major data structures in the system, all the major modules of the system, and how the modules interact with each other. Once the designer is satisfied with the design he has produced, the design is to be precisely specified in the form of a document. To specify the design, specification languages are used. Producing the design specification is the ultimate objective of the design phase. The purpose of this design document is quite different from that of the design notation. Whereas a design represented using the design notation is largely to be used by the designer, a design specification has to be so precise and complete that it can be used as a basis of further development by other programmers. Generally, design specification uses textual structures, with design notation helping in understanding.

Detailed DFDs diagrams:

Context Level DFD

Doctor ModuleCarrier & Job HospitalBlood ModulePatient StatusLab ModuleBill PaymentHOSPITAL MANAGEMENT SYSTEM

DFD For Login Of User

UserRead User Id & PasswordAuthenticate User & LoginOutput Data Base

DFD For Bill Payment

Accountant1. Read the Patient Data & Treatment2. Generate the billPrint BillOutput DevicePatientDATABASE

DFD for Patient Search

Patient1. Read the Data from patient2. Search the patient in patient-ID3. Copy Selected RecordOutput Unit

Database

DATA FLOW DIAGRAM LISTING OF PATIENTS FILEScan Record3 Copy Selected Record

PATIENT1 Read the Bed number2 Select Rcord from Database

Processing6 Copy Selected Record

4 Compute Total

5 Select RecordsProcessing

8 Generate Total List7 Compute Bill

Final OutputOutput

OUTPUT UNIT

To Screen/Printer

DATA FLOW DIAGRAM ADMISSION OF A NEW PATIENT(In-Patient)

PATIENT

1 Admitted

1.1 Display Form

Process FILE

Update Table1.2 Get Details

1.3 Assigning a Doctor Patient Details

1.4 Update

DFD For Searching a Doctors

UserRead theData of Doctor & Specialisation DoctorsWith SpecialtiesCRT Data Base

Structure Diagram:CLASS DIAGRAM:-

Data structures, database and table descriptions

CODING:-

Language Detail:-

INTRODUCTION OF JAVA Java, is a platform independent programming language, which provides developers with the means to create powerful applications, which are very Small in size, platform independent, secure and robust. Java is a general purpose, object oriented programming language developed by Sun Microsystems of USA in 1991.originally called oak by James Gosling, one of the inventors of the language, java was designed for the development of software for consumer electronic device like TVs, VCRs, toasters and such other electronic machines. Not all the languages are suitable to implement the oop concepts easily. Languages that support Oop features include Smalltalk, objective c, c++, Ada, objectpascal. C++,an extension of c language, is the most popular oop language today. C++ is basically a procedural language with object oriented extension. The latest one Added to this list is java, a pure object oriented language.The growth of java during the last few years has been phenomenal. It has now emerged as the language of choice of the world computing community due to its simplicity, portability and security. Java the only pure object oriented language available today, is now used in almost all applications from simple home appliances control systems to complex space control systems. It has also revolutionarys applications development for intranets and internet.Java motto is Write once run anywhere ". In order to accomplish this, java has undergone many improvements and enhancements during these years of growth and popularity, primary to add new capabilities required for the internet applications. JAVA HISTORY Java is general purpose, object-oriented programming language developed by Sun Microsystems ,Orignally called Oak by James Gosling,one of the inventors of the language. Java was designed for the development of software for consumers electronics machines. This goal had a strong impact on the development team to make the language simple,portable and highly economical. The java team which included Patrick Naughton discovered that the existing language like C and C++ had limitations in term of both reliabilityand portability. however they modeled Java on C and C++ but removed a number of features that were considered as source of problems and thus made java a really simple,reliable,portable,and powerful language.

JAVA MILESTONES 1990 Microsystems decide to develop special software that could be used to manipulate consumer electronic devices.

1991 After exploring the possibility of using the most popular object oriented C++, the team announced a new language Oak.

1992 Team known as Green Project team by Sun demonstrated the application of their new language.

1993 The WWW appeared on the internet and transformed the text based internet in to a graphical rich environment.

1994 The team developed a web browser called Hot Java to locate and run applet programs on internet.

1995 Oak was renamed Java due to some legal snags. Java is just a name and not an acronym. Many popular companies announced their support to java.

JAVA FEATURES

Java is the most exciting thing to hit the Internet because Java can deliver what everyone on the Internet has been clamoring for -True Interactivity.First of all java is a programming language. Language is used to compose a set of instructions, which a computer obeys. These groups of instructions are called programs or in the case of java programs for the WEB,APPLET,and SERVLETS. The Main Features Of Java Are Listed Below

Compile and Interpreted Platform Independent and Portable Object Oriented Robust and Secure Multithreaded and Interactive Dynamic and Extensible Language of Web

Compiled and interpreted: - Java combines both these approaches thus making java a two stages system. First, java compiler translates source code into byte code instructions. Byte codes are not machine instructions. Secondly, Java interpreter generates machine code that can be directly executed by the machine that is running the java program.

Platform-Independent and Portable:-Java programs can be easily moved from one computer system to another, anywhere and anytime. Changes and upgrades in operatingsytems, processors and system resources will not force any changes in java programs. We can download a java applet from a remote computer on to our local system via internet and execute it locally. Java ensures portability in two ways. First java compiler generates byte code instructions that can be implemented on any machine. Secondly the sizes of primitive data types are machine independent.

Object Oriented:-Java is a true object oriented programming language.Almost everything in java has an object. All program code and data resides within object and classes. Java comes with an extensive set of classes, arranged in package that we can use in our programs by inheritance. The object model in java is simple and easy to extend.

Robust and Secure:-Java is a robust language. It provides many safeguards to ensure reliable code. It has strict compile time and run time checking for data types. It is designed as garbage collected language relieving the programmers virtually all memory management problems.Security becomes an important issue for a language that is used For programming on internet. Threat of viruses and abuse of resources is everywhere. Java systems not only verify all memory access but also ensure that no viruses are communicated with an applet. Distributed:- Java is designed as a distributed language for creating applications on networks. It has the ability to share both data and programs. Java applications can open and access remote objects on internet as easily as they can do in a local system.

Simple, Small and Familiar: - Java Is Simple and small language.Because java is different from c and c++ in many ways. Java does not include The unique statement keywords goto, sizeof and typedef. Java does not support operator overloading. Java does not support an explicit pointer type etc. Familiarity is another striking feature of java. Because java uses many constructs c and c++ and therefore, java code looks like c++ code. Thus java is a simplified version of c++. Multithreaded and Interactive: - Multithreaded means handling Multiple tasks simultaneously. Java supports multithreaded programs. This means that need not wait for the application to finish one task before beginning another. For example we can listen to an audio clip while scrolling a page and at the same time download an applet from a distant computer. This feature greatly improves the interactive performance of graphical applications.

High Performance: - Java performance is impressive for an interpreted language. According to sun, java speed is comparable to the native c/c++.The Incorporation of multithreading enhances the overall execution speed of java programs.

Dynamic and Extensible:-Java is a dynamically language. Java is capable of dynamically linking in new class libraries, methods and objects. Java programs supports functions written in other languages such as c and c++. These functions are known as native methods. Native methods are linked Dynamically at runtime.

Platform neutral language:-Java is a platform neutral language because java is the first language that is not tied up to in particular hardware and operating system. Programs developed in java can be executed anywhere on any system.

Characteristics of JavaThe target of Java is to write a program once and then run this program on multiple operating systems.Java has the following properties: Platform independent: Java programs use the Java virtual machine as abstraction and do not access the operating system directly. This makes Java programs highly portable. A Java program which is standard complaint and follows certain rules can run unmodified on all supported platforms, e.g. Windows or Linux. Object-orientated programming language: Except the primitive data types, all elements in Java are objects. Interpreted and compiled language: Java source code is transferred into the byte code format which does not depend on the target platform. These byte code instructions will be interpreted by the Java Virtual machine (JVM). The JVM contains a so called Hotspot-Compiler which translates performance critical byte code instructions into native code instructions. Automatic memory management: Java manages the memory allocation and de-allocation for creating new objects. The program does not have direct access to the memory. The so-called garbage collector deletes automatically objects to which no active pointer exists.

TECHNOLOGIES USED:- Java Server Pages (JSP): Java Server Pages technology is the Java platform technology for building applications containing dynamic Web content such as HTML, DHTML and XML. The Java Server Pages technology enables the authoring of Web pages that create dynamic content easily but with maximum power and flexibility.The Java Server Pages technology offers a number of advantages: Write Once, Run Anywhere properties:The Java Server Pages technology is platform independent, both in its dynamic Web pages, its Web servers, and its underlying server components. You can author JSP pages on any platform, run them on any Web server or Web enabled application server, and access them from any Web browser. You can also build the server components on any platform and run them on any server. High quality tool support The Write Once, Run Anywhere properties of JSP allows the user to choose best-of- breed tools. Additionally, an explicit goal of the Java Server Pages design is to enable the creation of high quality portable tools. Separation of dynamic and static content The Java Server Pages technology enables the separation of static content from dynamic content that is inserted into the static template. This greatly simplifies the creation of content. This separation is supported by beans specifically designed for the interaction with server-side objects. Support for scripting and actionsThe Java Server Pages technology supports scripting elements as well as actions.Actions permit the encapsulation of useful functionality in a convenient form that can also be manipulated by tools; scripts provide a mechanism to glue together this functionality in a per-page manner. JSP architectureJSPs are built on top of SUNs servlet technology. JSPs are essential an HTML page with special JSP tags embedded. These JSP tags can contain Java code. The JSP file extension is .jsp rather than .htm or .html. The JSP engine parses the .jsp and creates a Java servlet source file. It then compiles the source file into a class file; this is done the first time and this why the JSP is probably slower the first time it is accessed. Any time after this the special compiled servlet is executed and is therefore returns faster. Java Script JavaScript is a programming language that allows scripting of events, objects, and actions to create Internet applications. A website development environment that will allow the creation of Interactive Web Pages. The coding techniques capable of accepting a client's requests and processing these requests. The web site development environment should also provide the facility for 'validating' user input. With JavaScript, forms are a consideration in nearly every page you design. Capturing user requests is traditionally done via a 'form'. So the web site needs to have facilities to create forms. Text fields and text areas can dynamically change in response to user responses.

Introduction to My SQL:- My SQL, the most popular Open Source SQL database management system, is developed, distributed, and supported by Oracle Corporation. The My SQL (R) software delivers a very fast, multi-threaded, multi-user, and robust SQL (Structured Query Language) database server. My SQL Server is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software. The My SQL software is Dual Licensed. Users can choose to use the My SQL software as an Open Source/Free Software product under the terms of the GNU General Public License or can purchase a standard commercial license. My SQL is a relational database management system.A database is a structured collection of data. It may be anything from a simple shopping list to a picture gallery or the vast amounts of information in a corporate network. To add, access, and process data stored in a computer database, you need a database management system such as My SQL Server. Since computers are very good at handling large amounts of data, database management systems play a central role in computing, as standalone utilities, or as parts of other applications. My SQL software is Open Source.A relational database stores data in separate tables rather than putting all the data in one big storeroom. This adds speed and flexibility. The SQL part of My SQL stands for Structured Query Language. SQL is the most common standardized language used to access databases and is defined by the ANSI/ISO SQL Standard. The

SQL standard has been evolving since 1986 and several versions exist.

The SQL Database Server is very fast, reliable, and easy to use.My SQL Server was originally developed to handle large databases much faster than existing solutions and has been successfully used in highly demanding production environments for several years. Although under constant development, My SQL Server today offers a rich and useful set of functions. Its connectivity, speed, and security make My SQL Server highly suited for accessing databases on the Internet.

My SQL Server works in client/server or embedded systems.The My SQL Database Software is a client/server system that consists of a multi-threaded SQL server that supports different back ends, several different client programs and libraries, administrative tools, and a wide range of application programming interfaces (APIs). My SQL Server also provides an embedded multi-threaded library that you can link into your application to get a smaller, faster, easier-to-manage standalone product. A large amount of contributed My SQL software is available. My SQL uses a standard form of the well-known SQL data language. My SQL works on many operating systems and with many languages including PHP, PERL, C, C++, JAVA etc. My SQL works very quickly and works well even with large data sets. Enables you to implement a database with tables, columns, and indexes. Updates the indexes automatically. Interprets an SQL query and combines information from various tables.

Software Requirements JDK 1.7 MYSQL JAVA ECLIPSE Being the platform independent language to generate the user-friendly Software system is used as Front-end system and MYSQL as Back-end database system, this will facilitate user in operating the system successfully.A platform is the hardware or software environment in which a program runs. We've already mentioned some of the most popular platforms like Windows 2000/XP, Linux, Solaris, and Mac OS. Most platforms can be described as a combination of the operating system and hardware. The Java platform differs from most other platforms in that it's a software-only platform that runs on top of other hardware-based platforms.The Java syntax is similar to C++. Java is case sensitive, The Java platform has two components: The Java Virtual Machine (Java VM) The Java Application Programming Interface (Java API)

Home.jsp

Hospital Management System

&nbsp&nbspRG HOSPITAL
Trust Your Health With Us24 HOURS EMERGENCY &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspHELPLINE : 1800-111-8484

  • Home
  • About Us
  • Login

Career Contact UsFeedback Logout Copyright Hospital RG GROUPSAll Rights Reserved

AboutUs.jsp

About Us


&nbsp&nbspRG HOSPITAL
Trust Your Health With Us

Home About UsLoginCareer Contact Us Feeback Logout

About UsThe RG Group has four NABH accredited tertiary care hospitals. One of the flagship hospitals is located in Panchkula, Indore, Jaipur, Chennai.With four leading-edge hospitals and a strong network of physicians, RG Hospital upholds a longstanding tradition of bringing advanced medicine and personal care to the people it serves.

RG Hospital is committed to build on the core principles of quality, safety and clinical excellence with the promise of bringing quality healthcare at cost-effective prices for people of India.Here at Alchemist, we make every effort to ensure that the healthcare system and those working within it are devoted to work ethics and patient interest.

Patients are the focus of everything we do. We strive to foster an environment that delivers patients the best experience on their pathway from diagnosis to treatment. Our dedication to bring you the best in healthcare means we attract most distinguished consultants and recruit expertly skilled medical staff. Our insistence on furnishing the hospitalwith latest technology has allowed us to speed up diagnosis, increase veracity and strive for the very best health results for our patients.

Our Vision RG group of hospitals aspires to be the most preferred healthcare organization for customers and employees by:-

1. Offering affordable, transparent and World Class services.

2. Developing synergetic relationship between management & employees.

Our Mission

  • Provide best healthcare services by highly qualified and trained personal so that the patients get cared & cured.



Our Quality Norms

  • * Care, Compassion & Courtesy.
    * Community health provider patient centric care with value for money to all sections of society.
    * Timely intervention.
    * Effectiveness: Sharing Knowledge & best practices.
    * Efficiency: never ending improvements.
    * Maintenance of high standard of hygiene and cleanliness.
    * Best quailty patient care.
    *Judicious use of drugs and appropriate interventions.
    *Compliance with the highest standards of medical ethics.
    *Continuous skill up gradation and keeping abreast of the latest development.
    *To carry out all processes right the first time, on time and every time.




Login.jsp

Login jsp File

/***************Start login**************/#login{width:1200px;min-height:40px;float:left;font-weight:bold;margin-top:30px;}

#login-content{width:1200px;min-height:300px;float:left;background:white;

}

#loginimg{width:1200px;min-height:300px;float:left;

}

#loginimg - wrapper{width:1200px;min-height:300px;margin:0px auto;background:white;}

.leftsecl{width:300px;float:left;margin-top:10px;margin-bottom:30px;margin-left:280px;min-height:300px;}

.leftsecl img{width:280px;float:left;margin:0px 0px;

}

.right_secl {background: #dfdfdf none repeat scroll 0 0;border-radius: 5px;float: right;margin-bottom: 30px;margin-right: 280px;margin-top: 10px;min-height: 250px;padding: 15px;width: 310px;}.right_secl h3{font-size:20px;text-align:center;margin-bottom:20px 0px;/*border-bottom:solid 1px;*/padding-bottom:10px 0;}

.login_field{float:left;width:92%;margin:4%;

}

.right_secl label {float: left;font-size: 14pxs;margin-left: 0;}

.right_secl input {border: 1px solid;border-radius: 4px;float: left;font-size: 14px;margin-top: 10px;padding: 4px;width: 92%;}

select {border: 1px solid;border-radius: 4px;margin-top: 12px;padding: 4px;width: 98%;}

.submit {background: midnightblue;border: 1px solid;color: #fff;float: right !important;padding: 7px !important;margin-top: 15px;}

.login_btn {background: midnightblue;color: white;float: left;font-size: 16px;font-weight: bold;margin: 10px;padding: 4%;text-align: center;text-decoration: none;width: 84%;}

.forgot {color: black;float: right;font-size: 14px;margin: 10px;padding: 5px;text-decoration: none;}

.forgot :hover{text-decoration:underline;}

/***************End login**************/

function valid(){

var name=document.myform.username.value;var pass=document.myform.password.value;

if(name==""){alert("User Name cannot be empty");return false;}

if(pass==""){alert("Password cannot be empty");return false;}

}

Login Here

Username :

Password :

Forget Password

LoginResult.jsp

Insert title here

Login1.jsp

Insert title here

{margin:0px;padding:0px;font-family:open sans;}

#container{width:100%;height:auto;float:left;background:white;}

#wrapper{width:1200px;height:auto;margin:0px auto;background:white;}

#header{width:1200px;height:100px;float:left;background:white;

}

#left{width:490px;height:100px;float:left;margin-left:10px;margin-top:10px;}

#left{width:440px;height:100px;float:left;margin-left:10px;margin-top:5px;}

#right{width:250px;height:100px;float:left;

}#right h3{float:right;color:white;padding-top:30px;padding-right:10px;

}

#menu{width:1200px;height:40px;background:midnightblue;float:left;}

#menu ul{float:left;margin:0px;padding:0px;}

#menu ul li{float:left;list-style:none;width:150px;height:40px;text-align:center;

}#menu ul li a{text-decoration:none;color:white;font-size:16px;height:30px;border-radius:15px;padding-top:8.5px;width:150px;display:block;

}

#menu ul li a:hover{background:Crimson;color:black;

}

#menu ul li ul{padding:0px;margin:0px;float:left; height:auto;width:150px;position:absolute;z-index:99;display:none;}

#menu ul li:hover ul{display:block;}

#menu ul li ul li{height:30px;width:150px;background:Silver;}

#menu ul li ul li a{height:30px;width:150px;display:block;}#content1{float:left;width:1200px;

margin: 0px 0px;background:white;}

.leftsec{float:left;width:600px;height:auto;}.rightsec{float:right;width:600px;margin:0px 0px;background:white;

}

.rightsec img{float:right;width:600px;height:auto;

}

function valid(){var firstname=document.myform.firstname.value;var lastname=document.myform.lastname.value;var username=document.myform.username.value;var password=document.myform.password.value;var address=document.myform.address.value;var contact=document.myform.contact.value;var email=document.myform.email.value;var expression=/^[0-9]+[a-z]+$/;if(firstname==""){alert("First name should not be empty");return false;}if(lastname==""){alert("Last name should not be empty");return false;}if(username==""){alert("Username should not be empty");return false;}if(!password.match(expression)){alert("password only in digits");return false;}if(address==""){alert("Address should not be empty");return false;}if(contact==""|| contact.length>10){alert("contact should not be empty");return false;}if(email==""){alert("email should not be empty");return false;}}

&nbsp&nbspRG HOSPITAL
Trust Your Health With Us