There are a small number of Railway Group Standards which contain requirements for medical fitness of certain categories of railway staff.
GE/RT8070 Drugs and Alcohol GO/RT3251 Train Driving GO/RT3255 Train Working - Competence and Fitness