Application of principles of ergonomics in medicine