A doctor who had just returned to New York recently after treating Ebola patients in West Africa has tested positive for the virus.