A good example is the infusion of drugs. Medicare pays ASP+4% (just cut from +6% due to sequestration). If you're a clinic that doesn't get a discount on their drugs (mostly community based clinics) you're often paying more for the drug than the gov't pays you (it's a net loss every time you prescribe the drug).
However, the gov't does pay a lot to infuse the drug. The result? Providers everywhere were starting their own infusion clinics and making a ton of money on it. The profit from infusion clinics would be used to offset the loss from the purchase of the drug. CMS clamped down on reimbursement for infusion services recently, but it's still a profit center.
This happens all the time in the US healthcare system.
So what do hospitals do? They jack up the price on every item they possibly can. Of course insurance companies know what is up, so they negotiate much better rates for all of the items. However, for those who are uninsured, they pay the charge master rate which is very inflated.
The problem with the US healthcare system is not that's a free market, because it isn't. The problem is that's not a free market and it's not a fully regulated market, it's something in between. So what happens is that some regulations are put in place, some of which cause certain procedures to be unprofitable, so providers simply shift those costs to the un-(or less) regulated prices.