Theory and analysis of typical errors in a medical setting.