Hospital Location System Using Google Map
Hospital Location System Using Google Map
It is estimated that an average human being will fall ill more than three times every
year. People are always looking for different hospitals to solve their health
challenges and they don’t know the directions and the route to be followed to get to
this places. Without knowing the right routes and directions, this may cause ill
persons to get to the wrong way, which might lead to death, in cases of emergency.
system, developed to help users to get the right directions to different health
centers. This project introduces an application that can be easily accessed, which is
implemented to provide the routes, directions, traffic update and see other hospital
users reviews about the hospitals using Google map. (Poissant et al., 2019).
1.1 INTRODUCTION
One of the most important uses of smartphones is Location Based Services (LBS).
chip that support the Global Positioning System (GPS). Using GPS along with
Google map can help the user to discover the nearby bookshops, restaurants, etc
(Tanenbaum & Andrew: 2020). Most people today use mobile phone to navigate
around the world. Many of users are using applications that providing directions,
1
places or other information that are based on the current location (Ibach &
Horbank: 2019). The popularity for this type of applications (LBS) is led to
develop an application in this field. Most of free software and commonly used
applications do not meet the needs of the user in term of interactivity with the user.
locations on a map. However, online map applications do not support the ability to
Globally, health care sector is the pivot and integral part of human lives. Thus, any
delay in the clinical services might leads to defect or termination of life (Gupta &
extensively to improve the various operations and services in the field of the health
special internally equipped chips that support the Global Positioning System
(GPS). Using GPS on our smartphones together with Google map can assist users
to easily find nearby bookshops, restaurants, bus-stops, cinema etc (Pejic et al.,
2020). Vast majority of people today utilize mobile phone to explore and navigate
easily around cities. Many of these users are using this location application to find
directions, places or other information that are based on the current location. The
2
popularity for this type of smartphone applications (LBS) has led to the
large portion of this free software do not meet the needs of the users in term of
finding hospitals and getting quick routes in case of emergency with the patients
The essence of this study is expected to provide information quickly and accurately
Emergencies can happen anytime and anywhere. The best decision is needed in
cannot think logically. People are always looking for different hospitals to solve
their health challenges and they don’t know the directions and the route to be
followed to get to these places. Without knowing the right routes and directions,
this may cause ill persons to get to the wrong way. To avoid this situation, this
3
1.3 AIM AND OBJECTIVES OF THE STUDY
Aim
The main aim of the research is to provide an online hospital location system,
developed to help users to get the right directions to different health centers using
Google maps.
Objectives
Provide a system that users can access whenever they need to find a hospital.
Find hospital routes and estimated arrival time with the system.
Scope
money that worth the life of any individual, therefore a GPS approach for
developing hospital location system shall be enhanced. With the help of this
project sick patients and other users can easily find hospitals and other health
facilities, and the system will solve the challenges of people going to the wrong
4
hospital, since each hospital on the system will have previous users’ reviews and
recommendations.
Limitation
travel distance and time of the medical services near us. However, the significance
to enable them to search and locate where medical attention can be provided,
Hospital: an institution that is built, staffed, and equipped for the diagnosis of
disease; for the treatment, both medical and surgical, of the sick and the injured;
occurrence.
6
CHAPTER TWO
Literatures related to the research topic have been reviewed below in order to find
out work carried out by various researchers. There are many systems for location
from simple applications to display just a few points of interest with information
reader, smartphone GPS, and cloud database to obtain required web services (Yang
problem for emergency services such as ambulance and fire department. Their
7
services within an unpredictable environment. Their study aims to obtain the most
excellent locations for emergency services so that certain service-level targets are
optimized.
András Király and János Abonyi (2020) researched a logistic problem by using
Google Maps API and MATLAB to gives a complete framework for travel time,
Tauhidul Alam and Rajib Chandra did research using Open Street Map and
system for gathering detail information of healthcare centers (Rajib C. & T. Alam,
2018).
Porta-Sales et al. (2015) developed another system. The main concept of the
expert nurse and the patient initiating contacting with the health care center using
the telephone. Moreover, the health care center can be accessible from different
different sources, from other hospitals, from general practitioners, or even from the
patients themselves.
8
Scholefield developed a web-based map service for tourism of eighteenth and
nineteenth century Edinburgh using Google Map API. Pejic et al. (2019)
Bildirici and Ulugtekin (2020) demonstrates a web mapping service with Google
Maps (API V2) mashups in which points, polylines and polygons from the data
stored in Keyhole Markup Language (KML), XML and Geodatabase format are
Liu and Palen (2018) study the use of Google Maps mashups in the crisis
management for nine natural disasters such as earthquakes, fires, and so on using
near real-time and publicly available data feeds. Another study from Wayne and
online system which has the ability to help travelers to determine their locations.
The implemented method of the system has been using the language of the PHP
9
Shunfu and Ting from the University (Edwardsville) in the state of Washington in
the United States develop a mapping service on the Internet to view thousands of
parks in U.S. states on the internet for the U.S. Department of Agriculture using
Google Maps, and a database of Microsoft SQL and ASP. NET, and is applied to
the major browsers such as (Chrome, Firefox, and IE) (Hu, S. and T. Dai, 2020).
the patients, ability to meet needs and effective use of the resources. In system
design, new or alternative information is designed, this phase consists of three tasks,
systems. Economic analysis is the most frequently used method for evaluating the
this we weigh the cost and the benefits associated with the proposed system and if
it suits the basic purpose of the hospital. However, the estimated cost of developing
using monetary value, as the cost is high, but, no value of money worth the life of
10
any individual who need medical attention. It shall create an enabling environment
A feasibility study aims to objectively and rationally uncover the strength and
information upon which decisions can be made. The system shall provide an avenue
for users to easily track and navigate to the nearest health care providers.
The technical feasibility is used to weigh the hardware as well as software needed
11
Since all the technical requirement of the system is available and the required
feasible.
system investigation, to see how they can operate and profer ways for
improvement. The analysis of the existing system and new system is described
from the research known as fact finding. Therefore, the process and method used
entails the way and how records and data is collected for the purpose of developing
The method of data collection used in this project work highlight the vulnerability
The source of data collection used for this project work is categorized into primary
12
i. Primary Source
These are method of data collection collected from the staffs and also from
observation. Some of the patients were interviewed to share their feelings and
experiences about the manual system of hospital location system. They stressed
that the manual system is strenuous and inefficient because without knowing the
right routes and directions to nearest hospitals, this may cause ill persons to get to
This includes the use of newspapers, magazines, journals and surfing the
Interview method:
This is the technique use for collecting information from others on one to one bases
(primary source).
This process is done or carried out by face to face interview with the staffs and also
from patients visiting different hospitals randomly. In the process questions were
asked and directly answered. The interview was successful knowing the procedures,
13
Some of the questions asked and answers obtained include:
Response: People are always looking for different hospitals to solve their
health challenges and they don’t know the directions and the route to be
followed to get to this places. Without knowing the right routes and
directions, this may cause ill persons to get to the wrong way, which might
travel distance and time of the medical services near us. The existing system is
manually operational, one will need to travel to a very long distance without
knowing if there is a nearer health facility, this might be because the person has not
visited that particular place before, which can cause a worsen condition for the
The majority of studies have assumed that a patient in need of medical attention is
saddled in finding where he/she can be attended to. In the existing hospital location
14
system, it is observed that health centers are not easily located, because most of the
health care centers uses only bill boards for navigation, this is usually time
efficiency.
Hospital location system using google maps that will keep track of the nearest
health care providing centre to patients, the system shall allow for them to easily
Compared with other methods, the online appointment system has three
advantages:
1. Find hospital routes and estimated arrival time with the system.
services provided.
15
CHAPTER THREE
System design refers to the details that state how a proposed system will solve the
problem and meet the requirements that arise during the analysis of a system. This
includes decisions about what the new or modified system must do and how.
lends itself to larger contents collection because the section page breaks up and
organizes the contents at different level. Navigation is primarily linear within the
pages. The structure encourages exploration within pages, allowing the user to
navigate freely through the program. All pages contain navigation arrow linking to
16
Home
User Login
Registration
User
Admin
DATABASE
describes the general procedure and methodology involve in initializing the data
17
collection in order to accomplish the logical desire of the system under study. The
procedures for this research are summarized under the following heading:
Input Specification
It is necessary for the designer to strategize the design of the new system through
the input specification i.e. knowing those inputs to the system for which the system
is expected to generate the required output. The input designs of the proposed
This function can start with pressing long click on the map (Event:
onMapLongClick). This will bring the coordinates of the marker of location on the
map. After that, a new request information window will be appeared. The user can
fill out the window with the specified information. It requires the following details:
Location coordinate Input text field that allow user to enter qualification
18
Input text field that allow user to enter location
Location
rate/information
rate/information
Output Specification
The output design that can be generated from the system, this depend on the type
doctors’ registered, patients’ details etc. The output is designed in such a way that
user receives understandable information that is used for decision making. The
user must be able to easily find the output, move forward and backward and exit
the report and the timing of computer outputs information must reach the user to
location by pressing on it to bring the coordinates of the location on the map. The
on the information window, a new window will be appeared having two options.
Choosing the “Show Info” option will displaying the related location information
from the database server. The displayed in formation consist of (location name,
19
Table 3.2 Output specification
category
qualification
belonging to PHP and HTML. For the appropriate management of users and data,
View locations
Hospital Locator Delete location
20
USERS’ NAME:
GENDER:
REGISTER USER
Place Name:
Longitude:
Latitude:
Place Information:
Zoom level:
Category:
Rate:
ADD LOCATION
21
3.4 DATA STRUCTURE
The data structure of the proposed system is shown on the table below having the
WIDTH
1. Title Varcher 15
2. Name Varcher 35
4. Gender Varcher 30
1. Main menu
Start
If option = (Login)
Load available sub-modules
Else if
Option= (Add location)
22
Load Add location module
Else if
Option = (Delete location)
Load delete location module
Else if
Option = (Hospital locator)
Load hospital locator module
Else if
Option = (Generate visitors list)
Load visitors list module
Stop
2. Login module
Start
Else if
Else
Stop.
23
CHAPTER FOUR
System implementation refers to the actual design of the program using the algorithm
which must be drafted in the system design phase. It is the realization of the technical
Designing of Electronic hospital Location system using google map requires choosing
appropriate computer programming language compiler that could be used for application
development needed to solve the problem of this system. Therefore the programming
PHP,a scripting language designed specifically for use on the Web, it is a tool for
creating dynamic Web pages. Rich in features that make Web design and programming
easier, PHP is in use on over 13 million domains (according to the Netcraft survey at
fulfilling its function pretty well. PHP stands for: Hypertexts Preprocessor.
The reasons why PHP and MySQL are used for the development of the new system are
24
- It’s secure. MySQL’s flexible system of authorization allows some or all database
privileges (for example, the privilege to create a database or delete data) to specific
- MySQL is a fast, easy-to-use RDBMS used for databases on many Web sites. Speed
more. The default file size limit for a table is 4GB, but you can increase this (if your
operating system can handle it) to a theoretical limit of 8 million terabytes (TB).
- It’s customizable. The open source GPL license allows programmers to modify the
The requirements for the proposed system are viewed under two (2) perspectives;
The hardware component of a computer system refers to the physical part that makes
up the computer system. For an effective operation, the system can be implemented
provided the following hardware components are at least met. The following
25
- 1. Storage: 13-20 gigabyte of storage.
dependencies:
Web Browser
26
Microsoft Windows Family (XP, Vista, Win 7 and above)
This is the process where the new developed program is loaded into the computer
This process is through the use of a CD/DVD or flash memory where the program
The first step is to confirm if localhost server is installed on the system (e.g.
After WAMP server is installed the next step is to copy the folder of the entire
program found in the CD/DVD or flash memory then save into WWW
27
successfully, then the program is ready to use just go the browser and type on the
In general, testing is designed to make sure the product performs as desired, the
debugging which comes from the programmer who attempt to eliminate bugs or
errors in computer programs. The following are the errors that are realizable during
Data Format Error: This is error due to invalid data input in a field requiring
System.Data.SqlClient.SqlException.
InvalidOperationException.
o Parallel system change over:- both the new system and the new system are
used together for some time before the old system is discarded
o Pilot system change over;- the old system will not be completely discarded
while some part of it will remain and will be used together with the new
developed system. There is need for the user to get use of the new system
o Direct system change over: the new system is put into use directly and fully
without working with the new system. I.e. the old system is completely
For effective use of the new system, it will be of help to use the above methods of
programmers and computer users can execute operations of the program in a much
easy and efficient way. This sections breaks down the functions and operations of
29
various modules working in the new system. Due to the nature of this project work,
30
CHAPTER FIVE
5.1 SUMMARY
This project work comprises of chapters one to five. Chapter one comprises of
introduction, structure of the problem, Aim and Objective, Scope and limitation,
Significant of the studies, and the definition of terms. Chapter two comprises of
literature review, system analysis, feasibility studies, fact finding, analysis of the
existing and system of the problems. Chapter three tells about the system design,
Architectural design, and abstract specification, interface and data structure design.
While chapter four deals with the implementation of the system, documentation,
software requirement, process of installation, and system change over. Chapter five
5.2 CONCLUSION
This paper has demonstrated an online mapping application that shall be developed
using Google Maps API, Google Direction API, MySQL Database and PHP. These
tools are open source and high reliability. This project help tourist or any user use
31
it to add place on map or can delete place from map or review the information
about any place on map, also can calculate route, duration and distance between
any two points or place on map. In order to provide the user with interaction with
the map, in addition, tooltips (e.g. place name) to the markers are provided; this is
5.3 RECOMMENDATIONS
People are travelling to many different places and they are unknown the directions
and the route to be followed. Without knowing the directions, this may Cause to
get the wrong way. To avoid this situation, many mobile applications are
developed to help people to get the right directions. There is always a room for
improvement in the future. Therefore, I will recommend that this proposed method
can be integrated with other Google Maps API features such as traffic direction,
32
REFERENCES
33