Upload
winfred-carson
View
214
Download
1
Embed Size (px)
Citation preview
Department of Computer Science
MILE STONE 1
Hospital Finder Component for SIS System
Anatoli Shein([email protected])
Department of Computer Science
Motivation
• Immediate help required
04/19/23Anatoli Shein
Department of Computer Science
Motivation
• At different locations
04/19/23Anatoli Shein
Department of Computer Science
Motivation
• Nearest hospitals
04/19/23Anatoli Shein
Department of Computer Science
Motivation
• Current traffic
04/19/23Anatoli Shein
Department of Computer Science
30 Oct 2014Daniel Petrov
SIS Server
GUI
Hospital Finder VAMCIP
Internet
Google Maps API
SIS System Model
Input Processor
Health Sensor
Department of Computer Science
Passed Messages
Input messages:
04/19/23Anatoli Shein
Input MSG ID: Description:
20 Create Hospital Finder Component
22 Kill Component
32 Blood Pressure Alert
42 Blood Sugar Alert
36 EKG Alert
34 SPO2 Alert
38 Emergency Alert
48 Coordinates Response
Hospital Finder Component
Department of Computer Science
Passed Messages
Output messages:
04/19/23Anatoli Shein
Output MSG ID: Description:
47 Coordinates Request
48 Nearest Hospitals
Hospital Finder Component
Department of Computer Science
Output MsgID: 47 Coordinates Request
04/19/23Anatoli Shein
<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>
Department of Computer Science
Input MsgID: 48 Coordinates Response
04/19/23Anatoli Shein
<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>
Department of Computer Science
Output: Nearest Hospitals
04/19/23Anatoli Shein
<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>
Department of Computer Science
Scenario:1. Hospital Finder component has to be pre-activated with
message 20: Create Component
2. Patient is out for a walk
3. He starts not feeling well, so one of the sensors generates an Alert Message (32, 34, 36, 38, or 42)
4. The alert message triggers Hospital Finder component, which generates message 47: Coordinates Request
5. Wait for message 48: Coordinates Response coming from GPS sensor
6. Access Google Maps API through Hospital Finder component to get closest hospitals and directions in current traffic
7. Generate and send to the GUI message 49: Nearest Hospitals
8. GUI displays the results on the map, then the administrator chooses the most suitable hospital to contact for help
9. Now Hospital Finder component can be killed with message 22: Kill Component
Department of Computer Science
• Thank you.
• Questions?
04/19/23Anatoli Shein