Income Taxes and Tax Receivable Agreement - Approx. Tax Effects of Temporary Differences, Deferred Tax Asset and Liability (Details) - USD ($)
$ in Thousands
Dec. 31, 2016
Dec. 31, 2015
Deferred tax assets:    
Medical malpractice liability $ 4,194 $ 869
Accrued vacation and incentive compensation 1,112 2,212
Net operating loss carryforwards 158,796 146,663
Allowance for bad debts 8,343 1,846
Capital loss carryforwards 2,785 2,052
Deferred rent 1,371 2,288
Depreciation on property and equipment 530 0
Deferred financing costs 0 3,083
TRA liability 4,542 2,750
Other deferred assets 4,879 3,286
Total gross deferred tax assets 186,552 165,049
Less: Valuation allowance (7,358) (6,949)
Total deferred tax assets 179,194 158,100
Deferred tax liabilities:    
Deferred financing costs (8,797) 0
Depreciation on property and equipment 0 (806)
Amortization of intangible assets (15,241) (16,083)
Basis differences of partnerships and joint ventures (68,160) (46,494)
Other deferred liabilities (3,203) (612)
Total deferred tax liabilities (95,401) (63,995)
Net deferred tax assets $ 83,793 $ 94,105