XML 41 R29.htm IDEA: XBRL DOCUMENT v3.10.0.1
REVENUE (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Jun. 30, 2018
Jun. 30, 2017
Dec. 31, 2017
Disaggregation of Revenue [Line Items]          
Total Revenue $ 175,789 $ 218,106 $ 344,373 $ 435,916  
Gross profit 59,957 67,611 115,005 132,486  
Bad debt expense 0 $ 6,117 0 $ 13,160  
Allowance for doubtful accounts 0   0   $ 37,912
Revenue recognized related to prior period performance obligations 7,700   9,000    
Commercial          
Disaggregation of Revenue [Line Items]          
Total Revenue 152,251   292,792    
Government          
Disaggregation of Revenue [Line Items]          
Total Revenue 22,397   48,939    
Patient          
Disaggregation of Revenue [Line Items]          
Total Revenue 1,141   2,642    
Calculated under Revenue Guidance in Effect before Topic 606          
Disaggregation of Revenue [Line Items]          
Total Revenue 181,200   355,200    
Gross profit 65,300   125,800    
Bad debt expense 5,400   10,800    
Allowance for doubtful accounts $ 48,700   $ 48,700    
Revenue from Rights Concentration Risk | Sales Revenue, Net          
Disaggregation of Revenue [Line Items]          
Percentage of concentration risk     1.00%