Actually yes, when I was at psychiatry clinic the psychiatrist of the day dispensed all medication - including medication for stomach problems. Keep in mind that every medical doctor (including psychiatrists, but not psychologists) is trained in the entire field of medicine; they have specializations but that doesn't mean they can't solve other problems.