Doctors said he was perhaps “days away” from getting very ill