Any medical condition which can suddenly worsen in mid-air will prevent a passenger from flying. That is why pregnant women beyond a certain term are prevented from flying - who needs a medical emergency thousands of feet in the air with no medical facilities or staff trained beyond basic first aid?