That is a concern. You spend all of this money and then find out that you are medically disabled. It's fairly stringent to get a class 1 medical, so maybe there should be some sort of a parachute clause, an insurance that you can pay into, whereby if you lose you licence medically, you don't have to pay back $75,000 to $100,000 in training.
That is a difficulty. Something that you don't face in almost any other occupation is the requirement to keep your class 1 medical.