Study: POS electronic safety check can reduce heart attack risk among diabetes patients