- Chief Scientific Adviser (2012-2014), Czech Government, Prague
- Professor of Medical Informatics, University of Economics, Prague
- Vice-President (1996-2000), Wolfson College
- Senior Tutor (1989-1992), Wolfson College
Professor Hanka has been Director of the Centre for Clinical Informatics in the School of Clinical Medicine until his retirement in 2004. He has been Fellow of the College since 1982, Tutor and Senior Tutor (1985-1992) and Vice-President (1996-2002). Apart from his academic work in the field of Medical Informatics and Knowledge Management he has been a member of various central bodies of the University including membership of the Financial Board from 1984 to 2002. For several years he was Chairman of the Schools Examination Syndicate and Joint-Chairman of the Oxford and Cambridge Examinations Board. Between 1997 and 2004 he also served as Chairman of two venture capital funds linked with the University. In 2003 he was awarded Bolzano Medal for Merit in Mathematical Sciences by the Czech Academy of Sciences.
Since his retirement he has been teaching in his birthplace, the Czech Republic, even though he still lives in Cambridge where he and his wife, Mila, spend most of their time. He was active in the debate about the problems facing the Czech universities and in 2009 was appointed Chairman of the Council for the Reform of Tertiary Education in the Czech Republic and finally served as Chief Scientific Adviser of the Czech Government.