A CLOSED-LOOP SYSTEM FOR PERVASIVE HEALTH
Jong Hyun Lim Defense Talk 19 October 2012 @ 2pm Maryland 214
1
Department of Computer Science
A CLOSED-LOOP SYSTEM FOR PERVASIVE HEALTH Jong Hyun Lim Defense - - PowerPoint PPT Presentation
1 Department of Computer Science A CLOSED-LOOP SYSTEM FOR PERVASIVE HEALTH Jong Hyun Lim Defense Talk 19 October 2012 @ 2pm Maryland 214 2 Department of Computer Science Chronic Diseases and Outcomes Increased life expectancy, increased
1
Department of Computer Science
2
Department of Computer Science
3
Department of Computer Science
Bayer Contour USB Jawbone UP Withings wireless weight scale
Fitbit Activity Monitor
Web Servers
4
Department of Computer Science
Department of Computer Science
5
Department of Computer Science
6
Activity monitor Weight Dietary intake & Location Device Owners Developers
..... .....
Application for Obesity Web Server1 Web Server2 Web Server3 Data streams
Department of Computer Science
7
Activity monitor Weight Dietary intake & Location Device Owners Developers
..... .....
Application for Obesity Web Server1 Web Server2 Web Server3 Data streams Caregivers
No Connections to Caregivers !! (Open) Low device utilization
8
Department of Computer Science
Data Collection & Application Development Activity monitor Weight Dietary intake & location Caregivers Providers All streams Device Owners Developers Intervention & Event Detection Feedback/Alerts/ Triggers/Survey
..... .....
Applications
at Home Using Game Consoles, IEEE Communications Magazine, Jan 2012.
Activity Monitor
SQLite Device Driver HTTP, Security, OAuth MySQL Device Driver HTTP, Security, Basic
Wireless Weight Scale
WiFi
BlueTooth
XML JSON
9
Department of Computer Science
Activity Monitor
SQLite Device Driver HTTP, Security, OAuth MySQL Device Driver HTTP, Security, Basic
Wireless Weight Scale
WiFi
BlueTooth
XML JSON 1 N App for Obesity
development
heterogeneous protocols, message formats, and APIs Low composability and maintenance challenge
10
Department of Computer Science
Activity Monitor
MySQL Device Driver HTTP, Security, Basic
Wireless Weight Scale
WiFi
XML App for Obesity New Devices:
coupled for custom purpose
developers need to modify all components in the system
11
Department of Computer Science
12
Department of Computer Science
devices easily
13
Department of Computer Science
* Lim et al., HealthOS: A Platform For Pervasive Health Applications, mHealthsys, Nov 2012
App Storage Space
Pipeline 3 Pipeline 1 Adapter 2 Adapter N Adapter 1
Smartphone Game Console Physiological Monitor HealthOS Server
Pipeline 2
Push HealthOS Client
14
Department of Computer Science
PC or mobile platforms A process running in Internet (e.g., cloud)
15
Department of Computer Science
/<userID>/<device>/<deviceID>/<modality>/<command> ¡
http://lim.cs.jhu.edu/lim/fitbit/547945/activity ¡
(HTTP request from applications)
security in HealthOS)
16
Department of Computer Science
Department of Computer Science
17
<User> <UserID>lim</UserID> <UserName> <LastName>Lim</LastName> <FirstName>Jonghyun</FirstName> </UserName> <DeviceName>Fitbit</DeviceName> <DeviceType>Activity Monitor</DeviceType> <DeviceID>547945</DeviceID> <DeviceName>Zeo Sleep Manager</DeviceName> …..
[Without ¡API ¡: ¡retrieving ¡user ¡lim ¡device ¡information ¡
http://lim.cs.jhu.edu/lim
Department of Computer Science
18
HealthOS ¡healthos ¡= ¡new ¡HealthOS(“http://lim.cs.jhu.edu", ¡"lim", ¡"password"); ¡ User ¡user ¡= ¡healthos.getUserById("lim"); ¡ ¡ for(Device ¡device ¡: ¡user.getDevices()) ¡{ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡System.out.println(device.getName()); ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡System.out.println(device.getModalities()); ¡ } ¡
App HealthOS Server Push Hospital EMR System Pull 1. Message Formats (CCD
[2])
2. Services (Push data) 3. Protocols (FTP) 1. Message formats (CCR [1]) 2. Data Translation
19
Department of Computer Science
[1] CCR (Continuity Care of Record) and [2] CCD (Continuity Care of Document)
20
Department of Computer Science
HealthOS Server BioHarness Accelerometer data Daily Activity Monitor
Database
I want step counts data in CCR XML
Get accelerometer data
step counts
<Body> …. <Description> step count .. …. <Value> 20 </Value>
21
Department of Computer Science
App HealthOS Server Push Hospital EMR System Pipeline 1 storage space Pipeline 2 Pipeline 3 components pool (HealthOS server) assemble
22
Department of Computer Science
DBConnector CCR_translator . <<component>> <<component>> ProvDBData CCRData Required Interface Provided Interface To client requesting data ReqDBData
23
Department of Computer Science
Adapter 2 Adapter N Adapter 1
Exercise monitor Game exercise Physiological monitor HealthOS Client 1 PC HealthOS Server Tablet HealthOS Client 2 Encrypted data
{ "packet": { "sleep":[ ["time_in_deep", "uint", 2, 1], ["time_in_light", "uint", 2, 2], , …] }, "devicename":"zeo", "adaptername":"zeo_adapter”, "interface”:”Bluetooth” …. }
24
Department of Computer Science
time_in_deep time_in_light
Zeo Sleep Managers’ sleep message: (2 bytes unsigned integer)
…
Zeo ‘s Device Abstraction Macro Scripts
[A new adapter for Zeo Sleep Manager]
Input
25
Department of Computer Science
Output
Communication with HealthOS Communication with Zeo Message Parsing, Formatting and Securing data
26
Department of Computer Science
{ "packet": { ”vitals": [ [”o2", "uint", 2, 1], [”heartrate", "uint", 2, 1], , …] }, "devicename":”miTag", "adaptername":”miTag_adapter”, "interface":”USBserial” }
Wireless Physiological Monitor miTag (o2, pulse, etc.) 1 Developers compose a new device abstraction
27
Department of Computer Science
User “lim” with miTag ID 2 + miTag abstraction
2 3
miTag_adapter HealthOS client
HealthOS Web services
URL request from HealthOS application: https://lim.cs.jhu.edu/lim/miTag/2/vitals
5
lim_miTag_2_vitals [Database Table] HealthOS server [Pipeline] lim_miTag_2_vitals
4
RESTful API LookingGlass Caregiver, Data Owner HealthOS
....
Caregivers, Data Owner O2, Pulse Weight Balance O2, Pulse Weight Balance 1 2 3 N
....
1 (security and authentication methods)
[Stovepipe systems] [HealthOS]
28
Department of Computer Science
Department of Computer Science
29
HealthOS activity level weight trend dietary intake, location Caregivers Providers all streams Device Owners Developers Intervention Event Detection feedback/alerts/ triggers/survey
..... .....
applications
Server Elders' Residence Balance & Weight Exercise Game Elders Clinicians' Data
Internet
Exercise Interventions: visit or call (Installed for two weeks)
30
Department of Computer Science
Study goal: Improve lower body strength of 21 elders to prevent fall Game design: users’ ability and motivator Result: mean score of lower body function improvement: 24%
31
Department of Computer Science
and survey device users.
(ODK). [2]
AlertTrigger Schedule
Event- driven Conditional Message Form Text Audio Image Periodic AlertFormat Immediate
...
* Zhan et al., DailyAlert: A Generic Mobile Persuasion Toolkit for Smartphones, PhoneSense 2011 32
Department of Computer Science
User: user-friendliness and Controllability Caregivers: alert composability
DailyAlert mobile
<Survey name=”survey1”> <Question> <Header>Is the pain</Header> <Options> <Option>very bad</Option> <Option>bad</Option> <Option>not too bad</Option> </Options> </Question>
server and set AlertTrigger (everyday)
33
Department of Computer Science
ODK GUI and export the alert to XML
34
Department of Computer Science
Detection Algorithm Rule Definition (based on a statistical model or rule) Trend Finder Estimated Parameters
Input: sensor measurements Output: alerts/ notifications Input: users' requirements
35
Department of Computer Science
Input: weight
measurement from HealthOS
1 Output: µ
(an estimated parameter)
3
A rule based on a model: 10% weight loss in the past month
e.g., µ(1) - µ(30) ≥ 0.1 µ(1), generate an alert 4
Department of Computer Science
Weight loss in Chronic Obstructive Pulmonary Disease (COPD) study
Linear regression component
Time window (start date, end date) 2
G G G G G G G G G G G G G G G G G G
10 20 −2 2 4
µ
(lbs) (date) 140 150 130 9/30
36
37
* Pictures from APDM, Inc
Trend Finder Data from HealthOS 1. Gait, posture analysis algorithm: sit-to-stand, 7 meter walk-away performance, cadence, stride velocity, stride length, and etc.
to me.
Too many turns and slopes, modify routes John (patient, lower body limitation) Accelerometers, GPS Matt (doctor) Designing a personalized exercise routine For John
Department of Computer Science
38
Department of Computer Science
detecting the presence of fault. Model data characteristics, such as spikes, glitches, and stuck-at value readings.
39
Department of Computer Science
Time(date) EKG
(stuck-at)
EKG Unusually high heart rate Activity monitor
Department of Computer Science
40
HealthOS activity level weight trend dietary intake, location Caregivers /Providers all streams Device Owners Developers DailyAlert Trend Finder feedback/alerts/ triggers/survey
..... .....
Application
using adapters/pipeline/API easily
Department of Computer Science
41
HealthOS activity level weight trend dietary intake, location Caregivers /Providers all streams Device Owners Developers DailyAlert Trend Finder feedback/alerts/ triggers/survey
..... .....
Application
Department of Computer Science
42
HealthOS activity level weight trend dietary intake, location Caregivers /Providers all streams Device Owners Developers DailyAlert Trend Finder feedback/alerts/ triggers/survey
..... .....
Application
43
Department of Computer Science
Department of Computer Science
44
2010
Architectures, doctoral dissertation, 2000
Embedded Computing Systems (TECS), Special Issue on Wireless Health Systems, 2010
Department of Computer Science
45
pilot study of feasibility and acceptability, Gait and Posture (in submission)
894, 2009
association with self-reported disability and prediction of mortality and nursing home admission, J. Gerontology, 1994 (SPPB)
care intervention for patients with type 2 diabetes, Diabetes technology & therapeutics, 2011 (smartphone frustration)
Department of Computer Science
46