Professional Documents
Culture Documents
Hospital Management System Final Documentation Report PDF
Hospital Management System Final Documentation Report PDF
TECHNOLOGY
This project is submitted in partial fulfillment of the requirements for bachelor of science in
Information Technology.
Date submitted..
YEAR 2011.
CO25-O630/09.
-2-
Declaration.
This research project which is my original work has not been presented for a bachelor of science
in any other university.No part of ths project may be reproduced may be reproduced without the
prior eprmission of the author and /or KUCT.
.. ..
Declaration by supervisor
This project has been submitted for examination with my approval as University Supervisor.
Sign
CO25-O630/09.
-3-
ACKNOWLEDGEMENT
The satisfaction that accompanies that the successful completion of any taskwould be incomplete
without the mention of people whose ceaselesscooperation made it possible, whose constant
guidance and encouragement crown all efforts with success.
Iam grateful to our project guide Mr. George Musumba for the guidance, inspiration and
constructive suggestions that helpful us in the preparation of this project.
I also thank my colleagues who have helped in successful completion of the project.
CO25-O630/09.
-4-
ABSTRACT
This project is related to a hospital management system.it maintains records of all the operations
that occur at any of the medical center in public institutions.it maintains two level of
users,administrator level and the user level.the administrator lever encompasses the nurses and
the doctors while the user level includes the receptionist. The administrators are able to perfom
operations on more sensitive and confidential documents /modules that contains different
information about students and staff to ensure confidentiality. The modules include
laboratory,treatment,consultation and medicine stock modules.The user level is able to manage
other modules such as registration and report generation for stock of medicine and staff reports.
The system enables registration of new students,staff,nurses and doctors at the reception level .
The current diagnosis details of a patient are recorded in the consultation which are retrieved as
previous details upon the subsequent visit.the patient either proceeds to the treatment room o ther
to the laboratory depending on the doctord decision in the consultation room .in the
laboratory,results are recorded in the laboratory module which are retrieved in the treatment
room through appropriate search methods and the patient treated accordingly. Wrong
medications are detected at this point since,since the doctor enters his identification number.
User requirements and other system specifications were collected through observation and
interview methods where repondents were able to specify what was needed particularly.The
current system is not in any way computerized as per the results from the collected data.
CO25-O630/09.
-5-
TABLE OF CONTENTS
Title page...1
Declaration ...2
Acknowledgement ....3
Abstract..4
Chapter one..8
1.1 Background ..8
1.2 Problem statement.8
1.3 Problem solution9
1.4 Project objectives9
1.5 Limitations of the current system10
1.6 Benefits of the proposed system10
1.7 Limitation of the proposed system.11
1.8 Scope of the system.11
Chapter two..13
Literature Review13
Chapter Three..14
System analysis..14
3.1 Data collection..14
3.1.1Tools and Techniques...14
Primary sources.14
Secondary sources .14
Interviews ..14
Observations..14
Questionaires15
Data analysis.15
CO25-O630/09.
-6-
3.2.2Summary of findings16
3.3Requirements analysis16
Chapter four.18
4.1 Introduction..18
Chapter five
5.1Schedule..21
CO25-O630/09.
-7-
Chapter six24
System testing24
6.1 introduction..24
6.3.3usability testing..26
Chapter seven..27
Recommendation 27
Conclusion27
Chapter eight28
Appendix..28
System screen shots28
Sample code..33
Project budget41
References 43
CO25-O630/09.
-8-
CHAPTER. 1
INTRODUCTION
1.1 BACKGROUND
Normally the patients who are the students and the staff present identification cards at the
reception which are checked to verify whether they have their records or files there. Ifnot ,a new
file is created containing the staff identification details and in which future consultation details
will be recorded.
If the file is already there, the patient is asked to go to the consultation room where he or she is
diagnosed and the details recorded in the patients file. The patient is either referred to the
laboratory or treatment room for tests and medication respectively depending on the situation.
The maintenance of records of these students and staff is manual. The file for each patient is kept
and is retrieved upon the subsequent visit.
Normally the patients who are the students and the staff present identification cards at the
reception which are checked to verify whether they have their records or files there. If not ,a
new file is created containing the staff identification details and in which future consultation
details will be recorded.
If the file is already there, the patient is asked to go to the consultation room where he or she is
diagnosed and the details recorded in the patients file. The patient is either referred to the
laboratory or treatment room for tests and medication respectively depending on the situation.
BARAZA LYANDA PETER.
CO25-O630/09.
-9-
Due to the increasing number of students and staff as the university expands to a fully-fledged
university,several problems have arisen.they include-
CO25-O630/09.
- 10 -
refers to a system in which data is processed in aperiodical basis.The batch system is able
to achieve most of the goals and sub goals. But a batchsystem data is processed in
sequential basis. Therefore batch system is notsuggested.
3. Online System:-
This system provides online storage/ updations and retrieval facility. Thissystem
promises very less or no paper work and also provides help to Doctor andoperational
staff.In this system everything is stored electronically so very less amount of paper
work is required and information can be retrieved very easily without searchinghere and
there into registers. This system is been discussed here.
CO25-O630/09.
- 11 -
5. Preparation of accurate and prompt reports: - This becomes a difficult task, as information
is difficult to collect from various registers. The information collected in the reports is often
inaccurate due to human error.
6.Deterioriation of records.
The files and folders in which the information is stored deteriorate with time i.e. there is wear
and tear of the files and folders.
CO25-O630/09.
- 12 -
CO25-O630/09.
- 13 -
CHAPTER 2.
LITERATURE REVIEW.
There are many systems developed that have been developed related to this medical centre
management system ,but however,these systems are too complex for a university.Most of them
encompass many procedures irrelevant to a university.such case is the Nyeri Provincial Hospital
management system.System provides the benefits of streamlining of operations, enhanced
administration and control, improved response, cost control and improved profitability. The
program can look after Inpatients, OPD patients, records, database treatments, status illness, and
billings. A systematic approach to the way documents are managed, can transform your Hospital
resources to its highest utility and advantage. System has Admin, Doctor, Nurse, Administration,
Pharmacist, Laboratorist and Patient modules. Payroll and attendance record of employees can
be maintained. Messages can be sending within this application. Patient can send online request
for appointment. Medicines updated inventory record can be maintained. Blood donor's record
can be maintained and they can be called as needed.
CO25-O630/09.
- 14 -
CHAPTER 3.
SYSTEM ANALYSIS
Data collection involved finding facts of the activities being carried in university medical centre
aiming at gathering information on its operation and procedures like registration
process,treatment details recording process,diagnosis processes and so on.
1) PRIMARY SOURCES
In order to get facts on university medical centre works, an official introductory letter from the
department introduced me to the interviewees.this enabled them 2 give out information without
hesistating.the interviewees included doctors,nurses,receptionists and students.
1) INTERVIEWS.
The introductory letter from the department accorded me direct communication to the
interviewees.this enabled them to respond without hesitation.
2) OBSERVATION.
This is not a new field but rather a new approach to analyzing computer system.one of its main
goals is not to superimpose the interviewers or analsysts viewpoints on the system but to use the
viewpoint of the people within the system.An ethic view of the system is the outside view or
what the analyst sees.this is basicxally information gathering by observation.
CO25-O630/09.
- 15 -
3) QUESTIONNAIRES.
Analysis of the data collected was basixcally to identify the following:
a. Information to be included in the system.
b. Scope of the system in terms of data and information.
CO25-O630/09.
- 16 -
From the feedback from the questionnaire ,it was evident that university medical center has not
been computerized as a whole.this may be due to the fact that ict in the university is still
growing.form the sample ,most people are computer literate though training may be necessary
for jst a few.All areas /departments of the medical centre need to be computerized.All of the
respndents seemed not to be sure if reports are generated.the response wasN/A or blank
response.
Observation and interview techniques helped in knowing the process followed form registration
of new patients in the files,consultation details and also how doctor details are dealt with.
CO25-O630/09.
- 17 -
3.3.2System requirements
The product works well in any operating system.cahnges in the system should involve experts in
the area of programming language to deal with arising issues.
3.3.3Functional requirements
These are inherent functionalities that the system is purposely expected to perform to achieve the
goals fro the development .basically this is what the system will do.
These include:-
CO25-O630/09.
- 18 -
CHAPTER 4.
Development methodology
1) Specification;
2) Design;
3) Validation;
4) Evolution.
This is based on the waterfall model with rapid prototyping which is a sequential design
process often used in software development process. The development is seen as a flowing
downwards steadily. In the Model, one phase has to be finalized before the process can
progress to the next phase.
CO25-O630/09.
- 19 -
1. Dividing the development of a system into phases makes the development process more
manageable and it gives the opportunity for control of the application development
process.
2. The methodology helps to ensure that the specifications are complete and they are
communicated to systems development staff.
3. The following phase cannot start until the previous has finished. This helps to identify
problems with requirement during design and also problems in coding are also
uncovered.
One problem with the waterfall model is that it does not provide feedback that is commitments
must be made at early stage in the process and it is difficult to respond to changing customer
requirements
CO25-O630/09.
- 20 -
CO25-O630/09.
- 21 -
CHAPTER 5.
SCHEDULE
University medical
centre management
system
Activities
A. Problem identification.
B. Feasibility study.
C. Proposal writing
D. Interface design.
CO25-O630/09.
- 22 -
B. Feasibility study. A. 2
D. Interface design. C. 1
F. Documentation. D,E. 1
G. Presentation. F 1
Activity WEEKS
1 2 3 4 5 6 7 8 9 10 11 12 13
A
KEY:
CO25-O630/09.
- 23 -
EXPECTED DURATION.
ACTUAL TIME/DURATION.
CO25-O630/09.
- 24 -
CHAPTER 6
SYSTEM TESTING
6.1 INTRODUCTION
System testing involves testing the system to validate that it meets that it meets user
specifications and objectives.
6.2TESTING STRATEGY
This involves testing the system using different types of system tests that were performed on the
system.this is aimed at uncovering errors and measuring the system capability.the following
system tests
This is the test in the development process and ensures that each unique path of the project
performs accurately to the documented specifications and contains clearlydefined inputs and
expected results.
CO25-O630/09.
- 25 -
This involves testing integration of modules.this was done to ensure that modules interactions
with each other were working and that integration of the modules making up the system was
working.
This involves testing the system with the intent of confirming readiness of the product and
customer acceptance.
6.3TEST PLAN
CO25-O630/09.
- 26 -
This is making sure at the objects are usable even after they have been completely tested.this test
determines whether the users will be compatible with system.
CO25-O630/09.
- 27 -
CHAPTER 7
I recommend that the development be continued together with like minded persons who live to
see the dream I hadand build effective hospital systems that can be used to cut cists of manual
labour and enable efficiency of service provision.
I also recommend that an improvement be be made on this system to enable the generation of
bills for the staff members instead those bills being generated in the finance office which
consumes time and can result in drastic effects when the patient is totally sick.
I therefore recommend the inclusion of a purely designated laboratory as a research lab where
students can have the opportunity to implement their ideas and innovations of different forms of
systems.
CONCLUSION.
The major achievement of this project is the ability to register new students,staff,doctors and
nurses and store their data in the database.the most important thing that must be appreciated by
all is that,the system is an eye opener to a lot mor e investigation and detailed research for
implementation and improvement purposes inorder to add to the general knowledge base.
The system 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.
CO25-O630/09.
- 28 -
CHAPTER 8.
APPENDIX A
Login window
Different users have different login information stored in the database.they can login to the
system through this interface,or change their passwords for security reasons.this form is loaded
when user starts the program.
Login form
CO25-O630/09.
- 29 -
//Registration form
CO25-O630/09.
- 30 -
LABORATORY FORM
MEDICINE STOCK.
CO25-O630/09.
- 31 -
Consultation form
CO25-O630/09.
- 32 -
CO25-O630/09.
- 33 -
DimmycommandAsSqlCommand
DimraAsInteger
If RadioButton1.Checked = TrueThen
Iftxtname.Text = ""Then
MsgBox("Enter the Name ")
txtname.Focus()
ElseIftxtnumber.Text = ""Then
MsgBox("Enter the ID")
txtnumber.Focus()
ElseIftxtgender.Text = ""Then
MsgBox("please enter the gender")
txtgender.Focus()
ElseIftxtaddress.Text = ""Then
MsgBox("please enter the address")
txtaddress.Focus()
ElseIftxtage.Text = ""Then
MsgBox("please enter the age")
txtage.Focus()
ElseIf MaskedTextBox2.Text = ""Then
MsgBox("enter the phone number")
BARAZA LYANDA PETER.
CO25-O630/09.
- 34 -
MaskedTextBox2.Focus()
Else
sqlcon.Open()
mycommand = NewSqlCommand("insert into
student(name,regno,gender,age,phonenumber,addres) values('" + _
txtname.Text + "','" + txtnumber.Text + "','" + txtgender.Text + "',' " + txtage.Text + " ','" +
MaskedTextBox2.Text + "','" + txtaddress.Text + "')", sqlcon)
ra = mycommand.ExecuteNonQuery()
MessageBox.Show(ra&"Record added successfully")
sqlcon.Close()
EndIf
Iftxtname.Text = ""Then
MsgBox("Enter the Name ")
txtname.Focus()
ElseIftxtnumber.Text = ""Then
MsgBox("Enter the ID")
txtnumber.Focus()
ElseIftxtgender.Text = ""Then
MsgBox("please enter the gender")
txtgender.Focus()
ElseIftxtaddress.Text = ""Then
MsgBox("please enter the address")
txtaddress.Focus()
ElseIftxtage.Text = ""Then
MsgBox("please enter the age")
txtage.Focus()
CO25-O630/09.
- 35 -
sqlcon.Open()
mycommand = NewSqlCommand("insert into
staff(name,staffid,gender,age,phonenumber,addres) values('" + _
txtname.Text + "','" + txtnumber.Text + "','" + txtgender.Text + "','" + txtage.Text + "','" +
MaskedTextBox2.Text + "','" + txtaddress.Text + "')", sqlcon)
ra = mycommand.ExecuteNonQuery()
MessageBox.Show(ra&"Record added successfully")
sqlcon.Close()
EndIf
ElseIf RadioButton3.Checked = TrueThen
Iftxtname.Text = ""Then
MsgBox("Enter the Name ")
txtname.Focus()
ElseIftxtnumber.Text = ""Then
MsgBox("Enter the ID")
txtnumber.Focus()
ElseIftxtgender.Text = ""Then
MsgBox("please enter the gender")
txtgender.Focus()
ElseIftxtaddress.Text = ""Then
MsgBox("please enter the address")
txtaddress.Focus()
ElseIftxtage.Text = ""Then
MsgBox("please enter the age")
CO25-O630/09.
- 36 -
txtage.Focus()
ElseIf MaskedTextBox2.Text = ""Then
MsgBox("enter the phone number")
MaskedTextBox2.Focus()
Else
sqlcon.Open()
mycommand = NewSqlCommand("insert into
doctor(name,doctorid,gender,age,phonenumber,addres) values('" + _
txtname.Text + "','" + txtnumber.Text + "','" + txtgender.Text + "','" + txtage.Text + "','" +
MaskedTextBox2.Text + "','" + txtaddress.Text + "')", sqlcon)
ra = mycommand.ExecuteNonQuery()
MessageBox.Show(ra&"Record added successfully")
sqlcon.Close()
EndIf
ElseIf RadioButton4.Checked = TrueThen
Iftxtname.Text = ""Then
MsgBox("Enter the Name ")
txtname.Focus()
ElseIftxtnumber.Text = ""Then
MsgBox("Enter the ID")
txtnumber.Focus()
ElseIftxtgender.Text = ""Then
MsgBox("please enter the gender")
txtgender.Focus()
ElseIftxtaddress.Text = ""Then
MsgBox("please enter the address")
txtaddress.Focus()
ElseIftxtage.Text = ""Then
CO25-O630/09.
- 37 -
sqlcon.Close()
EndIf
EndIf
Catch ex AsException
MessageBox.Show(ex.Message)
EndTry
EndSub
CO25-O630/09.
- 38 -
DimraAsInteger
If RadioButton1.Checked = TrueThen
Try
da = NewSqlDataAdapter("select * from student", sqlcon)
Ifds.Tables("student").Rows.Count< 1 Then
MsgBox("Records Empty", MsgBoxStyle.Exclamation)
Exit Sub
ElseIfMsgBox("Are Sure Of This?", MsgBoxStyle.YesNo) = MsgBoxResult.NoThen
MsgBox("Deletion aborted", MsgBoxStyle.Information)
Else
sqlcon.Open()
mycommand = NewSqlCommand("Delete from student where regno='" + txtnumber.Text + "'",
sqlcon)
'since no value is returned we use ExecuteNonQuery
ra = mycommand.ExecuteNonQuery()
MessageBox.Show("Records affected"&ra)
da.Fill(ds)
DataGridView1.DataSource = ds.Tables("student")
sqlcon.Close()
EndIf
Catch ex AsException
MessageBox.Show(ex.Message)
EndTry
ElseIf RadioButton2.Checked = TrueThen
CO25-O630/09.
- 39 -
Try
da = NewSqlDataAdapter("select * from staff", sqlcon)
Ifds.Tables("staff").Rows.Count< 1 Then
MsgBox("Records Empty", MsgBoxStyle.Exclamation)
Exit Sub
ElseIfMsgBox("Are Sure Of This?", MsgBoxStyle.YesNo) = MsgBoxResult.NoThen
MsgBox("Deletion aborted", MsgBoxStyle.Information)
Else
sqlcon.Open()
mycommand = NewSqlCommand("Delete from staff where staffid='" + txtnumber.Text + "'",
sqlcon)
'since no value is returned we use ExecuteNonQuery
ra = mycommand.ExecuteNonQuery()
MessageBox.Show("Records affected"&ra)
da.Fill(ds)
DataGridView1.DataSource = ds.Tables("staff")
sqlcon.Close()
EndIf
Catch ex AsException
MessageBox.Show(ex.Message)
EndTry
ElseIf RadioButton3.Checked = TrueThen
Try
da = NewSqlDataAdapter("select * from doctor", sqlcon)
Ifds.Tables("doctor").Rows.Count< 1 Then
MsgBox("Records Empty", MsgBoxStyle.Exclamation)
CO25-O630/09.
- 40 -
Exit Sub
ElseIfMsgBox("Are Sure Of This?", MsgBoxStyle.YesNo) = MsgBoxResult.NoThen
MsgBox("Deletion aborted", MsgBoxStyle.Information)
Else
sqlcon.Open()
mycommand = NewSqlCommand("Delete from doctor where doctorid='" + txtnumber.Text +
"'", sqlcon)
'since no value is returned we use ExecuteNonQuery
ra = mycommand.ExecuteNonQuery()
MessageBox.Show("Records affected"&ra)
da.Fill(ds)
DataGridView1.DataSource = ds.Tables("doctor")
sqlcon.Close()
EndIf
Catch ex AsException
MessageBox.Show(ex.Message)
EndTry
ElseIf RadioButton4.Checked = TrueThen
Try
da = NewSqlDataAdapter("select * from nurse", sqlcon)
Ifds.Tables("nurse").Rows.Count< 1 Then
MsgBox("Records Empty", MsgBoxStyle.Exclamation)
Exit Sub
ElseIfMsgBox("Are Sure Of This?", MsgBoxStyle.YesNo) = MsgBoxResult.NoThen
MsgBox("Deletion aborted", MsgBoxStyle.Information)
CO25-O630/09.
- 41 -
Else
sqlcon.Open()
mycommand = NewSqlCommand("Delete from nurse where nurseid='" + txtnumber.Text + "'",
sqlcon)
'since no value is returned we use ExecuteNonQuery
ra = mycommand.ExecuteNonQuery()
MessageBox.Show("Records affected"&ra)
da.Fill(ds)
DataGridView1.DataSource = ds.Tables("nurse")
sqlcon.Close()
EndIf
Catch ex AsException
MessageBox.Show(ex.Message)
EndTry
EndIf
EndSub
CO25-O630/09.
- 42 -
Project budget.
ITEM COST
Equipment
Computer 40000
Flash disk 1500
CD 50
subtotal 41550
Software
Windows 2000/xp/2007 12000
MS VB 2010
subtotal 12000
Photocopy& printing 2500
total 56050
CO25-O630/09.
- 43 -
REFERENCES
1) http://unpan1.un.org/intradoc/groups/public/documents/UNPAN/UNPAN023
588.PDF(10-03-2008)
2) http://www.mcdonline.gov.in/mcd/birthfaq.jsp(10-02-2008)
3) http://www.ers-can.com(12-04-2008)
4) http://www.unicef.org/bangladesh/birthregistrationsystem.pdf(12-04-2008)
5) http://www.freepatentsonline.com/4233661.html(20-03-2010)
6) http://www.scribd.com/doc/24070840/Hospital-Management-System-
Synopsis-and-Project-Report
7) http://www.scribd.com/doc/13569522/09ProjectHospital-Management-
System(15-05-2011)
CO25-O630/09.