23
Department of Computer Science Virtual Attendant for Mild Cognitive Impaired Patients CS2310: Multimedia Software Engineering Daniel Petrov School of Arts of and Sciences Department of Computer Science

Department of Computer Science Virtual Attendant for Mild Cognitive Impaired Patients CS2310: Multimedia Software Engineering Daniel Petrov School of Arts

Embed Size (px)

Citation preview

Page 1: Department of Computer Science Virtual Attendant for Mild Cognitive Impaired Patients CS2310: Multimedia Software Engineering Daniel Petrov School of Arts

Department of Computer Science

Virtual Attendant for Mild Cognitive Impaired Patients CS2310: Multimedia Software Engineering

Daniel PetrovSchool of Arts of and SciencesDepartment of Computer Science

Page 2: Department of Computer Science Virtual Attendant for Mild Cognitive Impaired Patients CS2310: Multimedia Software Engineering Daniel Petrov School of Arts

Department of Computer Science

Outline

• Dementia• Motivation• VAMCIP• Inter Component Communication• Scenarios• References

30 Oct 2014Daniel Petrov

Page 3: Department of Computer Science Virtual Attendant for Mild Cognitive Impaired Patients CS2310: Multimedia Software Engineering Daniel Petrov School of Arts

Department of Computer Science

DementiaDefinition:

– not a disease itself;

– A set of symptoms, which can be caused by a number of disorders.

30 Oct 2014Daniel Petrov

DementiaAlzheimer’s

Disease

Vascular dementia

Dementia with Lewy bodies (DLB)

Frontotemporal labor degeneration

(FTLD)

Mixed dementia

Parkinson’s Disease

Creutzfeldt-Jacob Disease

Alzheimer’s Disease

Page 4: Department of Computer Science Virtual Attendant for Mild Cognitive Impaired Patients CS2310: Multimedia Software Engineering Daniel Petrov School of Arts

Department of Computer Science

Motivation

• Alzheimer’s disease is the most common type of Dementia;

• One in three seniors dies with Alzheimer’s or another Dementia;

• In 2012, 15.4 million caregivers provided an estimated 17.5 billion hours of unpaid care, valued at more than $216 billion.

Does every patient need caregiver since she is diagnosed with a form of Dementia? How can Software Engineering help?

30 Oct 2014Daniel Petrov

Page 5: Department of Computer Science Virtual Attendant for Mild Cognitive Impaired Patients CS2310: Multimedia Software Engineering Daniel Petrov School of Arts

Department of Computer Science

Motivation (cont.)

• CDR – Clinical Dementia Rating• Dementia stages

• Virtual Attendant for Mild Cognitive Impaired Patients (VAMCIP)

30 Oct 2014Daniel Petrov

CDR=0No Impairment

CDR=.5 Questionable Impairment

CDR=1 Mild

Impairment

CDR=2 Moderate Impairment

CDR=3 Severe

Impairment

Patient needs help taking care of hygiene

OKPatient cannot

funcion at all without help

Patient is disoriented geographicallyOK

Page 6: Department of Computer Science Virtual Attendant for Mild Cognitive Impaired Patients CS2310: Multimedia Software Engineering Daniel Petrov School of Arts

Department of Computer Science

VAMCIP

• Decreases the level of intrusion into the daily activities of the patients by caregivers;

• Allows autonomy of patients, without jeopardizing their health condition;

30 Oct 2014Daniel Petrov

Page 7: Department of Computer Science Virtual Attendant for Mild Cognitive Impaired Patients CS2310: Multimedia Software Engineering Daniel Petrov School of Arts

Department of Computer Science

VAMCIP in Healthcare SIS

30 Oct 2014Daniel Petrov

SIS Server

GUI

Hospital Finder

Hospital Finder

Health Sensor

VAMCIP

Internet

Google Maps API

Input Processor

Page 8: Department of Computer Science Virtual Attendant for Mild Cognitive Impaired Patients CS2310: Multimedia Software Engineering Daniel Petrov School of Arts

Department of Computer Science

Component Initialization –MsgID:20• Passcode: ****

• SecurityLevel: 3

• Name: VAMCIP

• SourceCode: VAMCIP.jar

• InputMsgID 1: 43 (GPS Reading)

• InputMsgID 2: 46 (GUI Address Request)

• InputMsgID 3: 47 (Coordinates Request)

• OutputMsgID 1: 26 (Acknowledgement)

• OutputMsgID 2: 38 (Emergency Alert)

• OutputMsgID 3: 48 (Coordinates Response)

• Component Description: VAMCIP tracks the patient when outside and makes sure she is not in trouble

30 Oct 2014Daniel Petrov

Page 9: Department of Computer Science Virtual Attendant for Mild Cognitive Impaired Patients CS2310: Multimedia Software Engineering Daniel Petrov School of Arts

Department of Computer Science

Component Initialization –MsgID:20 (cont.)

<Msg>

<Head>

<MsgID>20</MsgID>

<Description>Create GUI Component

</Description>

</Head>

<Body>

<Item>

<Key>Passcode</Key>

<Value>****</Value>

</Item>

<Item>

<Key>SecurityLevel</Key>

<Value>3</Value>

</Item>

<Item>

<Key>Name</Key>

<Value>VAMCIP</Value>

</Item>

<Item>

<Key>SourceCode</Key>

<Value>VAMCIP.jar</Value>

</Item>

<Item>

<Key>InputMsgID 1</Key>

<Value>22</Value>

</Item>

<Item>

<Key>InputMsgID 2</Key>

<Value>46</Value>

</Item>

<Item>

<Key>InputMsgID 3</Key>

<Value>47</Value>

</Item>

30 Oct 2014

<Item>

<Key>OutputMsgID 1</Key>

<Value>26</Value>

</Item>

<Item>

<Key>OutputMsgID 2</Key>

<Value>38</Value>

</Item>

<Item>

<Key>OutputMsgID 3</Key>

<Value>48</Value>

</Item>

<Item>

<Key>Component Description</Key>

<Value>VAMCIP tracks the patient when outside and makes sure she is not in trouble</Value>

</Item>

</Body>

</Msg>

Page 10: Department of Computer Science Virtual Attendant for Mild Cognitive Impaired Patients CS2310: Multimedia Software Engineering Daniel Petrov School of Arts

Department of Computer Science

Kill Component –MsgID:22

• Passcode: ****

• SecurityLevel: 3

• Name: VAMCIP

• SourceCode: VAMCIP.jar

<Msg>

<Head>

<MsgID>22</MsgID>

<Description>Kill Component</Description>

</Head>

<Body>

<Item>

<Key>Passcode</Key>

<Value>****</Value>

</Item>

<Item>

<Key>SecurityLevel</Key>

<Value>3</Value>

</Item>

30 Oct 2014

<Item>

<Key>Name</Key>

<Value>VAMCIP</Value>

</Item>

<Item>

<Key>SourceCode</Key>

<Value>VAMCIP.jar</Value>

</Item>

</Body>

</Msg>

Daniel Petrov

Page 11: Department of Computer Science Virtual Attendant for Mild Cognitive Impaired Patients CS2310: Multimedia Software Engineering Daniel Petrov School of Arts

Department of Computer Science

Connect to Server –MsgID:23

• Passcode: ****• SecurityLevel: 3• Name: VAMCIP

30 Oct 2014

<Msg>

<Head>

<MsgID>23</MsgID>

<Description>Connect to Server

</Description>

</Head>

<Body>

<Item>

<Key>Passcode</Key>

<Value>****</Value>

</Item>

<Item>

<Key>SecurityLevel</Key>

<Value>3</Value>

</Item>

<Item>

<Key>Name</Key>

<Value>VAMCIP</Value>

</Item>

</Body>

</Msg>

Daniel Petrov

Page 12: Department of Computer Science Virtual Attendant for Mild Cognitive Impaired Patients CS2310: Multimedia Software Engineering Daniel Petrov School of Arts

Department of Computer Science

Acknowledgement –MsgID:26

• AckMsgID: 46• YesNo: Yes/No• Name: GUI

<Msg>

<Head>

<MsgID>26</MsgID>

<Description>ACK the message of the GUI</Description>

</Head>

<Body>

<Item>

<Key>AckMsgID</Key>

<Value>46</Value>

</Item>

<Item>

<Key>YesNo</Key>

<Value>Yes</Value>

</Item>

<Item>

<Key>Name</Key>

<Value>VAMCIP</Value>

</Item>

</Body>

</Msg>

30 Oct 2014Daniel Petrov

Page 13: Department of Computer Science Virtual Attendant for Mild Cognitive Impaired Patients CS2310: Multimedia Software Engineering Daniel Petrov School of Arts

Department of Computer Science

Sensor Data Input:30

• SensorType: GPS• DataStream:

Longitude; latitude• DateTime: 2014-

10-29 15:05:10.00000843

<Msg>

<Head>

<MsgID>30</MsgID>

<Description>Sensor Data Input

</Description>

</Head>

<Body>

<Item>

<Key>SensorType</Key>

<Value>GPS</Value>

</Item>

<Item>

<Key>Longitue</Key>

<Value>-79.956450</Value>

</Item>

<Item>

<Key>Latitude</Key>

<Value>40.441702</Value>

</Item>

30 Oct 2014

<Item>

<Key>DateTime</Key>

<Value>2010-03-16 15:05:10.00000843</Value>

</Item>

</Body>

</Msg>

Daniel Petrov

Page 14: Department of Computer Science Virtual Attendant for Mild Cognitive Impaired Patients CS2310: Multimedia Software Engineering Daniel Petrov School of Arts

Department of Computer Science

Emergency Alert–MsgID:38

• DataStream: Lost• GeneralAlert:

General Alert• Protocol: GPS• Name: VAMCIP• DateTime: 2014-

10-29 15:05:10.00000843

<Msg>

<Head>

<MsgID>38</MsgID>

<Description>Emergency Alert

</Description>

</Head>

<Body>

<Item>

<Key>Message</Key>

<Value>Lost</Value>

</Item>

<Item>

<Key>Alert Type</Key>

<Value>General Alert</Value>

</Item>

<Item>

<Key>Protocl</Key>

<Value>GPS</Value>

</Item>

30 Oct 2014

<Item>

<Key>Name</Key>

<Value>VAMCIP</Value>

</Item>

<Item>

<Key>DateTime</Key>

<Value>2010-03-16 15:05:10.00000843

</Value>

</Item>

</Body>

</Msg>

Daniel Petrov

Page 15: Department of Computer Science Virtual Attendant for Mild Cognitive Impaired Patients CS2310: Multimedia Software Engineering Daniel Petrov School of Arts

Department of Computer Science

GPS Reading–MsgID:43

30 Oct 2014

• DataStream: Longitude; latitude

• DateTime: 2014-10-29 15:05:10.00000843

<Msg>

<Head>

<MsgID>483/MsgID>

<Description>GPS Reading</Description>

</Head>

<Body>

<Item>

<Key>Longitue</Key>

<Value>-79.956450</Value>

</Item>

<Item>

<Key>Latitude</Key>

<Value>40.441702</Value>

</Item>

<Item>

<Key>DateTime</Key>

<Value>2010-03-16 15:05:10.00000843</Value>

</Item>

</Body>

</Msg>

Daniel Petrov

Page 16: Department of Computer Science Virtual Attendant for Mild Cognitive Impaired Patients CS2310: Multimedia Software Engineering Daniel Petrov School of Arts

Department of Computer Science

GUI Address Request–MsgID:46

• DataStream: Address

• DateTime: 2014-10-29 15:05:10.00000843

30 Oct 2014

<Msg>

<Head>

<MsgID>46</MsgID>

<Description>Address Request</Description>

</Head>

<Body>

<Item>

<Key>Address</Key>

<Value>210 S Bouquet Str, 15260, Pittsburgh, PA</Value>

</Item>

<Item>

<Key>DateTime</Key>

<Value>2010-03-16 15:05:10.00000843</Value>

</Item>

</Body>

</Msg>Daniel Petrov

Page 17: Department of Computer Science Virtual Attendant for Mild Cognitive Impaired Patients CS2310: Multimedia Software Engineering Daniel Petrov School of Arts

Department of Computer Science

Coordinates Request–MsgID:47

• Name: Hospital Finder

• DateTime: 2014-10-29 15:05:10.00000843

30 Oct 2014

<Msg>

<Head>

<MsgID>47</MsgID>

<Description>Coordinates Request</Description>

</Head>

<Body>

<Item>

<Key>Name</Key>

<Value>Hospital Finder</Value>

</Item>

<Item>

<Key>DateTime</Key>

<Value>2010-03-16 15:05:10.00000843</Value>

</Item>

</Body>

</Msg>

Daniel Petrov

Page 18: Department of Computer Science Virtual Attendant for Mild Cognitive Impaired Patients CS2310: Multimedia Software Engineering Daniel Petrov School of Arts

Department of Computer Science

Coordinates Response –MsgID:48

• DataStream: Longitude; latitude

• DateTime: 2014-10-29 15:05:10.00000843

30 Oct 2014

<Msg>

<Head>

<MsgID>48</MsgID>

<Description>Coordinates Response</Description>

</Head>

<Body>

<Item>

<Key>Longitue</Key>

<Value>-79.956450</Value>

</Item>

<Item>

<Key>Latitude</Key>

<Value>40.441702</Value>

</Item>

<Item>

<Key>DateTime</Key>

<Value>2010-03-16 15:05:10.00000843</Value>

</Item>

</Body>

</Msg>

Daniel Petrov

Page 19: Department of Computer Science Virtual Attendant for Mild Cognitive Impaired Patients CS2310: Multimedia Software Engineering Daniel Petrov School of Arts

Department of Computer Science

Scenario 1 (simple)

1. The GPS sensors sends Msg 30 (sensor data input) to the Input Processor, which parses it and extracts the longitude and the latitude;

2. The InputProcessor sends Msg 43 (GPS Reading) to the VAMCIP module;

3. The Hospital Finder modules sends Msg 47 (Coordinates Request) to the VAMCIP;

4. VAMCIP sends the latest coordinates it got from the InputProcessor to the Hospital Finder module

30 Oct 2014Daniel Petrov

Page 20: Department of Computer Science Virtual Attendant for Mild Cognitive Impaired Patients CS2310: Multimedia Software Engineering Daniel Petrov School of Arts

Department of Computer Science

Scenario 2 (complicated)

1. The GUI sends Msg46 (GUI Address Request) to VAMCIP;

2. VAMCIP parses the address and contacts the Google Maps API to find a route from the current location of the patient to the destination as delivered by Msg46

3. In case a route is found, the VAMCIP sends Msg26 (Acknowledgement) to the GUI

4. The GPS sensors sends Msg 30 (sensor data input) to the Input Processor, which parses it and extracts the longitude and the latitude;30 Oct 2014Daniel Petrov

Page 21: Department of Computer Science Virtual Attendant for Mild Cognitive Impaired Patients CS2310: Multimedia Software Engineering Daniel Petrov School of Arts

Department of Computer Science

Scenario 2 (cont.)

5. The InputProcessor sends Msg 43 (GPS Reading) to the VAMCIP module;

6. The VAMCIP module checks if the point is on the route as predefined (using the Google Maps API);

7. Steps 4-6 are repeated or more times;

8. If the position is not on the route, VAMCIP sends Msg38 (General Alert) that the patient is lost.

30 Oct 2014Daniel Petrov

Page 22: Department of Computer Science Virtual Attendant for Mild Cognitive Impaired Patients CS2310: Multimedia Software Engineering Daniel Petrov School of Arts

Department of Computer Science

References

• 2013 Alzheimer’s Disease Facts and Figures – http://www.alz.org/downloads/facts_figures_2013.pdf

• 2014 Alzheimer's Disease Facts and Figures - http://www.alz.org/downloads/Facts_Figures_2014.pdf

• Disease Progression: The 5 Stages of Dementia - http://www.healthline.com/health/dementia/stages#Overview1

• Google Maps API - https://developers.google.com/maps/

30 Oct 2014Daniel Petrov

Page 23: Department of Computer Science Virtual Attendant for Mild Cognitive Impaired Patients CS2310: Multimedia Software Engineering Daniel Petrov School of Arts

Department of Computer Science

Q&A?

Thank you!

30 Oct 2014Daniel Petrov