The diagnosis came as a shock.