Apparently a first officer had to do a landing
... putting the lives of passengers and millions of people under the flight-path at risk.
A more balanced view from the BBC, which actually manages to use some of the correct terminology for the pilots. And even mentions the regular health-checks that the captain would have had to go through over the last nine years.
American Airlines pilot died mid-flight from 'heart attack' - BBC News