Hospital Managment System NEW
Hospital Managment System NEW
FACULITY OF INFORMATICS
IBEX PRIMARY
By
04/14/2011
CERTIFICATE
I certify that this BSC industrial project entitled online ibex primary hospital management
system written by:
This is approved by me for submission. I certify further that, to the best of my knowledge, the
report represents work carried out by the students.
________________________________________________
Date Name and Signature of Supervisor
Ibex Primary Hospital Management System 2011
DECLARATION
This is to declare that the project work which is done under the supervision of Kedr Yasin and
having the title Ibex hospital management system is the full contribution of:
No part of the project work has been reproduced illegally (copy and paste) which can be
considered as Plagiarism. All referenced parts have been used to argue the idea and cited
properly. We will be responsible and liable for any consequence if violation of this declaration
occurs.
Date: 14/06/2019
ACKNOWLAGEMENT
We would like to thank the director of IBEX PRIMARY HOSPITAL for giving us relevant
information about the hospital and giving idea about what our system should provide in order to
make things easier for the hospital worker’s and to give good service for the customer.
Last but not least we thank our advisor Mr. Kedr Yasin for giving us such a wonderful
opportunity to expand our knowledge for our own branch and giving us guidelines to present a a
better industrial project. It helped us a lot to realize of what we study for.
ABSTRACT
The hospital is one of the most important Institutes in the world. The hospital must be
computerized to efficiently manage the data and patients.
Web based Ibex primary hospital management system is a system that minimize problems that
are caused by manual system that the primary hospital is using at this time. In this project we
intended to change the current manual system in to web based system that is interactive, easily
accessible because this system can be accessed by internet, helpful for the users in order to get
medical recommendations from their doctor at any time, to minimize overcrowding of
customers, to make support provider’s work easier. Generally it provides fast, efficient,
flexible, reliable and secure services for better satisfaction of customers and improvement of
motivation of the employee..
We used the object oriented software development methodology to conduct this project, the
programming language is PHP and HTML and the data repository is SQL. During the analysis
and design process of project our team used iterative software model. In order to collect
information about the hospital and it decide what the system should solve we use observation
and interview. We hope the proposed system will bring a great change on the way currently
IBEX primary hospital Management System is working.
Table of Contents
CERTIFICATE .......................................................................................................................... i
DECLARATION ...................................................................................................................... ii
ACKNOWLAGEMENT .......................................................................................................... iii
ABSTRACT ............................................................................................................................ iv
LIST OF FIGURE.................................................................................................................. viii
LIST OFTABLE ...................................................................................................................... ix
ACRONYM .............................................................................................................................. x
CHAPTER ONE ....................................................................................................................... 1
1.1. Introduction ................................................................................................................ 1
1.2. Background ................................................................................................................ 1
1.3. Statement of the problem ............................................................................................ 2
1.4. Objectives ................................................................................................................... 2
1.4.1. General objective ................................................................................................. 2
1.4.2. Specific objective................................................................................................. 3
1.5. Scope of project .......................................................................................................... 3
1.6. Limitation of project ................................................................................................... 3
1.7. Significance of project ................................................................................................ 3
1.9.1 Beneficiary of project ............................................................................................... 4
1.8. System development methodology .............................................................................. 4
1.8.1. Data collection (fact-finding) method................................................................... 5
1.9. System development tool ............................................................................................ 5
1.9.1. Software tools ...................................................................................................... 5
1.9.2. Hardware tools..................................................................................................... 6
1.10. Gantt chart............................................................................................................... 7
Chapter two .............................................................................................................................. 8
2.1 Introduction ..................................................................................................................... 8
2.2 Current system ................................................................................................................ 8
2.2.1 Major function of existing system description ........................................................... 8
2.2.2 Problem of current system ........................................................................................ 8
2.3 Requirement Gathering.................................................................................................... 9
2.3.1. Observation: ............................................................................................................ 9
2.3.2.Interview: ................................................................................................................. 9
LIST OF FIGURE
Figure 1: Use case diagram fir ibex primary hospital system ................................................... 20
Figure 2: Activity diagram for login ........................................................................................ 38
Figure 3: class diagram for the proposed system...................................................................... 49
Figure 4: Sequence diagram for set appointment ..................................................................... 50
Figure 5: Sequence diagram for view lab order ....................................................................... 51
Figure 6: Sequence diagram for search drug ............................................................................ 52
Figure 7: Sequence diagram for send comment ....................................................................... 52
Figure 8: Sequence diagram for login ...................................................................................... 53
Figure 9: Sequence diagram for send lab result ....................................................................... 54
Figure 10: Sequence diagram for generate report.................................................................... 55
Figure 11: Sequence diagram for admit patient. ....................................................................... 55
Figure 12 : Interface of home page .......................................................................................... 56
Figure 13: Interface for doctors’ page...................................................................................... 56
Figure 14: System architecture for proposed system. ............................................................... 59
Figure 15: Component diagram ............................................................................................... 60
Figure 16: Deployment diagram .............................................................................................. 61
Figure 17: Component diagram subsystem service .................................................................. 64
Figure 18: Detailed class diagram ........................................................................................... 65
LIST OFTABLE
Table 1: Use case description for login .................................................................................... 21
Table 2:Use case description for manage patient account ........................................................ 22
Table 3: Use case description for change password ................................................................. 22
Table 4: Use case description for write feedback ..................................................................... 23
Table 5: Use case description for view feedback ..................................................................... 24
Table 6: Use case description for manage employee's account ................................................. 24
Table 7: Use case description for generate report .................................................................... 25
Table 8: Use case description for search medicine ................................................................... 26
Table 9: Use case description for manage notification ............................................................. 27
Table 10: Use case description for renew account ................................................................... 27
Table 11: Use case description for update patient history ........................................................ 28
Table 12: Use case description for manage bed ....................................................................... 29
Table 13: Use case description for view appointment .............................................................. 29
Table 14: Use case description for accept patient .................................................................... 30
Table 15: Use case description for send result ......................................................................... 31
Table 16: Use case description for approve payment ............................................................... 31
Table 17: Use case description for view own history ............................................................... 32
Table 18: Use case description for send order.......................................................................... 33
Table 19: Use case description for admit patient...................................................................... 33
Table 20: Use case description for assign doctor ..................................................................... 34
Table 21: Use case description for view lab result ................................................................... 34
Table 22: Use case description for update store ....................................................................... 35
Table 23: Use case description for view patient history ........................................................... 35
Table 24: Use case description for view notification................................................................ 36
Table 25: Use case description for request to renew own account ............................................ 36
Table 26: Use case description for view order ......................................................................... 36
Table 27: Use case description for logout ................................................................................ 37
ACRONYM
CPU: - Central Processing Unit
CHAPTER ONE
1.1. Introduction
Hospitals are the essential part of our lives, providing best medical facilities to people suffering
from various ailments, which may be due to change in climatic conditions, increased work-load,
emotional trauma stress etc. It is necessary for the hospitals to keep track of its day-to-day
activities and records of its patients, doctors, nurses, ward boys and other staff personals that
keep the hospital running smoothly and successfully.[15]
The main cause of most of Ethiopia's health problems is the relative isolation of large segments
of the population from the modern sector and majority of the population resides in the rural area
where there is no or limited health services. Additionally, widespread illiteracy prevents the
dissemination of information on modern health practices. A shortage of trained personnel and
insufficient funding also hampers the equitable distribution of health services in the country.
Web Based Hospital Management System for IBEX primary Hospital is a software product
suite designed to improve the quality and management of IBEX hospital in the areas of patient
diagnostic process. This project enables the hospital to improve effectiveness and quality of
work.
This project deals about managing IBEX primary hospital’s system by improving the manual
system in to web based application. The project mainly focuses on registering new patient in to
the system by creating account for them that need user name, password, and e-mail to login to
the system, in order to see their medication procedure and their appointment, to get notification
about the hospital and other health advises form the doctor and the hospital etc….
In addition to this the project works for the hospital to have its own notification board to post
new services, new information about the hospital,and to advertise the hospital.
1.2. Background
Ibex primary hospital is found in the Amhara regional state, Gondar city in Kebele 18. it was
established by 6 stakeholders based on the standard by minister of health within the range of 60
to 70 employees in 2003 E.C. The standard of the hospital at the beginning was as general
hospitalbut after few years the minister of health decided to decrease its status in one level and
declare it to be primary hospital, it was established to provide work space for hefty doctors and
to give qualitative service for users.
Manual file handling or data storing ; the hospital is currently using paper to do all of its
work related with patient and Employee.
It needs high effort and cost to maintain records: it is so hard for the clerks to register
new patients and to assign doctor, it is not easy for the doctor to do all the medication
manually and write prescription.
Risk on Security and controlling: the patient’s privacy is not secured because the
workers that are working in the hospital can get it easily.
It consumes a lot of time in file processing and generating reports: it takes a lot of time
to generate report because the manager should see all the patient history to get the
needed information.
It is very difficult to find particular information from the chart.
Waste of money : because of the costs that the hospital pay to print prescriptions and
other forms with its logo and by the patients side if the patient forget his chart number he
have to get a new chart so this makes it extravagancy.
There is loss of patient chart (data) because of two things; the first one is when the
patient is forgetting his/her card number. The second one is that if the clerks misplace
order of chart they cannot search and find the chart store, in both case.
1.4. Objectives
In this section we explain our general and specific objective.
Doctor: doctors in our system they can get the prescriptions easily and use them merrily not
only this the doctors can also contact with their patient using this system.
Nurse: they are the main beneficiaries of the system because it the current system they have
load on ordering which patient should they serve first. The other thing that became easy for
them is the bed management.
Customer: the main purpose of this system is to make the customers happy and make things
easy for them by giving them opportunity to see their history online and to receive
recommendations from their doctor and the pharmacist.
Lab technician: in the existing system it is hard for lab technicians to read the hand writing of
doctors and to send lab result to the doctor but by using our system we solve this two problems
Clerk: clerks the system make the work of clerks by changing the manual based registration
form digital and also the main problem of their work is totally solved because by using this
system they can search the needed charts easily by using patient id or phone number of the
patient.
Pharmacist: like lab technicians it is hard for pharmacists to read the hand writing of doctors so
we provide e prescription to solve this and the other benefit of our system is the pharmacist can
know which medicine is available in the store and also can see their expired date and discard
them from the list.
The model that we will use in our system development life cycle is the Iterative model.
Because of
Interview:
Since, interview allows the team to explore about the problem domain in detail; we have chosen
it as our primary data collection methodology.
First group members interviewed the Director of Ibex Primary hospital about all background of
hospitals, how the existing system works, what is the sequence of action to give the required
service to customers and generally about the all functionality of current system.
Observation:
We observed the work flow of IBEX primary hospital and how they are managing it. We had
followed direct observational technique to understand the problem of the existing system. Even
though interview is very important to gather information, direct observation is simpler.
Appendix [A]
JS: JavaScript is the scripting language of the Web. JavaScript use to define the content of
web pages like, css to specify the layout and JavaScript behavior of web pages.
CSS: Is designed primarily to enable the separation of document content from document
presentation, including elements such as the layout, colors, and fonts.
Mobile Phone:we used mobile phone to record sound when we interview peoples and to use its
camera.
Axis Title
Proposal
Start date
Requirment Analysis
End date
Axis Title
System Designe
Testing
Chapter two
2.1 Introduction
In this chapter we analyzed the current system and identify the problem of the existing
system in order to make out all the functional and non functional requirement of the new
system to be developed and to produce model of the new system using use case model,
activity diagram, state diagram, class, and sequence diagram.
There is loss of patient chart (data) because of two things; the first one is when the
patients are forgetting their card number. The second one is that if the clerks misplace
In general:-
Security and Controls: it is difficult to control and secure these manual records,
since it does not have any authentication and authorization system.
Searching/ accessing: The registrar wants to search a specifying document or file
he/she must retrace a lot of documents file that set in the registrar office this take a
lot of time. In the current system there is no easy way to get a customer file so to
access or to search the customer information is very difficult.
Updating:since in the current system the registrar use manual to record the
customer information. If the registrar makes a mistake he /she need to remove the
written information or need to change the file. So to update or to delete the record
information is difficult to workers.
Economic:In the existing system of ibex primary hospital many operation are
done on the paper and use a lot of man power. This cause high consumption of
resources like papers, man power, time, pen etc. Therefore the existing system
cost is in terms of the above factors very high.
Data storage problem: it is hard to access the needed data easily even if we
access it is difficult to change edit.
2.3.1. Observation:
We observed how the existing system is working and we saw forms that the current
system is using to register patients, to give appointment for patient, to write laboratory
and pharmacy prescription, and form that is used to generate report. Appendix A
2.3.2.Interview:
First group members interviewed the Director of Ibex Primary hospital about all
background of hospitals, how the existing system is working, what is the sequence of
action to give the required service to customers and generally about the all functionality
of current system, and about the History of the hospital.
Assuming what user needs and expects and we try to implement as the stallholders' need
and expectation.
The existing system has many business rules or principles some of them are:
BR1:The users have to pay money again if his chart gives service above 15 days.
BR5: The clerk should have to secure the patient personal file.
In addition, the system uses session control method for more secured working
environment. That means, any person who knows the URL (uniform resource locator) of
a specific form cannot get it directly without login. The system identifies the unauthorized
user by the incorrect entered user name and password. Any unauthorized person can't
enter in to the system. Admin system can manage all data base of the hospital. System
identifies registered person and unregistered person.
For admin:
Clerk:
Manage patients account: Clerk can create patients account and update patient’s
profile.
Assign doctor: Assigning a doctor or specialist to the patient.
View appointment.
Renew users account.
Manage own account
For customer:
View notification: View new information about healthy life style tips and
information about IBEX hospital.
Request to renew own account: after 15 days the PID will be deactivated so the
patient have pay again in order to get the hospitals service..
Give Comment: - The system shall allow users to send feedback to the hospital.
Manage own account.
View appointment.
View own history
Doctor:
View approved order: This system benefits to lab technician to view orders.
Send lab result: to upload lab results to the doctor.
Manage own account.
Pharmacist:
Casher:
Nurse:
Manage bed: view and update bed status and save it.
Update patient history.
Manage own account.
Accuracy: - there must be error handling. Operation can be done correctly and it ensures
that the information is coming from the database is accurate.
Security: - allow login to only authorized users. For security issue, only authenticated
user can visit the system. Any unauthorized user cannot access the data.
Error handling: - handles an error done by any user of the system and display error
message.
User friendly Interface: Users can easily input and retrieve their profile.
2.6.2.2. Documentation
This proposed system contains the written document that describes the project and the
detailfunction of the proposed system and the existing system. Proposal, analysis and
design of theproject, sample code of the implementation include the document of the
project.
So the performance of the organization became more efficient and effective in terms of
time, cost and quality.
Efficiency: - The proposed system can give response for micro even Pico second,
so this has fast response time.
Effectiveness: - Compared to the existing or manual system the proposed system
is effective to perform tasks.
Time consuming: - The proposed system uses less time to perform over all tasks
as compared to the manual system.
Resource consuming: - The proposed system performs tasks within a minimum
resource. Like it reduces paper consumption, reduce man power by reducing
labor work.
User error: -User may not insert may insert string but the intended is number and
vice versa, string and inserting duplicate items. The system displays message in
order to solve the problem and also give information about how to use the system.
Logging error: -The proposed system can handle errors that come at the time of
login. the user wants to login the system by incorrect user name or password the
system can identify weather the user is authorizing or not by the input password
and user name and if the input is incorrect the system handle the error and display
message to user.
Client:
Web browser
Graphics and interface tools to load display
Internet connection
2.7.1.Scenario
Doctor log in
Doctor enters username and password. The system checks weather the entered username
and Password is valid. If it’s valid doctor logs in to the system. The system displays all
available doctor operations that the doctor can perform.
Patient log in
Patient enters username and password. The system checks weather the entered username
and Password is valid. If it’s valid Patient logs in to the system. The system displays all
available Patient operations that the Patient can perform.
Lab Technician enters username and password. The system checks weather the entered
username and Password is valid. If it’s valid Lab Technician logs in to the system. The
system displays all available Lab Technician Operations that the Lab Technician can
perform.
Nurse log in
Nurse enters username and password. The system checks weather the entered username
and Password is valid. If it’s valid nurse logs in to the system. The system displays all
available nurse Operations that the nurse can perform.
Casher
Casher enters username and password. The system checks weather the entered username
and Password is valid. If it’s valid casher logs in to the system. The system displays all
available casher Operations that the casher can perform.
Clerk
Clerk enters username and password. The system checks weather the entered username
and Password is valid. If it’s valid clerk logs in to the system. The system displays all
available clerk Operations that the clerk can perform.
Pharmacist log-in
Pharmacist enters username and password. The system checks weather the entered
username and Password is valid. If it’s valid Pharmacist logs in to the system. The system
displays all available Pharmacist operations that the Pharmacist can perform.
Generate report
Admin log in to the system with username and password and select main generate report.
System display generate report menu. Admin select view report. The system displays
report.
Accept patient
Doctor log in to the system with username and password and select accept patient menu.
Patient log in to the system with username and password and select view appointment
menu. The system displays to use view appointment form. Patient fill the required
information and if patient appointment fill the system displays the message set
appointment is valid else invalid.
Doctor log in to the system with username and password and select view lab result menu.
System display list of patient lab result.
Lab technician log in to the system with username and password and select view
approved lab order menu. System display list of approved lab order.
Manage drug
Pharmacist log in to the system with username and password. System display Pharmacist
home page. Pharmacist select the manage drug menu and search or view by drug id. If
drug is present system display drug information.
Manage bed
Doctor log in to the system with username and password and select bed men. System
display list of type of bed.
Admin log in to the system with username and password and select view feedback menu.
System display feedback of the system.
Assign doctor
Clerk log in to the system with username and password and select view assign menu.
System display list of the list and assigned doctor.
Choice doctor
View notification
Patient log in to the system with username and password and select the view notification
menu. System displays the notification information of patient.
Lab Technician enters username and password. The system checks weather the entered
username and Password is valid. If it’s valid Lab Technician logs in to the system. The
system displays all available send lab order that the Lab Technician send by appropriate
order can perform.
View recommendation
Patient enters username and password. The system checks weather the entered username
and Password is valid. If it’s valid logs in to the system. The system displays all available
recommendation Operations that the patient can perform.
Approve payment
Casher enters username and password. The system checks weather the entered username
and Password is valid. If it’s valid casher logs in to the system. The system displays all
the approve payment available casher Operations that the casher can perform.
the steps a user will take to accomplish a particular task on your system
the system should respond to a user's actions
A use case begins with a user's goal and ends when that goal is fulfilled. The use case
diagram below shows the user’s tasks perform on the IBEX primary hospital.
Actors Admin, Patient, Nurse, Doctor, lab technician, pharmacist, Clerk, Casher
Description How actors uses this form to log into the system.
Pre-condition The actors should be registered first or need to have an account with valid
username and password to login.
1.2 The system informs the user to re-enter username and password up to 3
trials.
B2 If the user forgot the user name and password display reset user name
and password page.
Actor Clerk
pre-condition The Clerk must login to the home page of the system.
Post condition The actor gets the new password and can login by new
password.
Actors Patient
Actor Admin
2. Open comments
page.
Actor Admin
pre-condition The Admin must login to the home page of the system.
Actor: Admin
Description: Admin prepare a report about the overall work of the hospital
Alternative flow of A4.If the fill form is invalid system display the form again
event
Actor Pharmacist
Actor Admin
Description Administrator can post, update, and delete information in the home
page.
Pre-condition The system admin must login the home page of the
Administrator
Actor Clerk
Alternative course of action A1.if card number inserted is not found, system
displays error message and back to the flow step
4.
button
Actor Nurse
1. Patient clicks the link view. 2. The system will display the
3. End use case. available patient history list.
1. Patient clicks the link view 2. The system will display the
notification. available notification.
7. End use case.
Post condition Patient knows the status of the hospital and get healthy life style
tips from the hospital.
Table 25: Use case description for request to renew own account
1. actor clicks the link view 2. The system will display the
order. available order.
3. End use case.
Post condition The system show successful message.
Participating actors:
UML sequence diagrams model the flow of logic within our system in a visual manner,
enabling us both to document and validate our logic and are commonly used for both
analysis and design purposes.
CHAPTER THREE
3.1 INTRODUCTION
System design is the transformation of the analysis model into a system design model. Up
to now team member were in the problem domain. System design is the first part to get
into the solution domain in a software development. This chapter contains the description
and design diagram of proposed software architecture, overview of the design system,
decomposition of subsystem, diagram of component, deployment diagram, persistent data
management such as database design, access control and security and the detail of class
diagram.
3.4.1 Overview
The purpose of designing is to show the direction as to how application is developed and
to obtain clear and enough information needed to derive the actual implementation of the
application. The work is based on the services provided in the internet to customer. Once
the services is available based on the customer request the services will be delivered with
each specific privilege to access, to receive, to visit site. The architecture used for the
system is a 3 level client/server architecture where a client can use internet browsers to
access the online IBEX primary hospital management system within the local area
network of the agency or anywhere using the internet. It stores these data in a relational
database management system. The middle level (web/application server) implements the
business logic, controller logic and presentation logic to control the interaction between
the application’s clients and data. The controller logic processes client requests such as
Computer science Page 58
Ibex Primary Hospital Management System 2011
requests reservation and show services provided the printing enterprise ssystem services
from the database. Business rules enforced by the business logic dictate how clients can
and cannot access application data and how applications process data.
When
en a request is made on a web page through the browser, PHP that is residing on the
web server processes the request. It connects to the database to retrieve the requested
information and sends its response back to the browser which displays the output on
another web page. The advantage of this architecture is that the database is more secured
as it is only accessible by the application logic that resides on the web server.
The following are the sub systems that are derived from the functionality of the system of
ibex hospital management:--[13]
Application Logic
IPHMS server
Patient management
Employee
management
Account
Laboratory management Notification
management management
Account Management
Employee management
Patient management
Pharmacy management
«HTML» «SQL»
IPNMS Client IPNMS Storage
Laboratory
management
Drug management
Notification
management
Feedback management
Appointment
management
Report management
Bed management
keys index and integrity rules. A DB schema specifies details based on the capabilities,
terminologies, and constraints the chosen DBMS.[14]
Actor Privilege
Admin Control system()
Manage account()
View information()
Patient View appointment()
View own history()
Send comment()
Doctor Set appointment()
Manage own account()
Generate report()
Send lab order()
Nurse Admit patient()
Give medication()
Manage blood bank()
Manage ward()
Manage own account()
Generate report()
Lab Technician View lab order()
Report lab result()
Manage own account()
Generate report()
Chaser Register cash ()
Manage own account ()
Generate report ()
Pharmacist Manage drugs()
View medication order()
Generate report()
Manage own account()
Clerk Register patient ()
View appointment ()
Generate report ()
Manage own account ()
Interface
IPNMS Client
Application logic
server
IPNMS Client
Application Logic
Notification management
Laboratory management Drug management
Storage
IPNMS Client
Chapter Four
Implementation
1 1
Customer Medhistory
1 *
Doctor CustomerInfo
* *
User Notification
Uid Type
1 *
Administrator Notification
Uid Type
<?php
session_start();
include("connection.php");
?>
<!DOCTYPE html>
<head>
<title>IHMS</title>
</head>
<body>
<div id="wrapper">
<div id="header">
<table>
<tr><td><strong>E-mail:</strong></td></tr>
<tr><td><strong> Password:</strong></td>
<tr><td><strong>Remember?</strong>
<tr><td><button name="login">Login</button></td></tr>
</table>
Create an account</a></p></div>
<?php
$_SESSION['curd']= date('Y-m-d');
include("connection.php");
if(isset($_POST['login'])){
$email=$_POST["email"];
$pass=$_POST["pass"];
$result=$con->query($get_user);
if($result->num_rows>0){
while($row=$result->fetch_assoc()){
$_SESSION['photo']=$row["user_image"];
$_SESSION['roll']=$row["roll"];
$_SESSION['logemail']=$row["email"];
$_SESSION['loguname']=$row["uname"];
$_SESSION['uide']=$row["uid"];
$_SESSION['Date']=$row["Date"];
$disD=strtotime($_SESSION['Date']);
$curd=strtotime( $_SESSION['curd']);
$diff=$curd-$disD;
$_SESSION['netday']=floor($diff/(60*60*24));
if($_SESSION['netday']>15)
if($con->query($qry)===true)
if($_SESSION['roll']=="Clerk"){
echo"<script>window.open('clerk/clerkhome.php','_self')</script>";
elseif($_SESSION['roll']=="Casher"){
echo"<script>window.open('casher/casherhome.php','_self')</script>";
elseif($_SESSION['roll']=="Doctor"){
echo"<script>window.open('doctor/doctorhome.php','_self')</script>";
elseif($_SESSION['roll']=="Nurse"){
echo
"<script>window.open('nurse/nursehome.php','_self')</script>";
elseif($_SESSION['roll']=="Admin"){
echo
"<script>window.open('admin/adminhome.php','_self')</script>";
elseif($_SESSION['roll']=="Lab_technitial"){
echo
"<script>window.open('lab/labtechnicialhome.php','_self')</script>";
elseif($_SESSION['roll']=="Patient"){
echo
"<script>window.open('patient/patienthome.php','_self')</script>";
elseif($_SESSION['roll']=="Pharmacist"){
echo "<script>window.open('pharmacist/pharmacisthome.php','_self')</script>";
elseif($result->num_rows==0)
$result=$con->query($user);
if($result->num_rows>0)
while($row=$result->fetch_assoc()){
$_SESSION['department']=$row["department"];
$_SESSION['logemail']=$row["email"];
$_SESSION['loguname']=$row["uname"];
$_SESSION['password']=$row["password"];
echo "<script>window.open('doctor1/doctorhome1.php','_self')</script>";
elseif($result->num_rows==0)
}}}?>
<div id="footer">
<?php
include('footer.php');
?>
</div> </div>
</html>
<?php
session_start();
require("../connection.php");
include("functions/functions.php");
$_SESSION['count']=0;
if(!isset($_SESSION['email'])){
header("location:../logink.php");
?>
<!DOCTYPE html>
<html>
<head>
<title>IHMS</title>
</head><body>
<div id="wrapper">
<?php
include('header.php');
?>
<?php
include('navigation.php');
?>
</td>
<td width="60%">
<div id="content_timeline">
<?php
$run_members =
mysqli_query($con,$get_members);
while($row = mysqli_fetch_array($run_members)){
$user_id = $row['uid'];
$user_name = $row['uname'];
$user_image = $row['user_image'];
?>
</div>
</tr></table>
</span>
</td><td width="25%">
<?php
include('../calander.php');?>
</td></tr>
<tr><td colspan="3">
<div id="footer">
<?php
include('footer.php');
?><
</div> </td></tr></table></div>
</body>
</html>
<?php
session_start();
require("../connection.php");
$result=$con->query($qry);
$order=mysqli_num_rows($result);
$result=$con->query($qry);
$pr=mysqli_num_rows($result);
if(!isset($_SESSION['email'])){
header("location:../logink.php");
?>
<!DOCTYPE html>
<html>
<head>
<title>IHMS</title>
</head>
<body>
<div id="wrapper">
<?php
include('header.php');
?>
<?php
include('navigation.php');
?>
</td>
<td width="60%">
<?php
require("../connection.php");
$result=$con->query($qry);
?>
<tr bgcolor='#69a3d6'>
<th>Patient card-number</th>
<th>patient name</th>
<th>selected doctorid</th>
<th>selected doctor-name</th>
<th>Date</th>
<th>Status</th>
<th>Option</th>
</tr>
if($result->num_rows>0){
while($row=$result->fetch_assoc()){
$_SESSION['pid']=$row["pid"];
$_SESSION['cardno']=$row["cardno"];
$_SESSION['pname']=$row["pname"];
$_SESSION['docid']=$row["docid"];
$_SESSION['docname']=$row["docname"];
$_SESSION['date']=$row["Date"];
$_SESSION['status']=$row["status"];
echo"<tr>";
echo"<td>". $row["cardno"]."</td>";
echo"<td>". $row["pname"]."</td>";
echo"<td>". $row["docid"]."</td>";
echo"<td>". $row["docname"]."</td>";
echo"<td>". $row["Date"]."</td>";
echo"<td>". $row["status"]."</td>";
echo"</tr>";
}else
?></table>
</td><td width="25%">
<?php
include('../calander.php');
?>
</td></tr>
<tr><td colspan="3">
<div id="footer">
<?php
include('footer.php');
?>
</div> </td></tr></table></div>
</body>
</html>
<!DOCTYPE html>
<html>
Computer science Page 82
Ibex Primary Hospital Management System 2011
<head>
<title>IHMS</title>
</head>
<body>
<div id="wrapper">
<div id="header">
</td><td></td><td style="align:right;width:25%">
</td></tr> </table>
</div>
<li>
<div>
<td width="60%">
</tr></table>
<center>
<table>
<option>Patient</option></select>
</td>
</tr>
</tr>
</tr>
</tr>
<script>
var i;
coll[i].addEventListener("click", function() {
this.classList.toggle("active");
content.style.display = "none";
} else {
content.style.display = "block";
});
</script>
<?php
require("connection.php");
if($con)
if(isset($_POST['submit']))
$u_type=$_POST["u_type"];
Computer science Page 85
Ibex Primary Hospital Management System 2011
$un=$_POST["un"];
$pw=$_POST["pw"];
$_SESSION['date']=$_POST["date"];
if($con->query($query)===true)
else
die("Connection Failed:");
?>
<center> <table><tr><td
width="100px"></td><td>
</form>
</span></td>
<td width="25%">
<tr><td colspan="4">
<?php
include('footer.php');
?>
</div> </td></tr></table></div>
</body>
</html>
Chapter Five
CONCLUSION
This system development project includes two phases; the first phase deals with the
analysis and requirement phase of the life cycle and the second phase deals with the
Design phase. At the end of the first phase, we reviewed our plan in order to understand
how much we succeed our goal. Team member start this work by identifying the
significance of automated system for IBEX primary hospital and the overall method
wehad used for the development process are:
The business area analysis helps the team to truly understand the major functional areas
and processes of the system. Through this we evaluated the weakness and strength of the
existing system.
After that, team member performed requirements analysis to discover user and system
requirements. This phase consisted of the functional as well as non-functional
requirements of the system development.
Then we undertake the major phase in system development process object oriented
analysis. Here, we tried to model the new system we proposed using UML
diagrams: Use case, sequence, activity and class diagrams Also, we designed the new
system user interface prototype by using different software.
5.2 RECOMMENDATION
According to scope of our project the team develops the online web based application for
IBEX primary Hospital, in the future the team member recommended the following
things to be added:
1. We develop this web site for only IBEX primary hospital if there exist a case that
needs to be referred for Gondar referral hospital the system of the two hospitals
must be connected with each other and to connect them first there have to be a
developed system for Gondar referral hospital.
Appendix[A]
Reference
[3].Scott W. Ambler. (2003).Agile development for use case diagram with UML
(3rdEdition)[Online].http://www.agilemodeling.com/artifacts/useCaseDiagram.htm.availa
ble (January, 01, 2011).
[4]. I.Booch, “Object-Oriented Analysis and Design with Applications “, Third Edition,
USA, Addition-Wesley, April 2007.
[5]. Scott W. Ambler. (2003).Agile activity diagram Development with UML (3rdEdition)
[Online].http://agilemodeling.com/artifacts/activityDiagram.htm available (January, 10,
2011)
[7].Scott W. Ambler. (2003).Agile development for use class diagram with UML.
http://www.agilemodeling.com/style/classDiagram.htm. Available (January, 10, 2011)
[8]. https://www.smartdraw.com/sequence-diagram/
[9].https://www.tutorialspoint.com/software_engineering/software_user_interface_design.htm
[10] Object-oriented SoftwareDevelopment, Conclusion third edition by Elefelious
Getachew, on November,2011.
https://creately.com/diagram/example/gqz0nrua1/Component+Diagram [Accessed 12
November 2018.
Glossary
Class Diagram: Is a type of static structure diagram that describe the
structure of a system by showing system classes, their
attribute, operation and the relationship among the class.