Gut reaction to child's illness prompted bestselling diet book