Modern doctors spend a lot of time they could be working with patients taking notes. A new AI technology could change that.