130 likes | 136 Views
MILE STONE 1. Hospital Finder Component for SIS System. Anatoli Shein (aus4@pitt.edu). Motivation. Immediate help required. Motivation. At different locations. Motivation. Nearest hospitals. Motivation. Current traffic. SIS System Model. GUI. Health Sensor. Input Processor.
E N D
MILE STONE 1 Hospital Finder Component for SIS System Anatoli Shein (aus4@pitt.edu)
Motivation Anatoli Shein Immediate help required
Motivation Anatoli Shein At different locations
Motivation Anatoli Shein • Nearest hospitals
Motivation Anatoli Shein Current traffic
SIS System Model GUI Health Sensor Input Processor SIS Server Hospital Finder VAMCIP Internet Google Maps API Daniel Petrov
Passed Messages Hospital Finder Component Anatoli Shein Input messages:
Passed Messages Hospital Finder Component Anatoli Shein Output messages:
Output MsgID: 47 Coordinates Request <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> Anatoli Shein
Input MsgID: 48 Coordinates Response <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> Anatoli Shein
Output: Nearest Hospitals <Msg> <Head> <MsgID>48</MsgID> <Description>Nearest Hospitals</Description> </Head> <Body> <Item> <Key>HospitalLongitude</Key> <Value>82.145577</Value> </Item> <Item> <Key>HospitalLatitude</Key> <Value>-34.11120</Value> </Item> <Item> <Key>Distance</Key> <Value>15</Value> </Item> <Item> <Key>Time</Key> <Value>10</Value> </Item> <Item> <Key>Poliline</Key> <Value>a~l~Fjk~uOwHJy@P</Value> </Item> <Item> <Key>DateTime</Key> <Value>2014-10-16 16:10:18.000</Value> </Item> </Body> </Msg> Anatoli Shein
Scenario: Hospital Finder component has to be pre-activated with message20: Create Component Patient is out for a walk He starts not feeling well, so one of the sensors generates an Alert Message (32, 34, 36, 38, or 42) The alert message triggers Hospital Finder component, which generates message 47: Coordinates Request Wait for message 48: Coordinates Response coming from GPS sensor Access Google Maps API through Hospital Finder component to get closest hospitals and directions in current traffic Generate and send to the GUI message 49: Nearest Hospitals GUI displays the results on the map, then the administrator chooses the most suitable hospital to contact for help Now Hospital Finder component can be killed with message22: Kill Component
Anatoli Shein Thank you. Questions?