Airbus A350-941 MSN204, Delta N510DN, operating DL583 Detroit – Shanghai Pudong was around 90 minutes into the flight this evening then the aircraft turned back to Detroit due to a medical emergency. The flight was subsequently delayed overnight.