The role of human resources in the prevention of medical errors for the improvement in the hospital quality system