Research Article

Digital Avatars: Promoting Independent Living for Older Adults

Code 2

Rule for detecting high blood pressure situations.
from every (bp = BloodPressure )[bp.high >= 140 or bp.low >= 90]
select eventTimestamp() as ts,
  bp.high as high,
  bp.low as low
insert into HighBloodPressure