No, it was Pneumonia, this is directly stated by Mr. Ages:
"Your son has Pneumonia. It's not uncommon, but you CAN die from it!"
There are, however, several more instants throughout the film where it was pointed out that the child was in danger of dying.