Flight crews are trained to respond to medical incidents that arise mid-flight. When a passenger needs urgent treatment that cannot safely wait until the aircraft reaches its scheduled destination, pilots may choose to divert to the nearest suitable airport instead.
This decision is typically made in coordination with cabin crew, any medical professionals travelling on board, and air traffic control. Airport emergency teams are usually positioned close to the runway in advance, allowing them to board the aircraft and assist the passenger as soon as it lands.
While diversions understandably cause delays and disruption for other travellers, they reflect airlines prioritising passenger safety and ensuring urgent medical care is available without unnecessary delay.