Professional Documents
Culture Documents
Muhammad Mudassir HMS
Muhammad Mudassir HMS
Project Report
Hospital Management System (Windows Form Application)
Submitted by
Muhammad Mudassir
BSTT-LD_17_62
2017-2021
Supervised by
Sir Muzammil Mahboob
1
Project Report
FINAL APPROVAL
2
Project Report
It is certified that the project submitted by Muhammad Mudassir Roll No. BSTT-17-62
session (2017-2021) is up to standard.
Supervisor:
______________________
3
Project Report
Lecturer
External Examiner:
______________________
_____________________________
Dedication
To our parents, teachers and all of the people who prayed for us. A special
feeling of gratitude to my loving parents; I also dedicate this dissertation to my
friends and family who have supported me throughout the process.
4
Project Report
Declaration
I hereby declare that this Project Report titled “Hospital Management System” submitted to
the Department of Information Technology BZU Sub Campus Lodhran is a record of
Original work done by me under the guidance of my supervisor Sir Muzammil Mahboob,
This Project Report is not submitted to any other university or institution for the award of any
degree, diploma or published any time before. I also declare that there have no copy of the
source code in the project.
…………………………………..
Muhammad Mudassir
Submission Date:
5
Project Report
ACKNOWLEDGMENTS:
With the blessings of Almighty Allah and prayers of our parents I have made this attempt to achieve
the goal that was set for me to complete the MIT degree. Although the project was complex and
complicated, I put my maximum effort to fulfill the goal.
I deeply indebted to our teachers and special gratitude to our final year project supervisor,
Muzammil Mehboob Shb whose guidance, suggestion and encouragement remained a continuous
source of inspiration for us throughout the entire course of project.
I wish to seize this opportunity to thanks all our friends, who very patiently guided us through all the
stages of the project with regard to system support. Finally a special thanks to our parents, friends and
our family for their prayers, unending support and encouragement during the course of a long and
tedious struggle to accomplish the work in time.
___________________________________________________________________
Roll# BSTT-LD_17_62
6
Project Report
Project Name:
Organization:
Public
Undertaken By:
Muhammad Mudassir
Internal Supervisor:
Starting Month:
Jan 2022
Completion Month:
March 2022
MySQL Database
Operating System
Window 10
Machine Used:
7
Project Report
Contents
Project Report........................................................................................................................................
Declaration.............................................................................................................................................
Chapter # 01: INTRODUCTION....................................................................................................12
1.1 Introduction:............................................................................................................................12
1.2 Problem Introduction................................................................................................................12
1.3 Scope of the Project...................................................................................................................13
1.4 Objective....................................................................................................................................14
1.5 Goals..........................................................................................................................................14
Chapter 2..............................................................................................................................................
System Requirement Analysis..............................................................................................................
2.1 System Analysis:.......................................................................................................................16
2.2 Analysis of the Exiting System:...................................................................................................16
2.3 Understanding the System:.......................................................................................................16
2.4 Proposed System:......................................................................................................................16
2.5 Data Analysis:............................................................................................................................17
2.6 Feasibility Study.........................................................................................................................17
2.6.1 Technical Feasibility...........................................................................................................17
2.6.2 Economic Feasibility...........................................................................................................18
2.6.3 Operational Feasibility.......................................................................................................18
2.7 The Proposed System................................................................................................................18
2.7.1 Advantages of Computerized System................................................................................18
2.7.2 Objectives of the Proposed System...................................................................................19
Chapter 3..............................................................................................................................................
System Design3.1 Introduction to System Design..........................................................................21
3.2 Visual Representation using UML:.............................................................................................21
3.3 Use Case Diagrams.....................................................................................................................22
3.3.1 Use case Relationships.......................................................................................................22
3.3.2 Elements of Use Case Diagram..........................................................................................22
Use Case Diagram of Admin/User....................................................................................................24
8
Project Report
9
Project Report
Department Information.................................................................................................................59
Room Information...........................................................................................................................60
Doctor Information..........................................................................................................................61
Register New Patient.......................................................................................................................62
Register Checkup.............................................................................................................................63
Search Patient..................................................................................................................................64
Search Doctor..................................................................................................................................65
Chapter 6 Conclusion............................................................................................................................
6.1 Conclusion.................................................................................................................................67
6.2Future work................................................................................................................................67
References...........................................................................................................................................
10
Project Report
Chapter 1
Introduction
11
Project Report
The project Hospital Management system includes registration of patients, storing their
details into the system, and also computerized billing in the pharmacy, and labs. The software
has the facility to give a unique id for every patient and stores the details of every patient and
the staff automatically. It includes a search facility to know the current status of each room.
User can search availability of a doctor and the details of a patient using the id.
The Hospital Management System can be entered using a username and password. It is
accessible either by an administrator or receptionist. Only they can add data into the database.
The data can be retrieved easily. The interface is very user-friendly. The data are well
protected for personal use and makes the data processing very fast.
Hospital Management System is powerful, flexible, and easy to use and is designed and
developed to deliver real conceivable benefits to hospitals.
Hospital Management System is designed for multispecialty 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 hospital 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.
12
Project Report
The information is very difficult to retrieve and to find particular information like- E.g. - To
find out about the patient’s history, the user has to go through various registers. This results
in in convenience and wastage of time.
All this work is done manually by the receptionist and other operational staff and lot of papers are
needed to be handled and taken care of. Doctors have to remember various medicines available for
diagnosis and sometimes miss better alternatives as they can’t remember them at that time.
13
Project Report
The proposed software product is the Hospital Management system (HMS). The system will be used
in any hospital, clinic, dispensary or pathology labs. Clinic, dispensary or pathology to get the
information from the patients and then storing that data for future usages. The current system in
use is a paper based system. It is too slow and cannot provide updated lists of patients within
reasonable timeframe.
1.4 Objective
The intention of the system is to reduce over-time pay and increase the number of patients that can be
treated accurately. Requirement statements in these documents are both functional and non-functional
1) Define hospital
2) Recording information about the Patients that come.
3) Recording information related to diagnosis given to Patients.
4) Keeping record of the Immunization provided to patients.
5) Keeping information about various diseases and medicines available to cure them.
These are the various jobs that need to be done in a Hospital by the operational staff and
Doctors. All these works are done on papers.
1.5 Goals
1-User friendly
2-Simple fast
5- Diagnosis
14
Project Report
Chapter 2
System Requirement Analysis
15
Project Report
16
Project Report
provided in an efficient, cost effective manner, with the goal of reducing the time and
resources currently required for such tasks.
System Requirements:
The purpose of gathering and analyzing the data is to establish the system requirements
because the design of the new system will be based on these requirements. Requirement
analysis provides the software designer with a model of:
System Information
Function
Behavior
Technical
Economical
Operational
17
Project Report
Through this system admin can add products, approve online request, add category, add
brands, view products, view brands, update category, customers and manage expense
information efficiently.
18
Project Report
Data Security:
The data required for decision-making is highly sensitive and valuable. Therefore the
proposed system will be secure and provides the options of password for data security.
Accuracy:
The new system will provide accurate and error free results. In this way, it ensures accuracy
and efficiency. It will ensure accurate record keeping.
Acceptability:
The new system should be acceptable for the store owner. It should satisfy the deficiencies of
existing system.
Reliability:
The new system is more reliable than existing one due to its accuracy and security, so that
timely decisions may be possible.
Flexibility:
The system allows changes and amendments to incorporate future requirements of the
management.
User Friendly:
No doubt, users want a system, which provides them user interface. The system will be as
much user friendly as possible so that the user could communicate with the system through
simple conversation. No specialized computer staff will be required.
Productivity:
Significant reduction of clerical staff will lead too much improved staff productivity.
Performance:
19
Project Report
The proposed system should reduce the time and efforts required to retrieve information. It
should have the capability to answer various queries instantly and efficiently.
The proposed system controls redundancy. This means the files are designed in such a way
that minimum data is duplicated in the files.
Comprehensive Database:
Time Factor:
Time is important factor in decision-making. The higher authorities require quick response to
their questions because decisions are based on updated information. The proposed
computerized system is too fast than old manual system.
Efficiency:
The proposed system will be more efficient than existing system because proposed system is
not time consuming. Efficiency is the degree to which we maximize of resources for
achieving an object or goal.
Ease of Operation:
Menu driven facility in main form and command button in other form makes it very easy to
operate the proposed system. Screen guides the operator through the system to provide the
required task.
20
Project Report
Chapter 3
System Design3.1 Introduction to System Design
System design lies at the core of the software engineering process and is applied regardless of
the software process model that is sued for development. Design simulation serves at the
foundation in the computer based development is a time consuming task. Beginning from
computer based system requirement analysis, system design is the first of three technical
activities i.e. design, code generation and test that are required to build and verify the validate
computer based system. The major goals of the design phase are creation of a system that
provides certain predefined functions, reliability of the system, flexibility, maintainability,
efficiency and security. After the comprehensive study of existing system, the developer
designs a system, which fulfills the requirements of the organization. The design of the
project is user friendly. The names of database tables and fields are simple and easy to
understand. In database design, database tables and fields are developed after careful
consideration of existing system to avoid redundancy and the errors. Any user can easily
understand the system. System provides the security to prevent illegal access. An interface
applies the flow of information. This phase deals with the design of system which consists of
following design consideration:
Software design
Database Design
User Interface Design
A use case modeling language (UML) allows a software engineering express an analysis
modeling that is governed set of syntactic, semantic pragmatic rules.
21
Project Report
UML is a standard that has been adopted by the majority of the industries as well as the
standards governing boards such as ANSI and Object Management Group (OMG). UML
allows people to develop several different types of visual diagrams that represent various
aspects of the system. The diagrams which we discuss are as follows:
This description does not represent individual steps in the process but represents the high
level process itself.
22
Project Report
1. Actor
2. Use case
Actor
An actor represents a user or another system that will interact with the system you are modeling.
Use Case
A use case is the external view of the system that represents some action that user might perform in
order to complete a task.
23
Project Report
24
Project Report
Actors and objects are showed at the top of the diagram. Each arrow represents a message
pass between actor and object or object and object to perform the required function.
25
Project Report
26
Project Report
27
Project Report
The class diagram is the main building block of object-oriented modeling. It is used for
general conceptual modeling of the structure of the application, and for detailed modeling,
28
Project Report
translating the models into programming code. Class diagrams can also be used for data
modeling. The classes in a class diagram represent both the main elements, interactions in the
application, and the classes to be programmed.
In the diagram, classes are represented with boxes that contain three compartments:
The top compartment contains the name of the class. It is printed in bold and centered, and
the first letter is capitalized.
The middle compartment contains the attributes of the class. They are left-aligned and the
first letter is lowercase.
29
Project Report
30
Project Report
The data is stored in computers in tables and databases; so far an accurate and free from
anomalies system, table designing is of key importance. Database designing is further sub
divided into two parts:
Logical database structures that were developed during logical design. The database
design structures may be expressed as hierarchal, network and relational data models.
User processing requirements that were identified during requirement definitions,
including size and frequency of use of the database and requirements for each of the
following:
o Response time
o Security
o Backup
o Relation of data
Characteristics of the database management system (DBMS) and other components of
the computer operating environments.
31
Project Report
3.9 Database:
A database is collection of data, which is organized in such a way that each piece of data is
available to those who need it and with minimum duplication of data.
Advantages of database
Constraints
Normalization:
The process of finding stable set of relations that is faithful model of the enterprise is known
as normalization. By following the principles of normalization we can achieve a design that is
highly flexible, allowing the model to be extended when needed to account for new
attributed, entity sets and relationship. We can also reduce redundancy in the database and
ensure that the design is free of certain updates, insertion and deletion anomalies. An
anomaly is an inconsistent, incomplete, or contra dictionary state of the database. If these
anomalies were present, we would be unable to represent some information, we might lose
32
Project Report
information when certain updates were prepared, and we would run the risk of having data
become inconsistent over time.
33
Project Report
Bottom up approach
In this approach, we take the information from the business. Then on the basis of business
rules, we group them into a group of tables having certain relationship with one another
through normalization process. But by using this approach, keeping large organization in
view is quite tedious and somewhere impractical, where there are thousands of attributes. The
drawback of this approach is that we just ignore the grouping given by the business.
Mixed approach
Here we start with top down design by taking the logical grouping given by the business.
Then we use normalization to take that grouping into a form which matches new system
requirements. We have used mixed approach for our database design.
Login Details
Department
Rooms
All Doctors
Doctors Regular
Doctor On Call
Patient Entry
Patient Checkup
Regular Patients
Operated Patients
Admitted Patients
Patient Discharged
34
Project Report
35
Project Report
36
Project Report
37
Project Report
38
Project Report
39
Project Report
40
Project Report
41
Project Report
42
Project Report
43
Project Report
Chapter 4:
System Implementation & Development
44
Project Report
System Testing
This is applied on the software to ensure that the software has been operated according to its
desired requirements or not. In case of software failure, all necessary changes have to be done
in software in order to get required results. This test checks the size and structure of the data
fields using actual data and also the flow of test data.
Unit Testing
In unit testing, each and every module of the software is tested independently form the other
using test data. This test is actually conducted to find errors like calculations, data formats,
I/O, comparisons and so forth.
Internal system design is not considered in this type of testing. Tests are based on
requirements and functionality.
This testing is based on knowledge of the internal logic of an application’s code. Also known
as Glass box Testing. Internal software and code working should be known for this type of
testing. Tests are based on coverage of code statements, branches, paths and conditions.
Internal Integration Testing:
It is the bottom up approach for testing i.e. continuous testing of an application as new
functionality is added. Application functionality and modules should be independent enough
to test separately done by programmers or by testers.
Parallel Running
In this method the new system and old system are running side-by-side. This method, I
believe that new software contains bugs, which came to know when real and massive data is
inserted into the database.
Pilot Running
In this method the new system is run for a part of the installation.
46
Project Report
In this method the new computerized system is introduced and old system simultaneously
abandoned.
Phased Conversion
This term often used interchangeably with ‘stress’ testing and ‘load’ testing to check whether
system meets performance requirements. It requires use of different performance and load
tools.
Usability Testing:
It is the user friendliness testing of the application. Here application flow is tested. We have
to check either the new user understand the application easily or not. We also check here that
either the proper help is documented whenever the user stuck at any point or not. Basically
we check the system navigation in this testing.
Testing Strategies
There are two strategies adopted mostly for the system testing, which are as follows:
1. Code Testing
2. Specification Testing
Code Testing
In code testing, the logic of the entire software has been tested and results are checked in time
and again to ensure 100% success during its run.
Specification Testing
47
Project Report
In this strategy, first the software specification is examined as what the software should do
and how should it do under various conditions. Then different test cases have been developed
and each of them is applied to confirm the performance of the requirements.
C# is fastest and easiest way to create application for Microsoft Windows. Whether you are
an experienced professional or new to windows programming. C# provides you a complete
set of tools to develop simple rapid application.
The “VISUAL” part refers to the method used to create the graphical user interface rather
than writing numerous lines of code to describe the appearance and location of the interface
elements. The “BASIC” part refers to BASIC (Beginner’s All Purpose Symbolic Instruction
Code) language, a language used by more programmers than other languages in the history of
computing.
The Microsoft C# product has always been about providing a state-of-the-art Agile unified
process environment for Microsoft Windows. With the release of C# 3.5, the C# product
family has added functionality at the very highest level of the developer workspace, fully
supporting the development of enterprise-wide, line-of-business applications in a
programming environment that literally millions of developers have mastered.
48
Project Report
49
Project Report
Chapter 5
User Guide
50
Project Report
51
Project Report
52
Project Report
Login
53
Project Report
54
Project Report
Main Menu
55
Project Report
Department Information
56
Project Report
All Information Off The Department,Location And About The Facilities Which
Are Provided.
Room Information
57
Project Report
Doctor Information
58
Project Report
59
Project Report
Register Checkup
60
Project Report
Search Patient
61
Project Report
Search Doctor
62
Project Report
Chapter 6 Conclusion
63
Project Report
6.1 Conclusion
The project Hospital Management System (HMS) is for computerizing the working in a
hospital. The software takes care of all the requirements of an average hospital and is capable
to provide easy and effective storage of information related to patients that come up to the
hospital.
6.2Future work
Since we are entering details of the patients electronically in the” Hospital Management
System”, data will be secured. Using this application we can retrieve patient’s history with a
single click. Thus processing information will be faster. It guarantees accurate maintenance
of Patient details. It easily reduces the book keeping task and thus reduces the human effort
and increases accuracy speed.
64
Project Report
References
BOOKS
Websites
https://docs.microsoft.com/
www.Youtube .com
65