There has to be a doctor on the ship. I would not be suprised if some of the larger carriers have multiple doctors. It would be foolishs to not have medical personel when you have crew members who might encounter radiation, injury, viral infection from alien worlds, hell STDs from shore leaves...