You are on page 1of 6

International Conference on Complex, Intelligent and Software Intensive Systems

Ontology Based and Context-Aware Hospital Nurse Call Optimization

F. Ongenae, M. Strobbe, J. Hollez, G. De Jans, P. Verhoeve


F. De Turck, T. Dhaene, P. Demeester Televic R&D
Ghent University Leo Bekaertlaan 1
Gaston Crommenlaan 8, bus 201 8870 Izegem
B-9050 Gent, Belgium Belgium
Email: Femke.Ongenae@intec.ugent.be Email: p.verhoeve@televic.com

Abstract context information. Next, an algorithm was constructed


that relied on the context information in the ontology. This
In this paper, the focus is on how context information way, the algorithm was more sensible to the varying condi-
can be efficiently modeled with an ontology. This ontology tions of the environment. The application was implemented
can than be used by reasoning algorithms which are based by extending the CASP (Context-Aware Service Platform)
on this context information. This is illustrated with a use context framework. This consists of a collection of applica-
case which studies the evolution from a place oriented to a tions (bundles) for OSGi. At last, a simulation was set up to
person oriented nurse call system. show the advantages of this new approach.
An ontology was designed which holds the necessary
context information. A nurse call algorithm that uses this 1.2. Related work
information was constructed. The CASP Context frame-
work was extended to implement the use case. This frame- Context-awareness is a hot research domain, with inter-
work is bases on an OSGi framework. Rules are formulated esting topics such as context modeling, infrastructure sup-
to implement the algorithm. OWL was applied to integrate port for querying and reasoning on contextual information
the ontology into the framework. A Web Service interface using an inference engine and so on. In [9] an adaptable
was designed which allows to insert new information into and extensible ontology is proposed for creating context-
the Knowledge Base or extract information from it. At last aware computing infrastructures, ranging from small em-
a simulation was set up to show the advantages of the per- bedded devices to high-end service platforms. In [11] an
son oriented approach. The results of a performance study OSGi-based infrastructure for context-aware applications is
are shown as well. proposed.

1.3. Paper organization


1. Introduction
This paper is organised as follows: the second section
1.1. Situation explains the use case discussed in this paper namely the evo-
lution from a place oriented to a person oriented nurse call
system. The third section shows how the ontology and the
Context information becomes increasingly important in new nurse call algorithm are designed. The fourth section
a world with more and more wireless devices that have to be sheds some light on the implementation details. In the fifth
in touch with the environment around them. In this article section a simulation demonstrates the advantages of the new
it is shown how this context information can be efficiently approach.
modeled and used by employing an ontology. It will also
be shown how this ontology can be used for reasoning with
a Rule-based algorithm to obtain answers which take the 2. Context-aware use case
context information into account. The use case that will be
studied in detail is the evolution of a place oriented nurse 2.1. Introduction
call system to a person oriented one.
First, an ontology was designed in an iterative way by The current nurse call systems are organized according
studying relevant situations and extracting the necessary to rooms: each room (or bed) has a (fixed) button which

0-7695-3109-1/08 $25.00 © 2008 IEEE 985


DOI 10.1109/CISIS.2008.80
overlap. To make a call the patient pushes one of the but-
tons in his room. All the beepers of the nurses, who are in
the group that is responsible for the section of rooms that
this room belongs to, are activated. Each nurse decides on
his own if he is going to interrupt his current task to answer
the call or not. The nurse who reaches the room first (and
pushes a button that acknowledges his presence) will handle
the call.
Figure 1. Place oriented nurse call system
and algorithm. 3. Context Study

can be used by the patients to call a nurse. In such a place The evolution to a person oriented system demands a
oriented system the called nurse simply goes to the room good understanding of the context of a hospital to achieve
where the call came from. Herewith two important assump- a more efficient nurse call algorithm. A patient can for ex-
tions are made: the patient must still be in the room and it ample move all over the hospital to make a call. Therefore,
must be the patient who lies in the room that made the call. a nurse who works in the department of the patient is not
In the future, there will be an evolution to a (mobile) but- necessarily near to the patient and may thus not be the best
ton for each patient so that they can walk around freely and candidate to answer the call. This was not a problem in the
still make calls. The system would become person oriented. place oriented system as the rooms were static. So nurses
This evolution implies a lot of changes, e.g. the nurse has who worked within a certain department would always be
to go to the exact location of the patient (not his room), the near the rooms in that department.
patient can make call from anywhere in the hospital and so It is important to have access to context information such
on. This huge impact is comparable to the introduction of as the location and risk factors of the patient, the character-
the mobile phone. In the past we used to call to a telephone istics of the hospital staff and the infrastructure of the hospi-
(a place) and ask for the correct person. Now we call a tal. This information can be used to determine which nurse
mobile phone and we immediately expect to have the right should be called for which patient at a certain moment.
person on the line. The owner of the mobile phone does not Ontologies can be used to structure and represent knowl-
need to be in his house, but is reachable all over the world. edge about a certain domain in a formal way. A person
oriented ontology was developed which represents the nec-
2.2. Place oriented nurse call system essary context information. The ontology and the nurse
call algorithm were developed simultaneously. A couple
The current nurse call system can be viewed in Fig. 1. of concrete situations were studied. For each situation the
Each room has at least one button which can be used by relevant context information was extracted and the ontol-
the patient to call a nurse. All the buttons in a room are ogy was augmented with it. A generic optimal solution (in
connected to a node. This node has the intelligence to know terms of which nurse should be called) was also devised for
what must happen inside the room when a call is made e.g. each situation. The combination of the optimal solutions for
buzzers start making sounds, lights switch on and so on. All these different situations resulted in the algorithm. It took
the nodes (rooms) of a department are connected with each several iterations and meetings with domain experts to get
other and eventually connected to a Controller. the desired ontology.
The controllers are the heart of the system. Each con-
troller has the intelligence to know what must happen when 3.1. Person oriented ontology description
a call is made in one of the rooms that it is responsible
for. It knows for example which nurses must be called. A short, but complete definition of an ontology is given
Once a controller is configured it can work completely au- in [4]. “An ontology is a specification of a conceptualiza-
tonomous, without help from a person or pc. The controllers tion in the context of knowledge description.” An ontology
can be connected to each other and with a pc through an IP describes formally the entities within a certain domain, their
network. This pc can be used to change the configuration. properties and their relations. This allows a computer to
reason about this knowledge. Therefore, ontologies are the
2.3. Place oriented nurse call algorithm ideal way to store context information.
The following situations were studied to gradually ex-
The place oriented nurse call algorithm divides the tend the ontology with relevant context information. These
nurses in a department into groups. Each group is responsi- situations were discussed and constructed in collaboration
ble for a section of rooms. It is possible that these sections with the domain experts at Televic NV [12]. First, the dif-

986
ferent possible kinds of staff members, who were able to
answer calls, were studied. Next, the influence of the loca-
tions of the patients and the staff members was taken into
account. Different kinds of calls were also distinguished.
The possibility for patients to prefer to be treated by cer-
tain kinds of nurses was modeled by allowing patients to
identify characteristics (e.g. language, sex) that the nurse
must have. Nurses can also specify that they do not want to
treat certain patients.
The administrative needs of the overall system were also
considered e.g. knowing the names of the patients/beds.
The current status of the staff member is an important
factor. A staff member can be occupied with completing a
certain task. Each task has a priority ranging from 1 (low) to
10 (high). For each staff member a list of tasks that he must
do can be stored. Devices must also be modeled as they can
also launch calls (e.g. when a heart monitor is unplugged
accidentally, it launches a call).
In the last stage the possibility was added to identify risk
factors for patients (e.g. heart patient, high cholesterol). By
doing so, their calls receive a higher priority.
Finally, the status of a call was added. When a call is
launched, its status is active. It changes to answered when a Figure 2. The person oriented ontology.
staff member is on his way to the patient. If a staff member
is actually treating the patient, the status changes to busy. tient is searched. If he is free and in the vicinity,
When the call is completely handled, the status becomes he is called. If he is occupied and his current task
finished. has a lower priority, he is also called.
An outline of the resulting ontology (showing the most – If the responsible helper cannot be called, all the
important concepts) is shown in Fig. 2. The squares depict helpers are searched who work on the depart-
the different entities (classes) in the domain and the arrows ment from where the call originated. From this
signify subsumption. The ovals determine the properties of group all the helpers who are not free, are not
the entities that they are connected to. The lines depict the willing/qualified to treat the patient or are not in
relations between different entities. The cardinality of each the vicinity are removed. From the remaining
entity within the relation is also given (* means 0 or more). helpers, the one who has the most characteristics
in common with the preferences of the patient is
chosen. If there are no characteristics given, the
3.2. Nurse call algorithm nurse who is the closest to the patient is chosen.
– If the result is empty, the search is broadened
A new algorithm was designed to find the correct staff beyond the helpers of the department. All the
member to handle a certain call. It makes use of the infor- helpers who are qualified to treat the patient are
mation stored in the ontology. An outline of the algorithm, searched. All the helpers who are not free, are
which shows the important features, is given below. It first not willing to treat the patient or are not in the
determines which kind of call has been made: neighborhood are filtered. From the remaining
• Urgency call: The closest (to the origin of the call) group the one who has the most characteristics
member of a urgency team who is not already handling in common with the preferences of the patient is
a urgency call is searched. Then the entire urgency chosen. If there are no characteristics given, the
team to which this person belongs is called. The prior- nurse who is the closest to the patient is chosen.
ity lies here on finding a person who is near instead of – If the result is empty again, this means that there
a person who is free. are no available helpers in the direct vicinity. The
• Normal call: The part of the algorithm to call a helper distance becomes a deciding factor at this mo-
consists of a number of steps: ment. So the group of qualified helpers is se-
lected, but only the ones who are not free or are
– First, the helper who is responsible for this pa- not willing to treat the patient are filtered. From

987
the remainder the one who is closest to origin of
the call is chosen.
– If this still does not offer a solution, all the
helpers in the hospital are considered and the one
who is closest to the patient is called.
A staff member can sometimes be called while he is al-
ready busy with a task. It is up to him to decide if he is
going to interrupt his current task or not. In contradiction
to the place oriented case, the staff member knows that the
new call has a higher priority than the task that he is cur-
rently working on. Based on these priorities he can make a Figure 3. The CASP Context Framework
more funded decision to interrupt his current task or not.
If he decides to answer the new call, the system auto- OWL consists of three sublanguages: OWL-Lite, OWL-
matically interrupts his current task. If the task is a call, an DL and OWL-Full. The main difference is their expressiv-
other staff member is searched (using the above algorithm) ity. Here OWL-DL is used because it is based on description
to handle the call. If the task is a normal task (e.g. giving logic[7]. Description logic is a decidable part of the first
a medicine to a patient), the task is added again to the list order logic. This way it is possible to reason about the de-
of task that this staff member must do. So the staff member cidable information in the ontology. This is necessary when
does not have to remember himself that he has to return to Rules are used for the implementation of the algorithm.
a task or that he has to call some other staff member. Protégé[6, 3] was used as the ontology editor.
The algorithm also has a time-out procedure. If a staff
member has not indicated that he is going to handle the 4.2. CASP Context Framework
call within a certain time, the algorithm selects another staff
member to handle the call. The OSGi Framework[5] is an open service platform for
Note that this algorithm differs significantly from the the delivery and control of different applications (which are
place oriented one. The place oriented algorithm only looks called bundles in OSGi) and services to a certain type of
at which patients (actually rooms) are allocated to which networked device in the environment. The CASP context
nurses. In the new algorithm much more factors are taken framework is a collection of bundles which were developed
into account. It looks at the characteristics and the status by the co-authors to handle context information. More in-
of the staff members, the risk factors and preferences of the formation can be found in [10]. An overview of the frame-
patients, the priority of the call and so on. work is shown in Fig. 3. The Context Interpreter represents
the context information e.g. the Context Model (the OWL
4. Implementation details file) and the Knowledge Base (the data that conforms to the
ontology). It also holds all the Rules that were used to im-
In this section the implementation details are discussed. plement the nurse call algorithm (see section 4.3).
First, the ontology was digitalized by using the ontology The different Context Providers allow importing exter-
language OWL and the ontology editor Protégé. Next, the nal information into the Knowledge Base. This new infor-
existing CASP Context framework, which makes use of an mation can come from a database (Persistence Layer) or
OSGi Framework, was extended. The ontology was inte- directly from a device (Device Layer, Context Gathering
grated into it. The algorithm was implemented by using Layer). As there was no access to devices, some Web Ser-
Rules. Some web services were written to allow applica- vices were developed to allow users to add new information.
tions and users to add or extract information from the ontol- The Query Services are used to extract information from
ogy. the Knowledge Base. This can be used to visualize the
knowledge or to use the information in another application
4.1. Digitalizing the ontology (Application Layer). A visualization of the knowledge is
currently not implemented as this was not the main goal of
There are different ontology languages with different the research. Instead a Web Service was developed which
possibilities. OWL[1], from the World Wide Web Con- allows users to extract information.
sortium (W3C)[2], was chosen because an OWL file can
be directly integrated into the CASP Context Framework 4.3. Rules for the nurse call algorithm
(see section 4.2). Furthermore, OWL is a standard and it
provides numerous additional possibilities e.g. inverse rela- The person oriented nurse call algorithm is implemented
tions. by using Rules. These are activated when a certain event

988
[insert\_nurse\_normalcall:
(?x rdf:type ncs:Normal)
(?x ncs:has\_status ?status)
(?status ncs:Kind ’Active’)
noValue(?x ncs:treated\_by\_nurse)
->findHelper(?x)]

Figure 4. The new normal call Rule.

occurs in the Knowledge Base for example when a new call Figure 5. Simulation: plan and initial posi-
is added. When the condition is fulfilled, the Rule calls a tions
functor. A functor does some calculations with the parame-
ters it receives from the Rule, for example the new call. The
functor can change the information in the Knowledge Base. who lie in the rooms that have the same color as the nurse.
Every kind of call that can occur is handled by a different Nurse V2 is responsible for patient P6 (standing in the hall-
Rule but in a similar manner. The code fragment in Fig. 4 way) and nurse V4 is responsible for patient P2 (standing in
shows the Rule that reacts to a normal call. This Rule is the bathroom). The doctor (illustrated by D1) is responsi-
activated when a normal call is launched. If the condition ble for all the patients in this department. The urgency team
is fulfilled the functor findHelper() is called which follows is composed of doctor D1 and nurses V3 and V2. There
the earlier stated algorithm (see section 3.2) to find a correct is only one patient who has a risk factor namely patient P3
staff member to handle the call. It adds the information that who is a heart patient. No patient has specified any (re-
this staff member has to handle this call to Knowledge Base. stricting) characteristics to which his treating nurse should
When a staff member decides that he is going to answer conform. Nurse V3 is treating patient P5 (so he is busy), all
a call (and thus changes the status of the call tot answered) the other staff members are currently free.
the Rule update answered call gets activated. The functor The simulation consists of the following steps:
UpdateAnsweredCall() is used to interrupt the current task • Patient P3 (the heart patient) makes a normal call.
(if any) of the staff member automatically as explained in • The called notices that P3 is in very bad shape.
section 3.2. It also changes some other information in the • The nurse launches a urgency call.
Knowledge Base to indicate that this staff member is work- • The called urgency team starts treating him (but does
ing on this call. There is also a Rule call treated to handle not finish the call yet).
the information that must change in the Knowledge Base • Patient P4 makes a normal call.
when a staff member ends a call e.g. the status of the staff • The called nurse completely finishes the call.
member must be changed to free. • All other calls are also finished at this moment.
A last set of Rules (e.g. relaunch normalcall timeout)
It is assumed that a nurse who is called and who is al-
is used to handle the time-out of a call. This means that if
ready busy with a task, will always interrupt his current task
the called staff member has not answered the call within a
to handle the new call. This leads to a more complicated and
certain period of time, then the call is launched again.
illustrative simulation.

5. Simulation setup 5.2. Results description

To test and demonstrate the advantages of the system, a The performance of 10 different simulations can be
couple of simulations were set up. Some typical situations viewed in figure 6. It shows for each call the average time
within a hospital were simulated and the results were stud- (in milliseconds) between the launch of the call and the mo-
ied and compared with the location oriented system. Here, ment that nurse receives the call. It also shows the standard
one of the simulations is described which nicely illustrates deviation (SD) of each test in milliseconds. Which nurses
some advantages of the new person oriented system. More were called by the algorithm will now be discussed.
information about the simulations can be found in [8]. The algorithm notices that nurse V3 is responsible for
this patient. V3 is in the vicinity, but he is not free. The call
5.1. Scenario description of patient P3 has a higher priority than the one of patient
P5 (because P3 is a heart patient). The algorithm thus calls
Fig. 5 shows an overview of the situation at the start of nurse V3 to handle the call. Nurse V3 receives and answers
the simulation. It takes place within one department of a this call and starts moving towards P3.
hospital. The different numbered P’s and V’s depict the pa- When nurse V3 answered the new call, his current task
tients and nurses. The nurses are responsible for the patients (the call of P5) was automatically interrupted and launched

989
• When a task is interrupted, the nurse does not have to
remember himself that he has to return to it. This leads
to lesser forgotten tasks and lesser work pressure on
the staff.
• When a nurse is called while he is already doing a task,
Figure 6. Performance of 10 different simula- he is sure that the new call has a higher priority.
tions.
6. Conclusion
again to find a new staff member to handle it. The algo-
rithm notices that the responsible nurse (nurse V3) is in This article showed how context information could be
the vicinity, but is handling a call with a higher priority, efficiently modeled by using an ontology. It was also il-
so he cannot be called. The algorithm now considers all lustrated how this ontology can be used by reasoning al-
the nurses who work in this department. The only differ- gorithms which take this context information into account.
ing factor between these nurses is their availability and the This was illustrated with the development of a person ori-
distance to the patient (there are no characteristics, prefer- ented nurse call system. The simulations showed that the
ences or qualifications given). V3 is not selected because person oriented approach has many advantages over the
he is not free. From the remaining nurses, the closest one is place oriented approach because it takes the context infor-
chosen namely nurse V4. He receives and answers the call. mation into account.
He goes to patient P5 and continues his treatment.
Meanwhile nurse V3 has arrived in the room of patient References
P3. He launches the urgency call. The system automatically
changes the status of the normal call of P3 to finished. There [1] S. Bechhofer, F. V. Harmelen, J. Hendler, I. Horrocks,
is only one urgency team, so they are called. V3 is already D. McGuinnes, P. Patel-Schneider, and L. Stein. Owl web
at the location of the patient. Doctor D1 and Nurse V2 hurry ontology language reference, December 2003.
[2] W. W. W. W. Consortium. http://www.w3.org/.
to P3. They start treating the urgency call. [3] T. P. O. Editor and K. A. System. http://protege.
The algorithm notices that V3 is responsible for P4. But stanford.edu/.
nurse V3 is already busy with a urgency call (which has [4] T. Gruber. A translation approach to portable ontology spec-
ifications. Journal of Knowledge Acquisition, 5(2):199–220,
the highest priority), so he cannot be called. The only free
April 1993.
nurses are V1 and V5. The only difference between them is [5] S. Haiges. A step by step introduction to osgi programming
the distance to the patient. So Nurse V5, who is the closest, based on the open source knopflerfish osgi framework, Oc-
is called. Nurse V5 receives and answers the call. He goes tober 2004.
to P4 and completely finished the call. All the other calls [6] M. Horridge, H. Knublauch, A. Rector, R. Stevens, and
(the one of P5 and the urgency call) are also finished. C. Wroe. A practical guide to building owl ontologies us-
ing the protégé-owl plugin and co-ode tools, August 2004.
The University of Manchester.
5.3. The advantages of a person oriented [7] D. Nardi, R. J. Brachman, F. Baader, W. Nutt, F. M. Donini,
system D. Calvanese, D. McGuinnes, and P. Patel-Schneider. The
Description Logic Handbook: Theory, Implementation and
Applications. The Press Syndicate of the University of Cam-
The following advantages of the person oriented sys-
bridge, Cambridge, UK, 2003.
tem in contrast with the place oriented system could be de- [8] F. Ongenae. Design and implementation of a person oriented
ducted: nurse call system. Master’s thesis, Intec, UGent, Gent, 2007.
[9] D. Preuveneers, J. V. den Bergh, D. Wagelaar, A. Georges,
• A staff member knows the exact location of the patient P. Rigole, T. Clerckx, Y. Berbers, K. Coninx, and V. Jonkers.
who made the call. Towards an extensible context ontology for ambient intelli-
• A staff member knows which patient made the call. gence. In in Proc. EUSAI 2004, Eindhoven, pages 148–159,
November 2004.
• The workload is distributed better among the different [10] M. Strobbe, J. Hollez, G. D. Jans, O. V. Laere, J. Nelis, F. D.
staff members. Turck, B. Dhoedt, P. Demeester, N. Janssens, and T. Pollet.
• Patients do not have to wait so long before their call is Design of casp: an open enabling platform for context aware
treated. office and city services. In in Proc. MUCS 2007, Munich,
pages 123–142, May 2007.
• The wishes, the characteristics and the risks of the pa- [11] H. K. P. T. Gu and D. Q. Zhang. Toward an osgi-based infras-
tient are taken into account. tructure for context-aware applications. Journal of Pervasive
• It is known for sure that the called nurse is in the vicin- Computing, IEEE, 3(4):66–74, October 2004.
ity of the patient (or is the nearest possible person who [12] a. Televic NV, specialized in nurse call systems and multi-
could be called). media communications. http://www.televic.com.

990

You might also like