I am assuming you are aware that the clause "if I were a doctor" is not a complete sentence. The condition is in the present as far as meaning is concerned. It means "I am not a doctor, but if we imagine that I am a doctor".
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.