People convicted of rape could permanently lose their medical licenses under legislation that has passed the Michigan House.