He served as a doctor for 2 years on the front lines. After suffering a heart attack in 1916, he was dismissed from the army. After that he was in charge of the department of Neurology and Forensic Psychiatry at the Central Military Hospital in Prague.