In order to obtain a permanent job in Aus mean you have to get a medical.
I had a medical at the start of the job, it included my medication and mental history. During my job I was well for the most of the time. I was in a pressured job and finally caved in. I had a nervous breakdown after about 12 years.
Workcover would cover you if you had a physical injury. But by that stage they had just changed the laws and for mental illness you had to go to court to prove your case. Given my state of mind at that stage I was too unwell to go to court. I was told that they would drag up any history I had of mental illness. And they had it on their records.....
So I saved my brain and just left it....... and the job.