Sie sind auf Seite 1von 45

HARAMAYA UNIVERSITY

DEPARTEMENT OF INFORMATION SYSTEM


OBJECT ORIENTED SYSTEM ANALYSIS AND DESIGN

HOSPITAL MANAGEMENT SYSTEM


GROUP MEMBERS

ID

1. TEKLAY G/HER

2222/04

2. ARIF ABAS

2234/04

3. ABDUREHMAN NESRU

2236/04

4. NEIMA HUSSEIN

2418/04

5. ABDUREHMAN REDI

2238/04

SUBMITED TO
INSTRUCTOR AMHA WUBSHET

DATE 24-04-2012

1. Introduction
This project is done by a group of five second year student school of
information systems. The project so called HOSPITAL & PATIENT
MANAGEMENT SYSTEM is available to be used in the society. The essence for
which this project is conducted for the user is to facilitate the system methods
and to solve problems that found on hospital. As the current system of
hospital and patient management system does not fulfill the need of most
clients, the new system will make a solution for those drawbacks of the old
system Among many of the drawbacks of the old system, the way of storing
data about the patient is one. In this case it is very tedious to get information
about the patient easily when needed for some purpose. But the new system
applies a computerized way of storing and retrieving data about the patient
which can be done easily.

Contents

Page No

1.1, ACTOR..................................................................... 1
1.2, Use case................................................................2
2.1, Essential use case diagram..........................4
2.2, Essential use case description.....................5
2.3, Essential user interface prototype..........9
2.4, Essential user interface flow diagram....10
2.5, DOMAIN modelinG.............................................................11
2.5, Business rule..13
3.1, System use case Diagram.14
3.2, System use case Description19
3.3, Sequence Diagram.20
3.4, Analysis class model.21
3.5, Activity Diagram..23
3.6, user interface prototype.25
4.1, Design class model.27
4.2, State chart Diagram29
4.3Relation Persistent model30

Actors

Use case

Doctor

Taking the identifiable information of the


patient.
Give treatment for the patient.
Prescribe the patient to laboratory
examination.
Order the nurse to maintain the patient.
If the patient problem is difficult refer to
another hospital.
Prescribe the drug to the patient.
Give a result to the patient.

Patient

Registered in the hospital.


Givinginformation.
Pay the payment.
Taking card from clerk.
Tell his feeling to doctor.
Taking Treatment by the doctor.

Taking drug in paper manner ordered.


Take result and report the result

Nurse

Care the patient.


Giving the ordered medication.
Report the patient current result.

Supervisor

Check employee.
Report formanger.
Order employee

pharmacist

Giving drug to the patient.


See the drug to the patient.
Tell the patient how and when to use the drug.
Tell for patient to come back if the drug is help
full.
Check the expiration date of the drug.

Hospital manger

Control all activity in the hospital.


Enforce the hospital rule and regulation.
Give the shift to the hospital worker.
Set budget.
Participate in different seminars and workshop.
Set schedule.

clerk

Register the patient.


Give card to the patient
Keeping file order.
Keep daily transaction.
Keep patient information.

ESSENTIAL USE CASE DIAGRAM

ESSENTIAL USE CASE DISCRIPTION1


Name

sell drug

Descriptions

give drug

Pre-condition

the doctor prescribes a drug for the patient.

Post condition

tells the instruction of the drug to the patient

BASIC COURSES OF ACTIONS


1 The patient goes to pharmacy.
2 The patient gives the paper to the pharmacist.
3 The pharmacist take the paper from the patient see the prescription.
4 Give the drug based on the prescription.
5 After giving the drug tell to patient how and when to use the drug.
6 Advice patients to use the drug properly and come back if the drug is
not help full.
7 The pharmacists calculate and tell the amount of money the drug
coasts.
8 The patient pays the money.
9 The pharmacist gives the recite.
10 The use case end.
ALTERNATIVE COURSES OF ACTIONOF A prescription paper is lost.
A1 the paper is lost

A2 the patient tells to the pharmacist that the paper is lost.


A3 the pharmacists tell the patient to go back to hospital and ask to rewrite again.
A4 the patient goes to hospital and asks the doctor to re-write the drug.
A5 the doctor search patient document and write the drug again.
A6 alternative courses of action return to step2.
ALTERNATIVE ACTION OF B the pharmacist forgets to tell the
instruction.
B7 the patient may take the drug wrongly
B8 or the patient asks the pharmacist how to use it.
B9 alternative courses of action return to step 5
ALTERNATIVE COURSES OF ACTION C the drug is not in the drug store
C10 the patient asks for the drug
C11 the pharmacists checks and tell the patient that its not in the drug
store.
C12 the pharmacist tells the patient to go somewhere and bought the
drug.
C13 the patient goes to another pharmacy.
C14 alternative courses of action returns to step4
Essential use case description 2
Name

getstreatment

Description-

get treatment by doctors and nurses.

Pre-condition

the patient affected by disease.

Post-condition-

the patient diagnose from their disease.

BASIC CORSES OF ACTION


1 The patient takes card from card issuing room.
2 The patient see a doctor if she/he is legible.
3 The patient tells her/his feeling to the doctor.
4 The doctor prescribes something necessary for the patient it may be
laboratory test or a drug.
5 The patient go to laboratory room and give the paper and what is
needed to the nurses.
6 Take laboratory test from nurses and lab technicians and bring it back
to the doctors.
7 The patient pays necessary payment for card laboratory test and so
on.
8 The doctor prescribes to the patient a drug.
9 The patient goes to drug store.
10 The patient takes the drug from the pharmacist.
11 The patient pays the payment for the drug.
12 Take the drug properly.
13 The patient diagnose from the disease.

14 use case end.


ALTERNATIVE COURSES OF ACTION A the patient didnt take the drug
properly
A1 the patient didnt take the drug properly as prescribed.
A2 the will not be cure.
A3 the patients get back to the hospital and tell everything the doctor.
A4 the alternative courses of action return to step12
ALTERNATIVE COURSES OF ACTION B the patient didnt cure from
disease
B5 the patient comes back to the hospital.
B6 the system check the previous record of patient.
B7 after checking previous record the system will treat the patient if
they can handle it.
B8 if they cant handle it they will wrote referral paper to another
hospital.
B9 the alternative action back to step 13.
Essential use case description 3
Name

giving card.

Description

card room keeper.

Pre-condition
issuing room.

prepare necessary materials for patient at the card

Post-condition
patient.

give the card for patient and receive money from

BASIC COURSES OF ACTION


1 patient takes card from the system.
2 record patient information.
3 the system checks whether the patient is legible or not.
4 the system registers if she/he is legible.
5 the patient pays fee.
6 the patient take card.
7 the system did daily transaction.
8 the use case end.
ALTERNATIVR COURSES OF ACTION A the patient doesnt want to give
personal information.
A1 the patient didnt tell the clerk about personal information.
A2 the clerk determine that the patient is not legible.
A3 the hospital didnt give service for the patient.
A4 the patient turns to back and give full information.
A5 alternative action returns back to step2
ALTERNATIVE ACTION OF B didnt pay the fee.
B6 the patient cant pay the fee.

B7 the systems tell the patient that she/he will not be treated.
B8 the patient tries to get money and return back to the hospital.
B9 alternative courses of action back to step5
Essential use case description 4
Name give treatment
Description treat patient based on doctors prescription.
Pre-condition the doctor wrote a prescription for the patient to take
laboratory test.
Post- condition wrote laboratory result to the doctors.
BASIC COURSES OF ACTION
1the doctor prescribes laboratory examination for patient
2 the patient goes to laboratory room.
3 give the paper for the nurses.
4 test everything thats in the paper.
5 and give the result to the patient to brought back to the doctor.
6 use case end.
ALTERNATIVE COURSES OF ACTION A the nurse jump something
without testing.
A1 the nurses forget to test something in the paper.
A2 the patient will not have all the needed results.

A3 the doctor writes again to test everything.


A4 the alternative courses of action returns to step4.
Essential use case description 5
Name health center manager
Description enforce laws and regulations of the hospital
Pre-condition the manager appointed by the owner or the government.
Post-condition the manager performs her/his job appropriately.
BASIC COURSES OF ACTION
1the hospital is organized
2the government or the owner of the hospital appoints the manager.
3the manager perform her/his job properly.
4 the user get better service.
5 initiate the workers.
6 the workers try to do their best.
7 participate in different seminars and workshops.
8 give permission to employees who need
9 set budget
10 order the employees.
11pay the fees to employee.
12 punish employee if they didnt work properly.

13buy necessary drugs and different resource.


14 use case end.
ALTERNATIVE COURSES OF ACTION A didnt pay the fee
A1 the manager didnt pay the fee to employees.
A2 the employee ask her/him to pay them
A3 if the manager didnt pay.
A4 the employees accused him.
A5 alternative courses of action return to step 11.
ALTERNATIVE COURSES OF ACTION B didnt buy necessary materials
B6 the system stop working because shortage of materials.
B7 many of patients may die
B8 the manager will be responsible for the qunciquncis.
B9 the manager shapes everything.
B10 alternative courses of action return to step 13
Essential use case description 6
Name

treatment

Description

treat patient

Pre-condition
take the history and feeling of the patient
which is more important in this case in order to give better treatment.
Post-condition

the doctor prescribes a drug for patient.

BASIC COURSES OF ACTIONS


1 The patient she/he feels to the system.
2 The system prescribes laboratory test if necessary.
3 The patient gives the prescribed paper to nurses or lab technicians.
4 The patient receive laboratory test from nurses and lab technicians.
5 After laboratory test the system tell the patient disease.
6 And the doctor treats the patient by all mechanism.
7 The doctor writes referral if it is out of control.
8 The use case end
ALTERNATIVE COURSES OF ACTION give wrong information
A1 The patient give wrong information about her/his disease.
A2the doctor may predict wrong disease.
A3 prescribes a wrong drug.
A4 the disease gets to the worst case.
A5the patient may die.
A6 alternative courses of action return to step 1
ALTERNATIVE COURSES OF ACTION B
B7 the doctor didnt write referral paper even if it is necessary.
B8 the patient will sick more and ask the the system to write referral.
B9 the patient takes the referral paper from the doctor.

B10 the use case ends.


Essential use case description 7
Name control entire activity.
Descriptions detect the daily activity.
Pre condition the employees work their task.
Post-condition give different reports to the manager about employees,
resources, medical materials
BASIC COURSES OF ACTION
1 Order employees to do their jobs.
2 Checks the employees are working properly
3 Punish the employees if they didnt work properly.
4 Report to manager about daily activity.
5 Appreciate employees if they are hard working.
6 The use case end.
ALTERNATIVE COURSES OF ACTION A didnt check the employees
A1 the system didnt check the employees.
A2 the employee didnt work properly.
A3 the hospital may get loss.
A4 the manager punish the supervisor.
A5 the alternative courses of action return to step 2

ALTERNATIVE COURSES OF ACTION B didnt punish employee


B6 the supervisor didnt punish employee
B7 the employee will not know their mistake.
B8 they may make several mistakes.
B9the alternative courses of action return to step 3

PATIENT information

Patient number

Patient name

Give drug for


patient

Help
information

The patient
treatment
condition

Display
information
Patient
Address
Diseases detail
Search Diseases
Diseases
name

Diseases name
Diseases
lists

Display
request

Diseases
problem

Diseases
description
Requester list

detail

Disease type

USER INTERFACE FLOW DIAGRAMING

Well Come To Haramaya University


Clinic Management System
LOGIN

Name
Password

Login
MANAGER

Lub,technian

INFO

ROLE

CLERK

INFO

INFO

CONTROL
ALL
ACTIVITY

ROLE

ROLE

ROLE

INFO

INFO

ROLE

ROLE

GIVE
TRITMENT

REGISTOR
RECORD
INFO

INFO

INFO

PATIENT

PHARMASIST

NURSE

DOCTOR

REGISTOR

ORDER
DRUG
GIVE INFO

SET
SCHEDULE

ROLE

GIVE INFO

GIVE
MEDICIN
TAKE DRUG
Report
result

Examine

PAY FEES

Mentine
patient

GIVE DRUG
CHECK
DRUG

DOMAIN MODELING WITH CLASS RESPONSIBILITY COLABORATER


(CRC) CARDS

Patient <<ACTOR>>
giving information
about self
Taking treatment
Request result

Giving drug<<ui>>
See the prototype

Doctor

Display drug list

Patient

<<ACTOR>>

Display doctor info

<<ACTOR>>

Enable drug search

Treatment<<UI>>
Doctor <<ACTOR>>
Give aresult to the
patient
Ordering maintenance

Get patient info


treating the patient

PATIENT

PATIENT

See the prototype

<<ACTOR>>

<<ACTOR>>

Display treatment result

Writing referral order


the drug

Get treatment patient


take
Giving card<<UI>>

Pharmacist<<ACTOR>>
Giving drug for the
patient
Giveing the receipt for
the patient
See the drug to the
patient
Order what way the

DOCTOR

Get treatment
register the patient to
the sysytem
See prototype

PATIENT
REGISTRATION

Display card info

<<ACTOR>>

ROOM

GET BY
PESON

PATIENT
DOCTOR

Doctor

Name

Security log on <<UI>>

Address
Accept information

E-mail
Patient
<<ACTOR>>

Prescribing a drug
Give treatment

Patient

Request identifying

Provide information
treatment giving

Patient

Clerk

Name

Name

Address

Address

Age

Get treatment<<UI>>

Sex

Card number
Recording patient information

Patient
registration<<
UI>>

Result received
Get treatment
Provide treatment
taker

Pharmacist
Name
Address
Email
Card number

Name
Type
Symptom

Room number
Diagnosis

Give drug to patient


Patient
Sell drug

Drug order <<UI>>

Business rule
Access control

Business calculation

Principle of organization

BR111- the doctors should see


the patient they treat when
needed.

One doctor treats 20 patients in


a day.

Employees have to be punctual.

BR112-the doctors should not


see patients which they did not
treat.
BR113-the doctors should
respect Hippocratic oath.
BR114-noone should not reach
x-ray room when the light is on.
BR115-It is strictly to use
sharpen materials.
BR116-the doctors should not
leave examination room until
others a doctor comes.
BR117-the patients have to have
a card on his/her hands when
he/she gets examination room.
BR118- every employee at the
hospital should respect dress
code.

Employees will not enter without


dressing a uniform.
Any patient pays 10 birr for a
card.
Only two accountants in a
reception room.
One room consists for four
patients.
For one night patients pay 175
birr only.

If the employee did not respect


the rules and regulations of the
hospital they will be punished.
If the patient did not take the
drug properly and come back to
check again the hospital will not
accept them.

3.2 system use case description


NAME: giving treatment
IDENTIFIERS: US 15
DESCRIPTION: giving drug that prescribed to the patient
PRECONDITION: the patient is registered in the hospital
POST CONDITION: the patient will be received the prescribed drug.
EXTEND: TB & HIV patient treatment.
INCLUDE: online treatment.
INHERIT FROM: treatment.
1. The patient wants to take the drug from the system.
2. The patient inputs his/her treatment result paper into the system via security login screen.
3. The system verifies the availability of the drug in the system and legibility of the patient to take
the drug.
4. The system display legibility of patient using UI 34 security login screen.
5. The system calculates the fees of drug based on the BR 434 of the system.
6. The system displays the fees of during via UI 65 display fees screen.
7. The patient pay the fees based on the BR 453 of the system.
8. The system display legibility of the patient using UI 53 login payment screen.
9. The system give the receipt to the patient.
10. The patient takes the receipt from the system.
11. The system gives a drug to the patient.
12. The use case end
ALTERNATIVE COURSE OF ACTION A: if the drug is not available in the system
A3. The system is check that the drug is not available in the system.
A4. The system is tell to the patient that drug is not available in the system.
A5. The system is tell to the patient to buy the drug from another system /drug shops.
A6. The use case end.
ALTERNATIVE COURSE OF ACTION B: If the drug is available in the system
B3. The system is determine the availability of drug in the system.
B4. The system is give the drug to the patient as prescribed.
B5. The system is determine the amount of money required for drug.
B6. The system is tell the amount of money to the patient.
B7. The patient is pay the payment to the system.

B8. The use case end.


ALTERNATIVE COURSE OF ACTION C: If the patient cant pay the payment
C7. The system determine that the patient cannotpay the payment.
C8. The system is tell to thye patient that amount money required for drug.
C9. The patient is return back and add the amount of required.
C10.The patient is return back to the system with enough money.
C11.the alternative course of action is return to the basic course of action on STEP 7.

NAME: giving card


IDENTIFIER: US 14
DESCRIPTION: giving card for the patient in the hospital.
PRECONDITION: patient registered at the card room in the hospital.
POST CONDITION: patient received the card from the room.
EXTEND: take information
INCLUDE: record file
INHERIT FROM: patient registration
BASIC COURSE OF ACTION:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.

Patient wants to take the card from the system.


Patient inputs his/her name, age, sex and address into the system.
The system is informs the patient name is legible to take card.
The system is inform to the patient that the amount of fees required to take card based on
BR453
The patient pay the fees based on the BR453 of hospital.
The system verifies that the patient is legal to take the card.
The system is write the receipt of payment for the patient.
The system is check the receipt and gives the card for the patient.
The patient is take the card from the system.
The use case end

ALTERNATIVE COURSE OF ACTION A:If the patient cant pay the payment
A4. The system is tell to the patient that the amount of money required.
A5. The patient is tell to the system that the amount of money currently found on his/her hands.
A6. The system is determine that the patient cannot pay the payment.
A7. The patient is return back to fulfill the insufficient money.

A8. The patient is return back to the system with enough money.
A9.The alternative course of action is return to the basic course of action on STEP 5.

SYSTEM USE CASE DIAGRAM

SEQUENCE DIAGRAM

ANALAYSIS CLASS MODEL

USER INTERFACE DESIGN

ACTIVITY DIAGRAM

DESIGN CLASS MODEL

STATE CHART DIAGRAM

DESIDN CLASS MODEL

Posit
+position ID :char(12)<<primary
: float

Benefit
+Benefit ID integer<<primary key>>
+description: char(50)

+salary maximum: float

+value: float

ion

Employee
+employee
NO:char(20)<<primary key>>
Name:char(55)
Salary:float
Start DATE:date
+position ID:char(10)<<forign
key>>

Das könnte Ihnen auch gefallen