Research Article

A Platform for e-Health Control and Location Services for Wandering Patients

Algorithm 1: Identification of AHREs.

Require: of HR
Ensure: Identification of abnormality events
(1)if newSample is normalRead then
(2) staAbnormality is false
(3)if staAbnormality is true then
(4)  if then
(5)   Abnormal Episode
(6)  else
(7)   newSample
(8)  end if
(9)else
(10)  staAbnormality es true
(11)  staAbnTim it is equal to sampleTime
(12)end if
(13)end if
Algorithm 1: Identification of AHREs.