 In 1746, Fleming began formal study of medicine at the University of Edinburgh.He then entered the Royal Navy, supposedly serving as a surgeon's mate and surviving capture and imprisoned by the Spanish.After his release, Fleming resigned from the navy and emigrated to Virginia.