The legal impact of artificial intelligence on the New Zealand health system.