Health insurers have perfected a way to wring billions more in revenue from the Medicare program by combing patient medical charts for additional diagnosis codes to submit to the federal government for payment.