XML 47 R36.htm IDEA: XBRL DOCUMENT v3.8.0.1
Organization and Summary of Significant Accounting Policies - Impact of Newly Adopted Standard Related to Revenue Recognition (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Dec. 31, 2017
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Revenues $ 182,619 $ 148,553  
Gross profit 82,455 62,191  
Selling, general and administrative 65,285 61,940  
Provision for income taxes (4,816) (8,673)  
Net income (loss) $ 2,720 $ (10,335)  
Earnings per share $ 0.07 $ (0.28)  
Accounts receivable and unbilled, net $ 190,678   $ 190,046
Prepaid expenses 21,161   20,392
Prepaid commissions 39,636   41,432
Other long-term assets 53,492   49,316
Short-term deferred revenue 95,709   78,774
Long-term deferred revenue 8,806   10,623
Long-term deferred tax liabilities 36,320   41,446
Stockholders' equity 574,502   554,341
Automation and analytics      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Revenues   $ 122,170  
Gross profit   53,409  
Medication adherence      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Revenues   26,383  
Gross profit   $ 8,782  
Scenario, Previously Reported      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Provision for income taxes (8,938)    
Net income (loss) $ (10,754)    
Earnings per share $ (0.29)    
Accounts receivable and unbilled, net     189,227
Prepaid expenses     36,060
Prepaid commissions     0
Other long-term assets     39,841
Short-term deferred revenue     86,104
Long-term deferred revenue     17,244
Long-term deferred tax liabilities     28,579
Stockholders' equity     517,199
Scenario, Previously Reported | Automation and analytics      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Revenues $ 124,171    
Gross profit 55,410    
Scenario, Previously Reported | Medication adherence      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Revenues 26,383    
Gross profit 8,782    
Selling, general and administrative 64,625    
Accounting Standards Update 2014-09 | Restatement Adjustment      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Provision for income taxes 265    
Net income (loss) $ 419    
Earnings per share $ 0.01    
Accounts receivable and unbilled, net     819
Prepaid expenses     (15,668)
Prepaid commissions     41,432
Other long-term assets     9,475
Short-term deferred revenue     (7,330)
Long-term deferred revenue     (6,621)
Long-term deferred tax liabilities     12,867
Stockholders' equity     $ 37,142
Accounting Standards Update 2014-09 | Restatement Adjustment | Automation and analytics      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Revenues $ (2,001)    
Gross profit (2,001)    
Accounting Standards Update 2014-09 | Restatement Adjustment | Medication adherence      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Revenues 0    
Gross profit 0    
Selling, general and administrative $ (2,685)