With an eye to AI and autonomous diagnosis