Annual report pursuant to Section 13 and 15(d)

Revenue Recognition - Schedule of Product Sales Allowances and Accruals (Details)

v3.10.0.1
Revenue Recognition - Schedule of Product Sales Allowances and Accruals (Details) - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Dec. 31, 2018
Sep. 30, 2018
Jun. 30, 2018
Mar. 31, 2018
Dec. 31, 2017
Sep. 30, 2017
Jun. 30, 2017
Mar. 31, 2017
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2016
Allowance for Doubtful Accounts Receivable [Roll Forward]                      
Provision related to current period sales                 $ 700 $ 900  
Total revenues $ 221,852 $ 249,815 $ 263,685 $ 254,914 $ 160,983 $ 246,040 $ 292,601 $ 266,382 990,266 966,006 $ 1,117,494
Rayaldee                      
Allowance for Doubtful Accounts Receivable [Roll Forward]                      
Beginning balance       1,018         1,018    
Provision related to current period sales                 16,445    
Credits or payments made                 (13,420)    
Ending balance 4,043       1,018       4,043 1,018  
Total revenues                 $ 36,715    
Provision for Rayaldee sales allowances and accruals as a percentage of gross Rayaldee sales                 45.00%    
Chargebacks, discounts, rebates and fees | Rayaldee                      
Allowance for Doubtful Accounts Receivable [Roll Forward]                      
Beginning balance       233         $ 233    
Provision related to current period sales                 5,704    
Credits or payments made                 (4,621)    
Ending balance 1,316       233       1,316 233  
Governmental | Rayaldee                      
Allowance for Doubtful Accounts Receivable [Roll Forward]                      
Beginning balance       348         348    
Provision related to current period sales                 10,061    
Credits or payments made                 (8,319)    
Ending balance 2,090       348       2,090 348  
Returns | Rayaldee                      
Allowance for Doubtful Accounts Receivable [Roll Forward]                      
Beginning balance       $ 437         437    
Provision related to current period sales                 680    
Credits or payments made                 (480)    
Ending balance $ 637       $ 437       $ 637 $ 437