XML 19 R6.htm IDEA: XBRL DOCUMENT v3.8.0.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Cash flows from operating activities:      
Net income (loss) $ (15,191) $ (11,985) $ 6,668
Reconciliation of net income (loss) to net cash provided by (used in) operating activities:      
Depreciation and amortization of fixed assets 1,711 946 560
Amortization of license fee 0 0 100
Provision for write down of inventory 2,132 1,400 50
Provision for bad debt 1,767 327 0
Issuance of stock to consultant 0 189 0
Stock based compensation 3,295 2,999 2,273
Amortization of debt issuance costs 943 828 1,132
Amortization of intangibles 2,930 2,833 514
Foreign currency exchange loss (gain) (7,719) 936 (109)
Amortization of debt discount on convertible 3.75% senior notes 8,643 7,599 6,680
Change in the fair value of derivative liability 0 0 (23,144)
Loss on disposal of property/impairment 113 16 0
Changes in operating assets and liabilities:      
Accounts receivable 1,894 (8,008) 1,250
Inventories (5,275) (5,042) (3,578)
Prepaid expenses and other current receivables (748) 3,427 (5,408)
Other assets 194 316 (14)
Accounts payable and accrued expenses 5,711 2,897 (2,849)
Deferred income 0 (476) 362
Net cash used in operating activities 400 (798) (15,513)
Cash flows from investing activities:      
Capital expenditures (40,429) (16,655) (5,998)
Acquisition of product rights and other related assets 0 0 (35,418)
Product acquisition costs, net 0 (3,421) (11,652)
Net cash used in investing activities (40,429) (20,076) (53,068)
Cash flows from financing activities:      
Proceeds from issuance of stock, net 0 0 (3)
Principal payments on note payable, bank 0 0 (3,160)
Proceeds from exercise of common stock options and warrants 269 96 165
Principal payments on capital lease obligations 0 (70) (132)
Payment (recovery) from stockholder, net 0 (36) 19
Net cash provided by (used in) financing activities 269 (10) (3,111)
Effect of exchange rate on cash and cash equivalents 446 (301) 0
Net decrease in cash and cash equivalents (39,760) (20,884) (71,692)
Cash and cash equivalents at beginning of year 66,006 87,191 158,883
Cash and cash equivalents at end of year 26,692 66,006 87,191
Supplemental Cash flow information:      
Cash payments for interest 5,391 5,393 5,517
Cash payments for income taxes 126 113 123
Non cash investing and financing transactions:      
Reclassification of derivative liability to equity 0 0 18,256
Acquisition of capital expenditures in accounts payable and accrued expenses 3,186 1,805 0
Capitalized stock compensation in capital expenditures 127 91 0
Issuance of stock to consultant 0 189 31
Restricted Stock      
Non cash investing and financing transactions:      
Issuance of restricted stock $ 0 $ 0 $ 347