Luckily flight plans are always required to be within a certain number of minutes of a place to land, and are certified to operate on one engine for that period.
Turbine blades failing and piecing a hydraulic line on the other hand...
See the 3rd response... https://www.airliners.net/forum/viewtopic.php?t=119921
Airlines have contracts with companies who provide a sat phone link to doctors who have the flight information and medical facilities at possible diversion airfields. Eg MedAire.
The view coming in to Keflavik, with whales swimming in the ocean below, was pretty cool.