Quarterly report pursuant to Section 13 or 15(d)

Summary of Significant Accounting Policies - Schedule of Topic 606 Impact (Details)

v3.10.0.1
Summary of Significant Accounting Policies - Schedule of Topic 606 Impact (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended 12 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Jun. 30, 2018
Jun. 30, 2017
Dec. 31, 2017
Condensed Consolidated Statement of Operations          
Total revenues $ 263,685 $ 292,601 $ 518,598 $ 558,981  
Selling, general and administrative 87,653 105,579 179,172 215,523  
Research and development 29,211 33,128 62,097 59,685  
Condensed Consolidated Balance Sheet          
Other current assets and prepaid expenses 41,651   41,651   $ 42,513
Accrued expenses 200,992   200,992   230,301
Other long-term liabilities, principally contract liabilities, contingent consideration and line of credit 209,444   209,444   239,955
Accumulated deficit (1,081,397)   (1,081,397)   (1,036,959)
Condensed Consolidated Statement of Cash Flows          
Net loss (6,201) (16,916) (49,315) (51,419)  
Contract liabilities     (30,812) (31,122)  
As originally reported          
Condensed Consolidated Statement of Operations          
Selling, general and administrative   128,338   265,023  
Research and development   32,593   58,615  
Condensed Consolidated Balance Sheet          
Other current assets and prepaid expenses         37,113
Accrued expenses         215,102
Other long-term liabilities, principally contract liabilities, contingent consideration and line of credit         219,954
Accumulated deficit         (1,007,159)
Condensed Consolidated Statement of Cash Flows          
Net loss       (48,523)  
Contract liabilities       (34,018)  
Accounting Standards Update 2014-09 | Effect of change          
Condensed Consolidated Statement of Operations          
Total revenues         (29,800)
Selling, general and administrative   (22,759)   (49,500)  
Research and development   535   1,070  
Condensed Consolidated Balance Sheet          
Other current assets and prepaid expenses         5,400
Accrued expenses         15,199
Other long-term liabilities, principally contract liabilities, contingent consideration and line of credit         20,001
Accumulated deficit         (29,800)
Condensed Consolidated Statement of Cash Flows          
Net loss       (2,896)  
Contract liabilities       2,896 $ 29,800
Services          
Condensed Consolidated Statement of Operations          
Total revenues 216,055 233,912 427,369 462,456  
Services | As originally reported          
Condensed Consolidated Statement of Operations          
Total revenues   256,671   511,956  
Services | Accounting Standards Update 2014-09 | Effect of change          
Condensed Consolidated Statement of Operations          
Total revenues   (22,759)   (49,500)  
Transfer of intellectual property and other          
Condensed Consolidated Statement of Operations          
Total revenues $ 19,107 29,723 $ 34,855 45,328  
Transfer of intellectual property and other | As originally reported          
Condensed Consolidated Statement of Operations          
Total revenues   28,576   47,154  
Transfer of intellectual property and other | Accounting Standards Update 2014-09 | Effect of change          
Condensed Consolidated Statement of Operations          
Total revenues   $ 1,147   $ (1,826)