XML 57 R43.htm IDEA: XBRL DOCUMENT v3.6.0.2
Summary of significant accounting policies (Details 2)
1 Months Ended 12 Months Ended
Aug. 31, 2014
Dec. 31, 2016
USD ($)
Dec. 31, 2015
USD ($)
Dec. 31, 2014
USD ($)
state
Summary        
Capitalized inventory   $ 1,700,000    
Number of states | state       31
Minimum age of ambulatory patient 5 years     5 years
Allowance for doubtful accounts   700,000 $ 0  
Research and development costs        
Deferred research and development advance payments   400,000 600,000  
Impairment of long-lived assets        
Impairment of long-lived assets   0    
Income Tax Expense (Benefit), Continuing Operations [Abstract]        
Income tax (expense) benefit   569,000 485,000 $ (4,693,000)
Recent accounting pronouncements        
Unamortized debt issuance cost   2,500,000    
New Jersey        
Income Tax Expense (Benefit), Continuing Operations [Abstract]        
Income tax (expense) benefit   $ 0 0 $ 4,900,000
Long-term Debt | Accounting Standards Update 2015-03        
Recent accounting pronouncements        
Unamortized debt issuance cost     2,800,000  
Deposits and Other Assets | Accounting Standards Update 2015-03        
Recent accounting pronouncements        
Unamortized debt issuance cost     $ (2,800,000)  
Minimum        
Summary        
Gross profit margin (as percent)   90.00%