You are on page 1of 9

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/326047771

Smart depth of anesthesia monitoring with EEG sensors and agent-based


technology

Conference Paper · August 2017


DOI: 10.1109/UIC-ATC.2017.8397455

CITATIONS READS
3 2,449

3 authors, including:

Chrystinne Fernandes Carlos Lucena


Massachusetts Institute of Technology Pontifícia Universidade Católica do Rio de Janeiro
17 PUBLICATIONS 101 CITATIONS 741 PUBLICATIONS 9,109 CITATIONS

SEE PROFILE SEE PROFILE

All content following this page was uploaded by Chrystinne Fernandes on 19 June 2020.

The user has requested enhancement of the downloaded file.


Smart Depth of Anesthesia Monitoring with EEG
Sensors and Agent-based Technology
Chrystinne Oliveira Fernandes Carlos José Pereira de Lucena Daniel de Souza e Silva
Department of Informatics Department of Informatics Rio de Janeiro State University
Pontifical Catholic University of Rio Pontifical Catholic University of Rio Rio de Janeiro, Brazil
de Janeiro de Janeiro danielneurofisiologia@gmail.com
Rio de Janeiro, Brazil Rio de Janeiro, Brazil
cfernandes@inf.puc-rio.br lucena@inf.puc-rio.br

Abstract— The present paper describes the development of a


Smart Medical System applied to the general domain of remote
patient monitoring and focused on the anesthesiology care
domain. We discuss open issues related to the Depth of
Anesthesia (DoA) Monitoring process. Based on the state-of-the-
art of the research on patient monitoring techniques, we present
a cutting-edge solution to perform DoA monitoring activities
during the intraoperative period in a smart, remote, autonomous
and wireless way, by using EEG sensors and software agent
technology. We hope our solution - called SmartDoAMonitoring
App - contributes to a more proactive DoA monitoring, thus
increasing patient safety. In this paper, we also discuss the
importance of regulating the consumption of anesthetic agents,
by reducing excessive dosage administration or increasing
insufficient dosage, aiming to shorten the anesthetic recovery
period, as well as the adverse effects of anesthesia.

Keywords— Remote Patient Monitoring; Depth of Anesthesia;


EEG; Sensing Technology; Wearable Sensors; Agent-based
Technology; Fig. 1. The illustration of an intraoperative monitoring process of DoA.

I. INTRODUCTION (Fig. 1). Any changes in the expected levels of analgesia,


When a patient undergoes a surgical procedure under immobility and unconsciousness should be immediately
General Anesthesia (GA), it is expected that such a procedure reported to the other teams so that the anesthesia team can
will be successful in all of its stages - pre, inter and intervene, with the adoption of strategies that guarantee the
postoperative. As important as the patient's preparation for return to the adequate level.
surgery and the postoperative phase are, when recovery occurs,
Our solution aims to assist the DoA monitoring process
is the time when the procedure actually takes place. In this
during the intraoperative period by providing technological
case, it is expected that, throughout the procedure, the three
resources so that the DoA monitoring can be performed in a
pillars of anesthesia will be kept at adequate levels: analgesia,
smart, proactive, remote and autonomous way, trying to avoid
immobility and unconsciousness. This means that the medical
risky situations for the patient and increasing patient safety.
staff strives to ensure that the patient does not feel pain,
remains immobile and is not aware of what is happening
during all intraoperative period. II. RESEARCH CONTEXT
To ensure that such expectations are met, the intraoperative A. Patient Monitoring and Anomalies Detection
period requires a high level of collaboration between the
This work has a multidisciplinary approach applied to the
medical teams involved in the procedure, i.e., the surgical,
medical field, involving Internet of Things (IoT) [1] and Multi-
anesthesia and monitoring teams. Therefore, it is necessary that
agent Systems [2] areas. By exploring underlying concepts of
the three teams work with proper vigilance and agility and are
these areas, we aim at delivering value to the healthcare area.
able to act proactively to avoid situations of risk for the patient,
To achieve this goal, we developed an E-Health System to
detect and take quick action in the event of an unexpected
handle sensing, visualization and monitoring processes, based
situation.
on patient data in simulated environments.
The monitoring team must continuously monitor the
During these processes, our solution transforms large-scale
patient’s depth of anesthesia after administration of anesthesia sensor data into more significant information that meets

978-1-5386-0435-9/17/$31.00 ©2017 IEEE


Authorized licensed use limited to: PONTIFICIA UNIVERSIDADE CATOLICA DO RIO DE JANEIRO. Downloaded on June 19,2020 at 14:38:38 UTC from IEEE Xplore. Restrictions apply.
specific application requirements for patient monitoring task.
In this case, the large volume of data (collected from sensors in
the sensing phase) is processed autonomously (by software
agents) in the monitoring phase. The monitoring parameters are
contained in a knowledge base specified by medical experts
[3]. By consulting this database, the agents are able to detect
anomalies, that is, physiological patient data outside the
expected limits. In the monitoring stage, each knowledge base,
handled by the agents monitoring a particular patient is built
based on the assessment of each individual patient, bringing us
to the concept of personalized medicine.
Fig. 2. The IoT4Health’s architecture with its three layers (L1-L3), ten
The information resulting from the monitoring phase - the modules (M1-M10) and frozen spots that can be extended by hot spots.
anomaly - triggers a notification to the end user of the system -
the health professionals in charge of responding to these events It is now even possible to monitor the mental state of
[4]. Notifications are also performed automatically by software patients through autonomous wearable sensors. Modern
agents and can be delivered via SMS, email or Bluetooth technology eliminates the wires between the device reading
messages. EEG signals and the computer, smartphone or other device that
collects, analyzes and processes these data. For this work, we
utilized wearable devices to wirelessly monitor brain electrical
B. IoT4Health Framework activity.
Frameworks are tools used to generate applications related D. Agents applied to Healthcare
to a specific domain; that is, to cope with a family of related The paper [8] presents fundamental concepts of agents and
problems [5]. Frameworks contain fixed and flexible points multi-agent systems and recommends the types of problems
known as frozen spots and hot spots, respectively. Hot spots that can be properly solved by using agent-based approaches. It
are extension points that allow developers to create a new presents an overview of common healthcare problems being
application from the framework instantiation process. In this handled by E-Health systems and the advantages of using
case, developers should create specific application codes for
agent-technology to build E-health systems.
each hot spot, through the implementation of abstract classes
and methods defined in the framework. Frozen spots consist of III. DEPTH OF ANESTHESIA MONITORING
the framework’s kernel, corresponding to its fixed parts,
previously implemented and hard to change. A frozen spot A. Importance of the Depth of Anesthesia Monitoring
calls one, or more than one, of the application’s hot spots and
General anesthesia is a reversible state of induced coma,
will be presented in each framework' instance [5].
which comprises the three pillars of anesthetic depth shown
We developed IoT4Health [6], a flexible software above. During GA, these pillars need to be maintained
framework to generate a range of IoT applications in the alongside with physiological stabilization [7]. In this case,
Remote Patient Monitoring domain. As a software framework, monitoring physiological patient data such as heart rate, body
IoT4Health offers extensibility points (Fig. 2) for the temperature, saturation and blood pressure has been a critical
generation of E-Health applications as multi-agent systems that factor in reducing morbidity and mortality in anesthesiology,
are designed to perform patient monitoring activities as well as other consequences of using inadequate doses of
autonomously. We created the SmartDoAMonitoring anesthetics, which will be discussed in section C.
Application as an instance of IoT4Health.
B. DoA Monitoring Techniques
In order to assess DoA levels and guide the anesthetics
C. EEG Sensing Technology administration process, the following DoA monitoring
techniques have been applied in hospitals during
EEG (Electroencephalography) has been used by intraoperative period: 1- Clinical DoA monitoring using multi-
neuroscientists and psychologists to monitor brainwaves since parametric monitors (B.1); 2- Monitoring of Expired Fraction
1937 [7]. Usually, encephalograms require patients to remain of Anesthetic Gases (B.2); 3- Electrical DoA Monitoring
immobile as movements interfere with the brain's impulses. (B.3).
Fortunately, current technology allows scientists to observe
how the brain works in much more realistic configurations. B.1 Clinical DoA Monitoring
This is justified by the fact that brainwave detection In clinical monitoring, some physiological parameters have
technologies have evolved considerably, allowing been used to assess DoA levels, such as: blood pressure,
encephalography realization in a wireless and mobile mode. heartrate, respiratory pattern changes, somatic and skeletal
motor activity, sweating, tearing, pupillary diameter and
vasomotor skin reflexes.
Although sympathetic stimulation is not always a
consequence of painful stimulus, tachycardia, hypertension,
sweating and tearing are usually considered signs of inadequate

Authorized licensed use limited to: PONTIFICIA UNIVERSIDADE CATOLICA DO RIO DE JANEIRO. Downloaded on June 19,2020 at 14:38:38 UTC from IEEE Xplore. Restrictions apply.
analgesia. However, depending on the patient’s clinical TABLE I. EXAMPLE OF ANOMALIES THAT CAN OCCURS AS ADVERSE
EFFECTS OF ANESTHESIA
conditions and the medications been used, these parameters
may have little influence on the DoA assessment. Anesthetic dose
Insufficient Anesthetic
In addition to the physiological parameters, the motor Excessive Anesthetic Dose
Dose
response in voluntary commands' response along with the Cardiovascular and respiratory
reaction to painful stimuli are also ways to evaluate the depression; Unintended
potency of anesthetic agents. The presence of these signs is an Cognitive impairments in patients Intraoperative Awareness
important indication of anesthetic inadequacy, which makes with low neuronal reserve
the patient susceptible to the risk of arousal and intraoperative IV. OPEN ISSUES AND RELATED WORK
awareness that are undesired conditions.
Despite its broad application, brain state monitoring is not a
B.2 Monitoring of Expired Fraction of Anesthetic Gases totally accepted practice in anesthesia care nowadays because
Monitoring the anesthetic agent administration process, there are no markers or indicators that reliably track changes in
especially inhaled gases, has become routine in hospitals due the level of consciousness in patients under GA [7]. This issue
to the modules incorporated into the multi-parametric makes DoA monitoring still an open problem because there is
monitors. The study [8] compares the three DoA monitoring no precise mapping of how anesthetics impact the brain.
techniques regarding anesthetic consumption.
Interest in performing EEG as a monitoring tool during GA
B.3 Electrical DoA Monitoring has increased considerably. This practice has been fomented by
Normally performed simultaneously with clinical the development of technological tools that have produced
monitoring, electrical DoA monitoring through EEG is tangible progress in the creation of anesthetic-depth monitors
considered one of the most feasible approaches to tracking [10]. However, since EEG reading has not become part of the
brain states under GA. routine anesthesiology practice, a simpler approach is used:
current depth-of-anesthesia monitors compute proprietary
In general, we can highlight the following objectives of the indices that reduce the EEG to a single number (BIS) intended
electrical DoA monitoring activity: 1- Regulate the to represent a patient's level of unconsciousness, varying from
consumption of anesthetics, aiming to reduce the excessive 0 to 100 [7]. An adequate patient's level of unconsciousness is
administration of anesthetic agent and decrease the anesthetic assumed when BIS numbers vary at intervals from 40-60.
recovery period, as well as the adverse effects of anesthesia Consequently, any values smaller than 40 and greater than 60
such as: nausea, vomiting, headache, cognitive dysfunctions, are detected as an anomaly condition and reported to the
especially in the elderly; 2- Avoid intraoperative awakening; 3- medical team.
Study the relationship between electrical activity of the
nervous system and mortality; 4 - Minimize the residual effects Since the depth-of-anesthesia monitors have proprietary
of drugs on cognition, considering Postoperative Delirium algorithms, they work as a black-box approach that obscures
(POD) and Postoperative Cognitive Dysfunction (POCD); 5- structure in the EEG [11]. So, instead of using these indices,
Avoid post-traumatic stress syndrome due to superficial some studies have created other approaches to map the EEG
anesthesia [8]. reading process. As an example, the work [7] aims to better
understand how anesthetics affect the brain in terms of
In this work, we choose the Electrical DoA Monitoring unconsciousness, mapping the EEG reading process through a
technique as our strategy to handle our main research problem process of induction to, and emergence from, anesthetics in a
of performing DoA monitoring during intraoperative period in very slowly way. This work involves some concepts that have
simulated conditions. been called EEG signatures and have been defined to be
markers used as indicators of loss of consciousness. However,
C. Consequences of Inappropriate Depth of Anesthesia according to the authors, it has been difficult to specify EEG
As mentioned above, DoA monitoring is necessary to signatures because most anesthesia-related EEG data comes
ensure its adequate level, since too superficial, or deep levels from clinical settings in which GA induction is performed
of anesthesia can be disastrous in the short and long term. The rapidly, i.e., when the loss of consciousness occurs within 30-
following Table I classifies intercurrences that occur as a 60 seconds. To overcome this obstacle, the work [7] designs an
consequence of insufficient, or excessive dosages of experiment to study the relationship between EEG activity and
anesthetics. Anesthesia awareness, also called unintended the loss and recovery of consciousness over a two-hour period.
intraoperative awareness, occurs under GA when a patient They recorded EEGs in 10 volunteers during gradual induction
becomes cognizant of some or all events during surgery, and of, and emergence from, unconsciousness while executing
recalls those events. Because of the routine use of tasks to assess conscious behavior.
neuromuscular blocking agents during GA, the patient is often
unable to communicate with the surgical team when this The results of the work [7] provide insights into the
occurs. [9]. mechanisms of induced unconsciousness, establishing EEG
signatures of brain states that track transitions in consciousness
precisely, and suggesting strategies for monitoring the brain
activity of patients receiving GA during the intraoperative
period. According to the authors, the EEG signatures they have
identified can be computed in real-time, are easy to recognize,

Authorized licensed use limited to: PONTIFICIA UNIVERSIDADE CATOLICA DO RIO DE JANEIRO. Downloaded on June 19,2020 at 14:38:38 UTC from IEEE Xplore. Restrictions apply.
and can be interpreted in a way that relates directly to the
mechanisms through which this anesthetic is postulated to
induce unconsciousness.

V. RESEARCH GOALS

A. General Goals for our SmartDoAMonitoring App


In general, we aim to promote a technological support for
the electric DoA monitoring activity during an intraoperative Fig. 3. Devices used to collect EEG data: MindWave Mobile Headset from
period, in a simulated environment, in order to process DoA NeuroSky on the left; The Arduino Uno R3 Microcontroller, in the middle;
monitoring intelligently, proactively and wirelessly. By using The BlueSMiRF Sparkfun Bluetooth Module, on the right.
wearable devices with EEG sensors and software agent
technology, we hope our solution will contribute to facilitate The Mindwave measures and outputs the following data:
risk management, increase patient safety and offer a more Received Package Timestamp (TSLP); Information about
accessible monitoring solution, replacing large and expensive quality of signal (PoorQuality); Raw EEG Data (RAW);
equipment for smaller devices with greater mobility such as Processed information that corresponds to the brainwaves
wearable sensors. We also expect that our solution will bring patterns (Delta Power, Theta Power, Low Alpha Power, High
us to the concept of personalized medicine, where the Alpha Power, Low Beta Power, High Beta Power, Low
monitoring parameters are defined according to each patient Gamma Power, Mid Gama Power); Attention; Mediation;
individually. Blink Strength (Strength of detected blink); Mental Effort
(measures how the subject’s brain is working); Familiarity
B. Specific Goals for our App (measures how well the subject is learning a new task).
Our specific goals are: 1- Create a database as a result of From the information provided by the device, we decided
the EEG sensing process; 2- Allow sensing data to be accessed to assemble our dataset, capturing and storing the following
remotely, monitored and visualized in real time from mobile data subset: PoorQuality, Attention, Meditation, Brain waves
devices (smartphones and tablets); 3- Enable alerts to the (Delta, Theta, LowAlpha, HighAlpha, LowBeta, HighBeta,
medical team when DoA anomalous values occur, notifying LowGamma, MidGamma) and TSLP.
the professionals interested in receiving this information; 4-
Evaluate our agents’ performance in its monitoring and C. EEG Monitoring, Anomalies Detection and Notification
notification tasks. Processes
Our DoA monitoring goal is detect anomalies in the EEG
data provided by the Mindwave device to assess if the pillars of
VI. METHODOLOGY general anesthesia are adequate. As strategies for monitoring
the brain activity of patients receiving GA by the Electrical
A. The SmartDoAMonitoring Develpment Process DoA Monitoring technique some monitoring parameters such
To meet our defined goals and achieve the expected as BIS number and EEG signatures could be used in real
results, providing an E-Health System capable of performing hospital environments.
sensing, visualization and monitoring activities in the DoA However, as a strategy for monitoring the patients’ brain
monitoring context, the SmartDoAMonitoring Application activity in our simulated environment, we selected the
was generated as an IoT4Health instance. Attention EEG data from our database to serve as the main
parameter of our monitoring and anomalies detection activities.
B. EEG Sensing Process We utilized this strategy because we did not find how the BIS
In the sensing process, we used an Arduino [12] number is calculated. As we said previously, it is derived by a
microcontroller Uno R3 [13] (Figure 3) to collect the EEG proprietary algorithm and works as a black-box approach.
data from the Mindwave Mobile Headset [14] (Figure 3). However, both the BIS and MindWave Attention values vary
Because the headset sends the EEG data via Bluetooth and the from 0 to 100. Similarly to the BIS approach, we considered
Arduino model we were using did not provide communication that a normal patient condition is assumed when the Attention
capabilities in this technology, we coupled the Arduino with a level varies at intervals from 40-60, e.g., all occurrences of
Bluetooth module (BlueSMiRF) [15] to enable attention outside this interval are reported as anomalies in DoA
communication between the two devices. The BlueSMiRF and trigger a notification message to health providers (Table
module has been programmed to pair with and connect to the II). So, our developed solution can be posteriorly applied to
headset. Once connected to the microcontroller with the other monitoring parameters such as BIS number – if we can
Bluetooth module, Mindwave was able to send a stream of calculate it in future – in order to have a more useful
data through the ThinkGear protocol [16]. In this case, the comparison.
Arduino was programmed (in C language) to process the data
stream received by Mindwave, interpreting it through the use
of the ThinkGear protocol and storing the information in a
database.

Authorized licensed use limited to: PONTIFICIA UNIVERSIDADE CATOLICA DO RIO DE JANEIRO. Downloaded on June 19,2020 at 14:38:38 UTC from IEEE Xplore. Restrictions apply.
TABLE II. EXAMPLE OF ANOMALIES THAT CAN OCCURS AS ADVERSE
EFFECTS OF ANESTHESIA

Monitoring parameters - EEG Attention Levels


EEG Attention value < 40 EEG Attention value > 60

(These occurrences trigger a (These occurrences trigger a


notification message to health notification message to health
providers alerting about the providers alerting about the
excessive anesthetic dose) insufficient anesthetic dose)

We conducted the following step-by-step experiment [6] to


measure the ability of our tool to respond proactively and in
Fig. 4. The SmartDepthofAnesthesiaMonitoring Application Architecture.
real-time to adverse conditions and its capacity to notify health
providers in case, for example, of anomalies in patients’ EEG VII. RESULTS
signs:
A. The SmartDoAMonitoring App
Step1. Initially, five measurement points related to the tasks The main result of this work consists of the generation of
performed by agents were identified in the the SmartDoAMonitoring App as an IoT4Health instance. To
SmartDoAMonitoring App and were labeled Timestamps (T1- confirm the fulfillment of our research goals, we will present
T5) as follows: its architecture and the results of its main functionalities,
Timestamp T1. Our app collects the EEG data and the namely sensing, visualization, monitoring and notification.
monitoring agent analyses them, searching for anomalies. If no
anomaly is detected, the system remains in a loop collecting A.1 The SmartDoAMonitoring App’s Architecture
and analyzing more data until an anomaly is found. Once an The Fig. 4 shows the architecture of the application,
anomaly is detected the application continues to T2. structured in 3 layers: L1- Data persistence layer; L2-
Communication layer between layer L1 and layer L3; L3-
Timestamp T2. This point is reached when the monitoring Application Layer manages the application data for the
agent detects an EEG data anomaly and then calls the collection, storage, visualization, monitoring and notification
notification agent. processes.
Timestamp T3. The notification agent initiates the routine
to notify the health care providers; A.2 Sensing Results: The SmartDoAMonitoring App’s
Database
Timestamp T4. The notification agent sends information As a result of the sensing process, we have an effective
about the detected EEG anomaly to the patient’s health care capture of the electrical activity collected by Mindwave, via
providers; Bluetooth. Table III shows the structure of the
Timestamp T5. The health care providers receive the SmartDoAMonitoring App dataset and some examples of the
notification message on their mobile phones or tablets. data collected during our sensing phase.
Step 2. The SmartDoAMonitoring App is executed and the A.3 Visualization Results: Real-time EEG Data Streams
timestamps are measured and registered. Fig. 5 and Fig. 6 show the visualization results comprising
Step 3. Our delays captured by the agents’ execution tasks times series representing EEG Data streams retrieved from our
are defined as follows: database. The axis-x represents the Brain waves values Low-
Alpha (Series 1), High-Alpha (Series 2), Low-Beta (Series 3),
Delay 1: DAI- Detection Anomaly Interval (DAI =
High-Beta (Series 4), Low-Gamma (Series 5) and Mid-
T2íT1). The anomaly's detection delay in the monitoring
routine. Gamma (Series 6) and the axis-y represents the TLSP.

Delay 2: NSI- Notification Start Interval (NSI = T3íT2).


The delay between the anomaly detection and the initiation of
the notification routine.
Delay 3: NP- Notification Period (NP = T4íT3). Duration
of the notification routine by agents.
Delay 4: NRI- Notification Routine Interval (NRI
=T5íT4). Time elapsed between the sending of the notification
and its receipt by the health provider.
These delays were calculated to serve as a concrete
measure of how quickly and proactively the solution can
respond to the environment, as well as to support the assertion
that this system performs anomaly detection in real time. Fig. 5. Times series representing brainwaves patterns exhibited in real-time.
The axis-x represents the EEG Data and the axis-y represents the TLSP.

Authorized licensed use limited to: PONTIFICIA UNIVERSIDADE CATOLICA DO RIO DE JANEIRO. Downloaded on June 19,2020 at 14:38:38 UTC from IEEE Xplore. Restrictions apply.
A.4 Monitoring Results: Anomalies Detection and Notification

To confirm the fulfillment of our main research goal, we


conducted the experiment described above and tabulated the
relevant results.
Table IV shows examples of timestamps for agents’
behavior and task delays for EEG sensing, attention
monitoring and notification activities, where EEG attention
levels are monitored to evaluate Depth of Anesthesia levels. In
case of anomalies detection for attention values (illustrated in
red circles in Figure 7) the agents act by sending SMS
messages to the healthcare providers (Figure 8).
On average, the Detection Anomaly Interval (DAI) for the
SmartDoAMonitoring App experiment results is 3.375 s. The
Fig. 6. Times series representing Attention level exhibited in real-time. The NSI presented zero delays for all results in this experiment.
axis-x represents the Attention values and the axis-y represents the TLSP. The NP averaged 1.625 s. And, finally, as the mobile phone
we were using during this experiment does not provide the
SMS reception time with millisecond precision, there is only
an approximate measurement for NRI, which was less than 9
seconds on average.

TABLE III. RESULTS FOR SENSING PROCESS - ILLUSTRATION OF THE SMARTDOAMONITORING APP DATASET STRUCTURE.
PoorQual. Attention Meditation Delta Theta LowAlpha HighAlpha LowBeta HighBeta LowGamma MidGamma TSLP
0 40 30 196432 60147 10941 5514 5568 9479 10191 2227 996
0 53 23 498363 115836 8379 5299 8525 4763 1738 1221 1000
0 53 27 144949 23748 2548 11834 11824 4622 2658 2129 996
0 54 34 1826689 68866 12433 5217 9615 5372 1226 902 992
0 38 38 747555 73652 25398 4817 4982 3081 1384 1560 995
0 37 30 210412 437968 20324 7202 22952 14467 4360 3148 994
0 27 48 578487 54416 146371 7289 23104 14258 2717 3080 997
0 34 61 89963 15677 11993 7637 10805 3170 916 854 997
0 53 77 475890 9452 40504 12196 10967 12096 2683 6502 999
0 63 93 231761 316959 28718 55932 18963 28373 8026 4817 998
0 78 75 379599 60849 20685 10395 12611 24556 3153 5998 998
0 94 75 51382 41581 33890 19928 22637 29279 4328 5499 1000
0 93 60 146485 63617 25516 14234 17593 14652 6129 2420 991
0 84 70 318539 36694 27196 4782 6263 2557 722 857 993
0 60 74 395389 52250 22242 4771 10872 2802 1006 531 1001
0 44 80 265306 37419 20958 33109 8810 7952 1920 3103 1001
0 41 84 295009 66752 14009 43472 5443 14610 3301 2747 990
0 47 67 193669 71237 5590 7878 8708 4447 1769 2083 997
0 47 50 438916 52121 1482 3352 3339 1903 685 601 998

TABLE IV. RESULTS FOR MONITORING AND NOTIFICATION TASKS PERFORMED BY AGENTS.
Timestamp T1 Timestamp T2 Timestamp T3 Timestamp T4 Timestamp T5 DAIa (s) NSIb (s) NPc (s)
2017-05-14-191015 2017-05-14-191018 2017-05-14-191018 2017-05-14-191019 2017-05-14-1910 3 0 1
2017-05-14-191021 2017-05-14-191025 2017-05-14-191025 2017-05-14-191027 2017-05-14-1910 4 0 2
2017-05-14-191033 2017-05-14-191036 2017-05-14-191036 2017-05-14-191039 2017-05-14-1910 3 0 3
2017-05-14-191041 2017-05-14-191045 2017-05-14-191045 2017-05-14-191047 2017-05-14-1910 4 0 2
2016-11-04-191050 2016-11-04-191054 2016-11-04-191054 2016-11-04-191055 2016-11-04-1910 4 0 1
2016-11-04-191058 2016-11-04-191101 2016-11-04-191101 2016-11-04-191102 2016-11-04-1911 3 0 1
2016-11-04-191105 2016-11-04-191108 2016-11-04-191108 2016-11-04-191110 2016-11-04-1911 3 0 2
2016-11-04-191113 2016-11-04-191116 2016-11-04-191116 2016-11-04-191117 2016-11-04-1911 3 0 1

Authorized licensed use limited to: PONTIFICIA UNIVERSIDADE CATOLICA DO RIO DE JANEIRO. Downloaded on June 19,2020 at 14:38:38 UTC from IEEE Xplore. Restrictions apply.
As we mentioned above, one of the consequences of very
deep anesthesia is that it can affect the patient's cardiovascular
system. In this case, we can use sensors that monitor the
cardiovascular system to control this negative consequence of
anesthesia, simultaneously with electrical DoA monitoring
techniques. We also aim to utilize the Mindwave device to
develop other apps, such as: monitoring of patients with
epilepsy, in order to report situations of abnormality in his/her
patterns of brain electrical activity and predict new epileptic
seizures; monitoring of sleep disorders; monitoring of brain
activity of people with depression.
The database that was created as the result of the sensing
and monitoring processes could be used as an input dataset for
training and validation of a model to be used with machine
learning techniques to predict the occurrence of anomalies. The
Fig.7. Times series representing Attention levels with the illustration of
the anomalies detection process shown in red circles. knowledge produced at the end of the prediction phase could
be used to support decision-making processes.

IX. ACKNOWLEDGEMENTS
This work was supported by grants from the CNPq
(National Council for Scientific and Technological
Development (CNPq).
Fig. 8. SMS Message sent by notification agent in anomalies detection
task.
X. REFERENCES
VIII. CONCLUSIONS AND FUTURE WORK
We can conclude that we achieved our expected results [1] Atzori, L., Iera, A., & Morabito, G. (2010). The internet of things: A
and reached our research goals, since our solution proved to be survey. Computer networks, 54(15), 2787–2805.
effective for its purpose. It has been effective in achieving the [2] Wooldridge, Michael. An Introduction to MultiAgent Systems. Wiley.
challenge of performing, in simulated conditions, DoA (2009)
monitoring in an intelligent and autonomous way by using [3] Fernandes, C. O., Lucena, C. J. P., Lucena, C. A. P., & Azevedo, B. A.
(2016). Enabling a Smart and Distributed Communication Infrastructure
wireless sensing and agent-based technologies. All electrical in Healthcare. In Y.-W. Chen, C. Torro, S. Tanaka, J. R. Howlett, & L.
DoA monitoring was performed through the use of wearable C. Jain (Orgs.), Innovation in Medicine and Healthcare 2015 (p. 435–
devices with Bluetooth communication capabilities, which 446). Cham: Springer International Publishing. Recovered from
allows more mobility and flexibility to carry out the sensing. http://dx.doi.org/10.1007/978-3-319-23024-5_40
Our solution is an alternative to expensive and reduced [4] Fernandes, C. O., & Lucena, C. J. P. de. (2015). An Internet of Things
mobility equipment used in DoA monitoring. As a result of the Application with an Accessible Interface for Remote Monitoring
Patients. In Design, User Experience, and Usability: Interactive
monitoring phase, we have an effective detection of anomalies Experience Design - 4th International Conference, DUXU 2015, Held as
in EEG data and consequent notifications to the professionals Part of HCI International 2015, Los Angeles, CA, USA, August 2-7,
involved. This task was performed effectively and 2015, Proceedings, Part III (p. 651–661). http://doi.org/10.1007/978-3-
autonomously by software agents. 319-20889-3_60
As future work, we can utilize, as they become available, [5] Markiewicz, M. E., & de Lucena, C. J. P. (2001). Object Oriented
BIS number and EEG signatures to serve as baselines for Framework Development. Crossroads, 7(4), 3–9.
http://doi.org/10.1145/372765.372771
anomalies values (monitoring parameters) in our monitoring
[6] Fernandes, C. O., & Lucena, C. J. P. de. (2017). A Software Framework
process instead of the use of MindWave Attention level. In for Remote Patient Monitoring by Using Multi-Agent Systems Support.
addition, we can contemplate the development of applications JMIR Med Inform 2017;5(1):e9) DOI:10.2196/medinform.6693,
that carry out Electrical DoA monitoring, using other unpublished.
techniques mentioned in this paper, e.g., clinical monitoring of [7] Patrick L. Purdon, Eric T. Pierce, Eran A. Mukamel, Michael J. Prerau,
DoA and monitoring of the expired fraction of anesthetic gases. John L. Walsh, Kin Foon K. Wong, Andres F. Salazar-Gomez, Priscilla
To monitor the expired fraction of anesthetic gases, in the G. Harrell, Aaron L. Sampson, Aylin Cimenser, ShiNung Ching, Nancy
J. Kopell, Casie Tavares-Stoeckel, Kathleen Habeeb, Rebecca Merhar,
sensing phase, we can use gas sensors to monitor the gases Emery N. Brown. (2013). Electroencephalogram signatures of loss and
expelled by the patient after anesthesia. recovery of consciousness from propofol. DOI:
For clinical monitoring, we can use the biometric sensors 10.1073/pnas.1221180110. PMCID: PMC3607036
we are currently working with to monitor physiological data, [8] Nealon JL, Moreno A (2003) Agent-based applications in health care.
such as blood pressure, heart rate, respiratory pattern changes, In: Applications of software agent technology in the health care domain.
pulseoxiometry, among others. We also intend to use the Whitestein series in software agent technologies. Birkhäuser Verlag,
Basel, Switzerland, pp 3–18
multiparametric monitors we are also currently working with to
perform this monitoring activity [17]. [9] Preventing, and managing the impact of, anesthesia awareness. (2004).

Authorized licensed use limited to: PONTIFICIA UNIVERSIDADE CATOLICA DO RIO DE JANEIRO. Downloaded on June 19,2020 at 14:38:38 UTC from IEEE Xplore. Restrictions apply.
[10] Rampil, I. (1998). A Primer for EEG Signal Processing in Anesthesia. [18] LES Puc-Rio. 2016-08-22. URL:http://www.les.inf.puc-
Anesthesiology, 89, 980-1002. http://dx.doi.org/10.1097/00000542- rio.br/wiki/index.php/P%C3%A1gina_principal. Accessed: 2016-08-22.
199810000-00023 (Archived by WebCite® at http://www.webcitation.org/6jxZarAkW) (In
[11] Lehmann A1, Thaler E, Boldt J. (2001). Is measuring the depth of Portuguese)
anesthesia sensible? An overview on the currently available monitoring [19] JADE. URL: http://jade.tilab.com/ Accessed: 2016-08-21. (Archived by
systems]. [Article in German]. DOI: 10.1055/s-2001-18048 WebCite® at http://www.webcitation.org/6jwCwVQvX)
[12] Arduino. URL: http://arduino.cc/ Accessed: 2016-08-21. (Archived by [20] Cascella, M. (2016). Mechanisms underlying brain monitoring during
WebCite® at http://www.webcitation.org/6jwDCGjRi anesthesia: limitations, possible improvements, and perspectives. DOI:
[13] Arduino Uno. URL: 10.4097/kjae.2016.69.2.113
https://www.arduino.cc/en/Main/ArduinoBoardUno. Accessed: 2016-10- [21] Bowdle, T. A. (2006). Depth of Anesthesia Monitoring. Anesthesiology
22. (Archived by WebCite® at Clinics of North America, 24(4), 793-822. DOI:
http://www.webcitation.org/6lSEHmYSS) 10.1016/j.atc.2006.08.006.
[14] MindWave. URL:http://neurosky.com/biosensors/eeg- [22] Palanca, BJ, Mashour, GA, Avidan, MS. (2009). Processed
sensor/biosensors/. Accessed: 2016-11-04. (Archived by WebCite® at electroencephalogram in depth of anesthesia monitoring. Current
http://www.webcitation.org/6lm37mphP) Opinion in Anaesthesiology. DOI: 10.1097/ACO.0b013e3283304032.
[15] SparkFun. SparkFun Bluetooth Modem - BlueSMiRF Silver. 2017-06- [23] Wooldridge, M. (1999). Multiagent Systems. In G. Weiss (Org.), (p. 27–
10. URL:https://www.sparkfun.com/products/12577. Accessed: 2017- 77). Cambridge, MA, USA: MIT Press.
06-10. (Archived by WebCite® at [24] Nunes, Rogean Rodrigues, Fonseca, Neuber Martins, SimrtinsClaudia
http://www.webcitation.org/6r7RlNvMn) Marques, Rosa, Deise Martins, Silva, Enis Donizete, Cavalcante, Sara
[16] ThinkGear Serial Stream Guide. URL: Lante, Lopes, Cristiane Gurgel, Stefani, Luciana Cadore. (2015).
http://developer.neurosky.com/docs/doku.php?id=thinkgear_communica Brazilian consensus on anesthetic depth monitoring. DOI:
tions_protocol/ Accessed: 2016-08-21. (Archived by WebCite® at http://dx.doi.org/10.1016/j.bjan.2015.10.001
http://www.webcitation.org/6r7RXeMGd)
[17] LES Puc-Rio. 2016-08-22. URL:http://www.les.inf.puc-
rio.br/wiki/index.php/P%C3%A1gina_principal. Accessed: 2016-08-22.
(Archived by WebCite® at http://www.webcitation.org/6jxZarAkW) (In
Portuguese)

Authorized View
licensed
publicationuse
stats limited to: PONTIFICIA UNIVERSIDADE CATOLICA DO RIO DE JANEIRO. Downloaded on June 19,2020 at 14:38:38 UTC from IEEE Xplore. Restrictions apply.

You might also like