Dr John Gibson Fleming, Visiting Surgeon, 1839-1878