A shark attacked a diver near the Chatham Islands, prompting emergency response from Hato Hone St John and the New Zealand Flying Doctors Service.