Imagine if you learned a government agency built its own office furniture, HVAC, or telephones. Even if there were a massive amount of corruption in government purchasing, it would be remarkable if a bureaucracy could do a better job building than buying.
Yet, for decades, the Veterans Health Administration has tried to do that with its Electronic Health Record (EHR). I cannot think of another health system that has built its own EHR, rather than buy it from a vendor. It makes as little sense as a health system manufacturing its own MRI machines.