*The kind of sentence "People consider/think/believe/...that he is..." has two forms of passive voice.
-He was believed to be a doctor=People believed that he was a doctor=It was believed that he was a doctor.
*When your thought related with the previous action,"To have past participle" wil be used.
-He was believed to have been a doctor=People believe that he was a doctor=It is believed that he was a doctor.