Fully automated does not mean nobody from the company onboard, does it? Even assuming pilots have the final say about re-routing in case of medical emergency, I do not how they are better suited than a random flight attendant to evaluate medical conditions.