Basic magnetic pull-cord patient sensor alarm