Yeah, this one is weird, the middlemen are there because we allow rent-seeking behaviour whether by insurance companies, complex corporate structures that have taken over practices, PBMs, etc. etc. Those aren't going away if we make things "more efficient" with technology, there is too much money to be made in the inefficiencies.