ER doctor "Shadowfax" describes the Medicare whipsaw for physicians: "Medicare made the rules and now punishes doctors for following them".
The unintended consequences are due to a combination of coding rules, electronic medical records, payment rules, government definitions of "medical necessity", and presumption of guilt.