A walking direction detection system signals whether a patient is moving from a safe area or within a safe area. Therefore, no "unnecessary" alarms are triggered.