Gyarmathi studied to be a teacher in Nagyenyed (Aiud) before training to be a doctor in Vienna, after which he practised medicine in Transylvania.
Gyarmathi's path involved education in teaching before transitioning into medical training in Vienna and practicing medicine in Transylvania.