The way clinicians get paid for service is to report everything they do, in obscure and highly-specific codes. Practices on average have to consider arrangements with 25 or so payer entities, and must consider the varying requirements with each.
EMRs are still playing catch up, but there is hope. One of the best applications of AI is translation, something EMRs desperately need.