Professional Documents
Culture Documents
REFERAL HOSPITALSYSTEM (Documentation)
REFERAL HOSPITALSYSTEM (Documentation)
CHAPTER ONE
1. Introduction
Debre Birhan referral hospital is the backbone of Debre Birhan town and it is the well known
organization in Debre Birhan by treating patients in a well manner. Health is the major
concern for human beings i.e. without health nothing is done. The hospital still now give
different services for peoples.
Debre Birhan referral hospital was established in 1929 E.C. The Italians founded this hospital
for the purpose of treating their injured soldiers. The hospital has led by a manager and
governing board. When the hospital is established it will assumed to give services for around
20-25 thousands of peoples. Before now this hospital was a name of Debre Birhan zonal
hospital. Since, the name is changed by Debre Birhan referral hospital, now the hospital gives
different services for above 2.2 million patients. Because of providing these services, Debre
Birhan zonal hospital is changed by Debre Birhan referral hospital in 2003 E.C. Around 450-500
patients are treated in a day. There are also departments included in this hospital such as chief
clinical office, human resource management, plan program and monitoring and emergency
department.
Currently the hospital gives services for the patients but it needs to provide fast service within a
short period of time. Due to the following problems we have to propose a new system to solve
those problems such as:
different outpatient doors, then the OPDs order them to different departments based on their
symptom. After the patient get treatment the provided card would be collected in a catalog.
1.4. Description of the proposed system
In our proposed system we try to solve the problem of the existing system. The proposed
system is to develop automated system, which will provide the hospital within database and
network system of accessing its data through different departments, which will solve the
problem of the current system.
1.5. Problem of the existing system
To produce new system we should know what problem or limitations have existed in the current
system.
1.7.1. Methodology
1.7.1.1. Data collection methods
Interview: - we conduct the interview by going to the hospital then interviewing the
employees. First we interview the manager of the hospital and then he transfer the supporting
letter that we take from the university to the plan program and monitoring department in
order to give required information for us.
Practical observation:-we collect data by observing how the hospital gives services for people.
For example, we observe how patients registered, in what way they get cards and drugs, what
measure the physicians take to treat patients etc.
In systems analysis and design methodologies we are using object oriented system. Object-
oriented approach combines data and processes (called methods) into single entities called
objects. The goal of object-oriented approach is to make system elements more reusable, thus
improving system quality and the productivity of systems analysis and design.
To understand and express the essential and interesting features of an application in the complex
real world, an object-oriented model is built around objects. An object encapsulates both data
and behavior, implying that analysts can use the object-oriented approach for both data modeling
and process modeling.
1.7.2.1. Hardware
Computer
Flash disk
CD
DVD
Camera
printer
1.7.2.2. Software
Patient registration
Patient examination
Drug registration
Searching and updating patient information
Laboratory
pharmacy services
Assigning bed
Report generation
There are also limitations in the project because of scarcity of time and resources, the program
may not be able to run on other operating system rather than Windows.
During the development of our project there may be accidents and problems that may
create a negative side effect in our progress those are:
There may a problem of power in the lab which causes not to finish the
project in the estimated schedules
Our files and documents may be affected by a virus
In general there may be problems that cause a negative influence during
the development of our project
Technical feasibility is the measure of practicality of the specific technical solution and the
availability of technical resources and expertise. We expect that, our system is specific to some
organization even though any user can implement our system based on his/her requirements.
Operational feasibility is the process of examining the likelihood that the project will attain its
desired objective in our case, we the project team members, expect the application which we are
developing is to be operational feasible and the project will be efficient. The proposed system
will be easy to use.
Economic feasibility is the process of identifying the financial benefits and costs associated with
the project being developed. Our project is economically feasible i.e. there is no hardware that
we spent much more money to buy. And also to develop our system we didn’t spent money i.e.
we get all software by the university.
march
October
November
June
April
No
February
may
December
January
1 System
proposa
l
2 Require
ment
analysis
3 System
design
4 System
implem
entation
5 Testing,
Submiss
ion and
present
ation
Team composition is the main thing for the development of effective system. Therefore, our
team has decided to do each activity cooperatively, and decided on each activity based on
reasoning, by decision making.
A B B
C
E
F D
Chapter 2
2. Current system
The existing system is not using computerized system. In the existing system there is
duplication of records for one patient. In the existing system the information is very difficult to
retrieve and find particular information and various changes to information like patients detail.
First all patients will go to the hospital, and then the patients registered their (name, age,
address, city, town, kebele, etc) according to their arrival time in the hospital and the record
keeper will provide the card to the patient.
The record keeper will call the patient name and give the card number, and then the record
keeper will give the file to physician class. Then, the triage distributes the patients file to
different treatment classes. The physicians will call the patient according to their order to treat
them. The patient will receive the treatment paper from the physician. Then the physician will
write drugs type and sign on the paper and the patient go to the pharmacy class to get the
necessary drugs based on the order of the physician. If laboratory and x-ray are applicable to
patients then the physician allocates them to laboratory and x-ray classes respectively. If the
drugs are not found in the hospital pharmacy, the patient will purchase from outside hospital
wherever the drug is found. After the patient get treatment, all files would be collected by the
record keeper and put them in the catalog based on their identification number in the open
shelf for the next treatment. If the registered patient coming in the next time the patient give
the card to the record keeper and finally they get the patients file. If the patient’s card lost the
record keeper will give new card for patients.
The system has more of weakness than its strength, but some of the strengths are:
The current system has many weaknesses that must be solved. Some of the weaknesses are the
following:
An existing system compromises different players to carry out its job. The major actors in the
existing system are:
- Patient
- record keeper
- triage
- physician
- pharmacist
- leasing nurse
- lab technician
- radiographer
- accountant
- manager
(7)Lab technician: a person who send patient’s lab result back to the physician
(8)Radiographer: a person who is responsible for to take standard radiographic photos for x-
ray.
(10) Manager: the person who controls the hospital or all parts of the hospital, who is
responsible for managing and coordinating the system
Business rules are principles, requirements and polices that must be fulfilled and obligated in
order the system will function properly and effectively. Debre Birhan Referral hospital has its
own business rule to inform the customers how it facilitates the service and the type of services
which are functional used by whom. Some of the rules are:
Only one bed is assigned for one patient, and that patient should use
his/her bed which belongs.
patients should not take drug without the permission of the physician
We proposers have an alternative solution to solve problems that are exist in the Current
system .The following are some of alternative solutions:
To have a system that allow customers use different facilities provided by our system.
Developing automated system.
Transferring data through different departments in networked system
making the process fast, efficient and reliable
Avoiding data redundancy and inconsistency
Easy accessibility of data
Number of personnel required is considerably less
Provides security and integrity to data
Chapter 3
3. Proposed systems
Our proposed system avoids the problems of existing system. It is very easy to operate. Speed
and accuracy are the main advantages of proposed system. There is no redundancy of data. The
data’s are stored in the computerized database. The proposed system will easily handle all the
data and the work done in the existing system. The proposed system eliminates the drawbacks
of the existing system to a great extent and it provides tight security to data. The system
performs the following activities:-
Functional requirement defines what the systems do or the actual functionality of our system. It
is a function or feature that must be included in our system to satisfy the need & be acceptable
to the user. The patient record history database should first authenticate individual right to
make use of the system. When the user introduce him/her self to the system through a user
password & name, the system will assign the corresponding privilege to the user. Thus; the
following are functional requirement in our system. We are going to list the functionalities
based on the actors
Registering new patient: the record keeper records all information regarding
patients using the system
Medical registration: the pharmacist is responsible person to register drugs
Updating information : physicians are responsible bodies to update patients
information using the system
Searching information: record keepers and physicians are responsible bodies to
search patient’s information. The pharmacist search drug types. the leasing
nurses search bed using the system
View reports: the manager only is responsible person to view reports
Retrieving information: all actors are responsible bodies to retrieve
information based on their activity using the system
Generate reports: all actors are responsible for this activity by using the system
Assigning bed: leasing nurses are responsible person to arrange bed to patients
based on ward using the system
Laboratory test: lab technician is responsible person to this activity using the
system
The system should store all the data related with all the tasks performed into a
database.
The non functional requirements focus on the quality of the application systems needed to be
developed from different point of view. These requirements do not directly affect the
performance of the system but they are even so important. The Non functional requirements of
our proposed system includes:-
The system must be error free while operating with a huge set of data.
The system must recover immediately when a user enters erroneous data.
Only an authorized person can retrieve, delete and update the data in the
database.
Each patient should have only one registration number (card number).
Patients should not handle their medical card
lab test could not be taken unless there is an order from the physician
drugs could not be taken without physician prescription
Flash disk: used to transfer loaded information from the internet and other sources to our
computer
Printer: we use a printer to print our document in the form of hard copy
Vp_suite 5.1/ Visio 2003: to design different diagrams like:-use case diagram, activity diagram,
sequence diagram etc.
We use VB8, because we are some familiar with this language when we compare with the other
and also it is latest version of visual basic 6
Now, there are many versions of VB exist in the market, the most popular one and still widely
used by many VB programmers is none other than Visual Basic 8. VB2008 is a fully object
oriented programming (OOP) language. It is more powerful than VB6 but looks more
complicated to master.
VISUAL BASIC is a VISUAL and events driven Programming Language. In BASIC, programming is
done in a text-only environment and the program is executed sequentially. In VB, programming
is done in a graphical environment. In VB, just need to drag and drop any graphical object
anywhere on the form, and you can change its property any time using the properties windows.
On the other hand, because the user may click on certain object randomly, so each object has
to be programmed independently to be able to response to those actions (events). Therefore, a
VB Program is made up of many subprograms, each has its own program code, and each can be
executed independently and at the same time each can be linked together in one way or
another.
Security mechanisms are ways to protect hospital data and resources against something bad
and attacks. Access controls are ways used to prevent unauthorized access of resources and
used to achieve security goals i.e. confidentiality (data need to be hidden from unauthorized
access), integrity (protected from unauthorized change), availability (the right person should
access the right thing)
Username
It is a name we use in order to be able to use a computer program or system. The user
identification is that which is required to the system for access to its file system. This command
will normally be the first command given by the user.
Password
It is a secret word or phrase that you need to know in order to allow in to a system .The
password must be immediately preceded by the user name. Since password information is
quite sensitive, it is desirable in general to “mask” it or suppress type out.
Chapter 4
4. System modeling
Use case diagrams give an outsider's view of a system. It depicts a collection of use case, actors,
system boundary box and their interaction .Use case also describes a sequence of actions that
are measurable value to an actor.
Actor: physician, manager, record keeper, accountant, Pharmacist, lab technician, leasing
nurse
Description: The login use case is used to authenticate user of the system
Precondition: The authorized user should be enter valid username and password
Post condition: The user will log in to the system
Basic course of action:
Step1: The actors enter username and password
Step2: The system validates the entered information.
Step3: If the user enters valid input, the system display their own form
Alternative course of action:
Actor: record keeper, leasing nurse, physician, lab technician, accountant, pharmacist
step3: Then the manager selects department’s reports and click view report
Step 3: The system accepts the information and validate whether the given information is
correct or not.
Step4: the system add the patients information to patient database
Alternative course of action:
A1: if the record keeper doesn’t insert full information of the patient
A2: The system check whether the given information is correct or not.
A3: If the value is correct, the system inserts the patient’s data to the data base.
A4: If the inserted value is not correct or valid, the system asks the record keeper to insert true
information again.
Use Case Identification: UC 5
Description: This action will be performed when the lab technician need to see the order on the
display to take sample and examine the sample.
Description: The process is taking place when the physician wants to do certain tasks with the
help of patient history
Actor: Physician
Precondition: There should be patient history recorded before.
Post condition: Patient history is retrieved back to physician according to his need.
Basic course of action:
Step1: the physician inputs his patient information (card number or name)
Step2: The system accepts those entries and validate.
Step3: If the value is valid, the system displays the required patient history.
Step4: If the value is invalid, the system shows error message.
Use Case Identification: UC 14
Description: The process begins when the system user need to give medical certificate
Actor: Physician
Precondition: The physician should first retrieve patient history
Post condition: The physician give medical certificate/prescription paper to the patient
Basic course of action:
Step1: The physician fills all the necessary information
Step2: The system validate the final information
Step3: The system shows option/Refer, medical certificate, etc.
Step4: The physician select medical certificate
Step5: the system retrieves the bed information and displays it. If the input value is invalid the
system tells the user to enter the correct value again.
Step4: the system displays department’s report form that are requested
Step5: The system checks the input data whether it is valid or not
A sequence diagram is a form of interaction diagram which shows objects a lifelines running
down the page time and their interactions over there represented or message arrows. For
example, Arrows shows from the source lifeline to the target lifeline. Sequences show objects
communicate with each other and what messages trigger for those communications. Sequence
diagram are not intended for showing complex procedural. If the system doesn’t alternative
action, it should be showed by the other sequence diagram for showing the interaction.
Activity diagram is used to document the logic of a single operation/method, a single use case
or the flow of logic of a business process. It is equivalent to flowchart and data flow diagram
from structured development. It is a UML diagram that is used to model high level business
process or transition between states of a class. Activity diagram is one of the five diagrams in
the UML for modeling the dynamic aspect of systems. It is essentially a flowchart, showing flow
of control from activity to activity. It is also the notation for an activity graph.
Fig. Activity diagram for physician (lab order, bed order, prescription)
Class diagram is static model that shows the classes and the relationships among classes .Class
is the main building block of class diagram, which stores and manages information in the
system. In the phase of conceptual class modeling we just create classes and their
interrelationship. These classes are built on the base of CRC. Class diagram consists of entities,
attributes and methods. Our classes are record keeper, leasing nurse, Pharmacist, drug, lab
technician, physician, manager, bed and patient.
CHAPTER FIVE
5. Implementation strategy
5.1. Implementation
I n this phase we are going to use visual basic .net for our soft ware development environment.
We use sql server 2005 for database connection with vb.net.
UI 1: login form: In this user interface user should expected to select user type, enter user
name and password to log into the system
UI 2: patient registration form: This form contains all information regarding patient registration
UI 3: physician form: The physician gives prescription, referral, lab request, order bed
UI 4: pharmacist form: This form contains all information regarding drugs (registering drugs,
and if the drugs not found print prescription give paper for the patient to buy from outside)
UI 5: laboratory form: In this form the lab technician fill result and send to physician
UI 6: view report Form: in this form the manager only allowed to view report
UI 7: Assign bed form: in this form leasing nurses are allowed to assign bed, register bed and
update bed
UI8: payment form: this form is for taking payments. The accountant accepts account from the
patients register on its form
Else
MsgBox("invalid username,password")
ComboBox1.Focus()
TextBox1.Clear()
TextBox2.Clear()
ComboBox1.Text = ""
End If
End If
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
End Sub
End Sub
End Class
Paient registration
Imports System.Data.SqlClient
Imports System.Data.SqlTypes
Public Class Patient_Registration
Private Sub btnAdd_Click(ByVal sender As System.Object, ByVal
e As System.EventArgs) Handles btnRegister.Click
Try
Dim con As New SqlConnection
Dim adap As New SqlDataAdapte
Dim ds As New DataSet
Dim sql As String
con = New SqlConnection("Data Source=DBU-CE49250110C;Initial
Catalog=master;Integrated Security=True")
con.Open()
sql = "select * from record3"
adap = New SqlDataAdapter(sql, con)
adap.Fill(ds, "record3")
If TextBox8.Text > 100 Then
MsgBox("age is invalid")
TextBox8.Focus()
ElseIf TextBox8.Text <= 0 Then
MsgBox("age is invalid")
TextBox8.Focus()
ElseIf TextBox2.Text = 0 Then
MsgBox("Invalid cardno")
TextBox2.Focus()
ElseIf TextBox1.Text = "" Then
MsgBox(" please enter Hospitalname")
TextBox1.Focus()
ElseIf TextBox2.Text = "" Then
IsNumeric(TextBox2.Text)
MsgBox(" please enter cardnumber")
TextBox2.Focus()
ElseIf TextBox3.Text = "" Then
CHAPTER SIX
6. System testing
System Testing checks the overall system or entire system requirement of the developed system.
It is conducted to provide information about the quality of the service under test, with respect to
the contest in which it is intended to operate. Testing also provides an objectives ,independent
view of the new system to allow the user to appreciate and understand the testing including:
Execution test:
This program was successfully loaded and executed. Because of good programming there were
no execution errors.
Output test: the successful output screens are placed in the output screens section.
Error handling:
Errors that are anticipated to occur like, unfulfilled information submission, power interruption
during processing and the like, these problems will be handled so that will avoid and error in the
case of interaction.
System modifications:
The system could be modified anytime the system or the work flow of the organization is
changed. And also the system database will be managed according when the system changed.
The administrator will be responsible for the backup of the system, maintenance of the system,
and for also the installation of the system.
The team tested different service of the system and checked the effictitiveness of the system
and weather they are compatible to automated system .
In system evaluation,different services are evaluated in the existing system and the new one. In
the existing system hospital uses the manual system and service but in the new proposed system
provide automated hospital system.Finaly the former needed much power, effort, labour and
time to do its day to day operation while the new system reduce much more time and effort to
fulfill its task.
CHAPTER 7
7.1 Conclusion
The project Debre Birhan Referral hospital System is for automating the work 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. From
a proper planning and development, hopefully that this system is going to solve the problems
arise in Debre Birhan referral hospital system. This system will make the staff works much
more efficient to give service to the patient. In our project we use systems analysis and design
for analysis and design issues and visual studio.net for the implementation phase.
Generally, the usage of software increases the efficiency and decreases the effort. It has been
thoroughly tested and implemented.
7.2 Recommendation
Finally we recommended that Debre Birhan referral hospital system should use this automated
system for cost minimization, security of patient’s record, time saving, best information retrieval
and report generation. Also we recommended that the hospital system shall work together with
other hospitals.
Appendix
Appendix A: Glossary
Definition of terms:
CD--Compact Disk
CDR—Compact Disk Rewrite
DVD—Digital Versatile Disk
E.C—Ethiopian Calendar
GB--Gigabyte
Fig--Figure
SQL--Structural Query Language
UML—Unified Modeling Language
UI—User Interface
VB—Visual Basic
Appendix B: References
1. Ambler, Scott, W..Object primer 2nd ed. Cambridge: Cambridge university press
(2001).
Internet Sites
www.google.com
www.yahoo.com
www.codeproject.com