Already under way are tests on a time-saving AI tool that generates doctors’ medical notes and summaries.