Novak Djokovic vomited multiple times while playing against Yannick Hanfmann at the Shanghai Masters on Sunday under harsh conditions.