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
Outline Dementia Motivation VAMCIP Inter Component Communication Scenarios References 30 Oct 2014Daniel Petrov
Department of Computer Science Dementia Definition: –not a disease itself; –A set of symptoms, which can be caused by a number of disorders. 30 Oct 2014Daniel Petrov Dementia Alzheimer’s Disease Vascular dementia Dementia with Lewy bodies (DLB) Frontotemporal labor degeneration (FTLD) Mixed dementia Parkinson’s Disease Creutzfeldt- Jacob Disease Alzheimer’s Disease
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
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=0 No Impairment CDR=0 No Impairment CDR=.5 Questionable Impairment CDR=1 Mild Impairment CDR=2 Moderate Impairment CDR=3 Severe Impairment Patient needs help taking care of hygiene OK Patient cannot funcion at all without help Patient is disoriented geographically OK
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
Department of Computer Science VAMCIP in Healthcare SIS 30 Oct 2014Daniel Petrov SIS Server GUI Hospital Finder Health Sensor VAMCIP Internet Google Maps API Input Processor
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
Department of Computer Science Component Initialization – MsgID:20 (cont.) 20 Create GUI Component Passcode **** SecurityLevel 3 Name VAMCIP SourceCode VAMCIP.jar InputMsgID 1 22 InputMsgID 2 46 InputMsgID Oct 2014 OutputMsgID 1 26 OutputMsgID 2 38 OutputMsgID 3 48 Component Description VAMCIP tracks the patient when outside and makes sure she is not in trouble
Department of Computer Science Kill Component –MsgID:22 Passcode: **** SecurityLevel: 3 Name: VAMCIP SourceCode: VAMCIP.jar 22 Kill Component Passcode **** SecurityLevel 3 30 Oct 2014 Name VAMCIP SourceCode VAMCIP.jar Daniel Petrov
Department of Computer Science Connect to Server –MsgID:23 Passcode: **** SecurityLevel: 3 Name: VAMCIP 30 Oct Connect to Server Passcode **** SecurityLevel 3 Name VAMCIP Daniel Petrov
Department of Computer Science Acknowledgement –MsgID:26 AckMsgID: 46 YesNo: Yes/No Name: GUI 26 ACK the message of the GUI AckMsgID 46 YesNo Yes Name VAMCIP 30 Oct 2014Daniel Petrov
Department of Computer Science Sensor Data Input:30 SensorType: GPS DataStream: Longitude; latitude DateTime: :05: Sensor Data Input SensorType GPS Longitue Latitude Oct 2014 DateTime :05: Daniel Petrov
Department of Computer Science Emergency Alert–MsgID:38 DataStream: Lost GeneralAlert: General Alert Protocol: GPS Name: VAMCIP DateTime: :05: Emergency Alert Message Lost Alert Type General Alert Protocl GPS 30 Oct 2014 Name VAMCIP DateTime :05: Daniel Petrov
Department of Computer Science GPS Reading–MsgID:43 30 Oct 2014 DataStream: Longitude; latitude DateTime: :05: /MsgID> GPS Reading Longitue Latitude DateTime :05: Daniel Petrov
Department of Computer Science GUI Address Request–MsgID:46 DataStream: Address DateTime: :05: Oct Address Request Address 210 S Bouquet Str, 15260, Pittsburgh, PA DateTime :05: Daniel Petrov
Department of Computer Science Coordinates Request–MsgID:47 Name: Hospital Finder DateTime: :05: Oct Coordinates Request Name Hospital Finder DateTime :05: Daniel Petrov
Department of Computer Science Coordinates Response – MsgID:48 DataStream: Longitude; latitude DateTime: :05: Oct Coordinates Response Longitue Latitude DateTime :05: Daniel Petrov
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
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
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
Department of Computer Science References 2013 Alzheimer’s Disease Facts and Figures – Alzheimer's Disease Facts and Figures Disease Progression: The 5 Stages of Dementia Google Maps API Oct 2014Daniel Petrov
Department of Computer Science Q&A? Thank you! 30 Oct 2014Daniel Petrov