A South Perth doctor has been charged with sex offences over an incident alleged to have occurred two years ago.