Home>Virtual Classroom>Messages

 

Variables and Messages for
Personal HealthCare Slow Intelligence System

 

MsgID:20 Description: Create Basic Building Block Component Example:initialization example
Variables:
  • Passcode (Passcode of Administrator)
  • SecurityLevel (Security Level of Administrator)
  • Name (Name of created Component)
  • SourceCode (Source code file name of created Component)
  • InputMsgID 1 (MsgID of first input message)
  • ...
  • InputMsgID k (MsgID of last input message)
  • OutputMsgID 1 (MsgID of first ouput message)
  • ...
  • OutputMsgID m (MsgID of last ouput message)
  • Component Description(Description of created Component)
  • Component Var 1(Variable name 1 of created Component)
  • ...
  • Component Var n(Variable name n of created Component)
MsgID:21 Description: Create Advanced Building Block Component Example:initialization example
Variables:
  • Passcode (Passcode of Administrator)
  • SecurityLevel (Security Level of Administrator)
  • Name (Name of created Component)
  • SourceCode (Source code file name of created Component)
  • (Chang: Implement the TemperatureBloodPressureMonitor time controller. Draw the diagram for the super-component in WORD)
  • InputMsgID 1 (MsgID of first input message)
  • ...
  • InputMsgID k (MsgID of last input message)
  • OutputMsgID 1 (MsgID of first ouput message)
  • ...
  • OutputMsgID m (MsgID of last ouput message)
  • Component Description(Description of created Component)
  • (Ge: Desribe the component as PNML and insert it here. Implement a translator to translate PNML into the Java source code of time controller. PNML example can be found at http://www.cs.pitt.edu/~chang/231/sisic/C-Card1.xml.)
  • Component Var 1(Variable name 1 of created Component)
  • ...
  • Component Var n(Variable name n of created Component)
  • KnowledgeBase (Name of knowledge base)
MsgID:22 Description: Kill Component Example:Msg22.XML
Variables:
  • Passcode (Passcode of Administrator)
  • SecurityLevel (Security Level of Administrator)
  • Name (Name of killed Component)
  • SourceCode (Source code file name of killed Component)
MsgID:23 Description: Connect to server Example:Msg23.XML
Variables:
  • Passcode (Passcode of Administrator)
  • SecurityLevel (Security Level of Administrator)
  • Name (Name of Component to be connected to server)
MsgID:24 Description: Activate Component Example:Msg24.XML
Variables:
  • Passcode (Passcode of Administrator)
  • SecurityLevel (Security Level of Administrator)
  • Name (Name of activated Component)
  • SourceCode (Source code file name of activated Component)
MsgID:25 Description: DeActivate Component Example:Msg25.XML
Variables:
  • Passcode (Passcode of Administrator)
  • SecurityLevel (Security Level of Administrator)
  • Name (Name of deactivated Component)
  • SourceCode (Source code file name of activated Component)
MsgID:26 Description: Acknowledgement Example:Msg26.XML
Variables:
  • AckMsgID (This is Ack for MsgID)
  • YesNo (Yes/No for positive/negative Ack)
  • Name (Name of involved Component)
MsgID:30 Description: Sensor Data Input Example:Msg30.XML
Variables:
  • SensorType (blood pressure, EKG, etc.)
  • DataStream
  • DateTime (time stamp)
MsgID:31 Description: Blood Pressure Reading Example:Msg31.XML
Variables:
  • DataStream (blood pressure data stream)
  • DateTime (time stamp)
MsgID:32 Description: Blood Pressure Alert Example:Msg32.XML
Variables:
  • DataStream (blood pressure data stream)
  • Alert Type (blood pressure alert type)
  • Receiver (e-mail of receiver)
  • DateTime (time stamp)
MsgID:33 Description: SPO2 Reading Example:Msg33.XML
Variables:
  • DataStream (SPO2 data stream)
  • DateTime (time stamp)
MsgID:34 Description: SPO2 Alert Example:Msg34.XML
Variables:
  • DataStream (SPO2 data stream)
  • Alert Type (SPO2 alert type)
  • Receiver (e-mail of receiver)
  • DateTime (time stamp)
MsgID:35 Description: EKG Reading Example:Msg35.XML
Variables:
  • DataStream (EKG data stream)
  • DateTime (time stamp)
MsgID:36 Description: EKG Alert Example:Msg36.XML
Variables:
  • DataStream (EKG data stream)
  • Alert Type (EKG alert type)
  • Receiver (e-mail of receiver)
  • DateTime (time stamp)
MsgID:37 Description: General Health Readings Example:Msg37.XML
Variables:
  • BloodPressureDataStream
  • DateTimeBP (time stamp)
  • SPO2DataStream
  • DateTimeSPO2 (time stamp)
  • EKG DataStream
  • DateTimeEKG (time stamp)
MsgID:38 Description: Emergency Alert Example:Msg38.XML
Variables:
  • DataStream
  • GeneralAlertType (complex alerts combining several alerts)
  • Protocol
  • Receiver (e-mail of receiver)
  • DateTime (time stamp)
MsgID:39 Description: Temperature Reading (replacing 1018) Example:Msg39.XML
Variables:
  • Temperature (temperature data)
  • TempEnable (timerature enable)
  • DateTime (time stamp)
MsgID:40 Description: Temperature Alert (Msg 40 for simple alert and 38 for complex alert) Example:Msg40.XML
Variables:
  • Alert Type (temperature alert type)
  • DateTime (time stamp)
MsgID:41 Description: Blood Sugar Reading Example:Msg41.XML
Variables:
  • DataStream (blood sugar data stream)
  • DateTime (time stamp)
MsgID:42 Description: Blood Sugar Alert Example:Msg42.XML
Variables:
  • DataStream (blood sugar data stream)
  • Alert Type (blood sugar alert type)
  • Diagnosis (such as "high risk")
  • Suggestions (such as "see doctor immediately")
  • Receiver (e-mail of receiver)
  • DateTime (time stamp)
MsgID:43 Description: Kinect Reading (for fall detection, replacing Msg 30) Example:Msg43.XML
Variables:
  • KinectData (Kinect data)
  • DateTime (time stamp)
MsgID:44 Description: Kinect Alert (Msg 44 for simple alert and 38 for complex alert) Example:Msg44.XML
Variables:
  • Alert Type (Kinect alert type)
  • DateTime (time stamp)
MsgID:45 Description: User Profile Example:Msg45.XML
Variables:
  • UserName (user's name such as "user001")
  • Sex ("male" or "female")
  • Age (age in years such as "51")
  • Weight (weight in pounds such as "167")
  • Height (height in inches such as "62")
  • Diabetes ("normal", "prediabetic" or "diabetic")
  • Heart Disease ("yes" or "no")
  • Meal ("fasting", "before" or "after")
  • DoctorEmail (e-mail of physician)
  • HospitalEmail (e-mail of hospital)
  • DateTime (time stamp)