|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectidi.diplom.linda.logic.AlarmLogic
public class AlarmLogic
Constructor Summary | |
---|---|
AlarmLogic()
|
Method Summary | |
---|---|
void |
addPacketToDismissedAlarms(MedPacket mp,
Patient p)
NOT IN USE IN THIS VERSION |
void |
checkForAlarms(Patient p,
MedPacket mp)
Checks if medpacket contains abnormal vital sign values and creates alarms |
void |
dismissAlarm(Alarm a)
Dismisses the specified alarm |
Alarm |
getAlarmFromTrigger(Patient p,
int s)
Gets an alarm on specified patient with specified vital sign |
Alarm[] |
getAllActiveAlarms(Patient p)
Gets all active alarms (alarms that have not been dismissed) on patient p |
Alarm[] |
getAllAlarms()
|
void |
saveAlarm(Alarm a)
Saves an alarm |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AlarmLogic()
Method Detail |
---|
public Alarm[] getAllAlarms() throws DatabaseException, GeneralException
DatabaseException
GeneralException
public Alarm[] getAllActiveAlarms(Patient p) throws DatabaseException, GeneralException
patient
- to get alarms from
DatabaseException
GeneralException
public Alarm getAlarmFromTrigger(Patient p, int s) throws DatabaseException, GeneralException
patient
- to get alarm fromsensornumber
-
DatabaseException
GeneralException
public void checkForAlarms(Patient p, MedPacket mp) throws DatabaseException, GeneralException
patient
- to check for alarms onmedpacket
- to check for abnormal values
DatabaseException
GeneralException
public void saveAlarm(Alarm a) throws DatabaseException, GeneralException
alarm
- to be saved
DatabaseException
GeneralException
public void addPacketToDismissedAlarms(MedPacket mp, Patient p) throws DatabaseException, GeneralException
mp
- p
-
DatabaseException
GeneralException
public void dismissAlarm(Alarm a) throws DatabaseException, GeneralException
alarm
- to be dismissed
DatabaseException
GeneralException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |