The following query can be used to raise an alert if a patient has taken an overdose of antibiotics in the past 4 hours.
PATTERN SEQ(MedicineTaken x, MedicineTaken y)
WHERE [name=‘John’]
AND [medicine=‘Antibiotics’]
AND (x.amount + y.amount) > 1000
WITHIN 4 hours

Last updated: 07/16/14 11:35:35

Locations of visitors to this page

Previous page: RFID
Next page: Financial Services