Controlling Device-Related Errors in Hospitals