v3.8.0.1
Goodwill and Intangible Assets - Carrying Amount of Goodwill (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Goodwill [Roll Forward]    
Beginning balance $ 327,724 $ 147,906
Additions 6,513 184,431
Adjustments 3,514 (4,613)
Ending balance 337,751 327,724
Automation and Analytics    
Goodwill [Roll Forward]    
Beginning balance 215,082 54,316
Additions 3,113 163,599
Adjustments 2,656 (2,833)
Ending balance 220,851 215,082
Medication Adherence    
Goodwill [Roll Forward]    
Beginning balance 112,642 93,590
Additions 3,400 20,832
Adjustments 858 (1,780)
Ending balance 116,900 $ 112,642
Accounts Receivable | Medication Adherence    
Goodwill [Roll Forward]    
Goodwill, purchase accounting adjustments 100  
Other Noncurrent Assets | Medication Adherence    
Goodwill [Roll Forward]    
Goodwill, purchase accounting adjustments 700  
Other Liabilities | Medication Adherence    
Goodwill [Roll Forward]    
Goodwill, purchase accounting adjustments $ 2,600