Quarterly report pursuant to Section 13 or 15(d)

NOTES PAYABLE (Details 2)

v3.19.3
NOTES PAYABLE (Details 2)
$ / shares in Units, $ in Thousands
9 Months Ended 12 Months Ended
Sep. 30, 2019
USD ($)
Equity_Instrument
$ / shares
Dec. 31, 2018
USD ($)
Equity_Instrument
Debt Instrument [Line Items]    
Conversion Price | $ / shares $ 10.00  
Principal Outstanding $ 19,279 $ 55,172
Discount Amount 72 16,933
Carrying Amount $ 19,207 $ 38,239
Shares Underlying Notes | Equity_Instrument 1,648 6,499
Convertible notes payable, Current $ 2,928 $ 11,253
Convertible notes payable, Non Current   5,485
2011 Convertible notes payable [Member]    
Debt Instrument [Line Items]    
Interest rate 10.00%  
Term of Notes 5 years  
Conversion Price | $ / shares $ 3.05  
Principal Outstanding   300
Carrying Amount   $ 300
Shares Underlying Notes | Equity_Instrument   98
2014 Convertible notes payable [Member]    
Debt Instrument [Line Items]    
Interest rate 10.00%  
Principal Outstanding   $ 519
Carrying Amount   $ 519
Shares Underlying Notes | Equity_Instrument   184
2014 Convertible notes payable [Member] | Minimum [Member]    
Debt Instrument [Line Items]    
Term of Notes Due on demand  
Conversion Price | $ / shares $ 3.05  
2014 Convertible notes payable [Member] | Maximum [Member]    
Debt Instrument [Line Items]    
Term of Notes 2 years  
Conversion Price | $ / shares $ 3.60  
2016 Convertible Notes Payable [Member]    
Debt Instrument [Line Items]    
Interest rate 10.00%  
Term of Notes 1 year  
Conversion Price | $ / shares $ 4.50  
Principal Outstanding   $ 61
Carrying Amount   $ 61
Shares Underlying Notes | Equity_Instrument   17
2017 Convertible notes payable [Member]    
Debt Instrument [Line Items]    
Interest rate 10.00%  
Principal Outstanding   $ 2,820
Discount Amount   349
Carrying Amount   $ 2,471
Shares Underlying Notes | Equity_Instrument   899
2017 Convertible notes payable [Member] | Minimum [Member]    
Debt Instrument [Line Items]    
Term of Notes Due on demand  
Conversion Price | $ / shares $ 3.50  
2017 Convertible notes payable [Member] | Maximum [Member]    
Debt Instrument [Line Items]    
Term of Notes 1 year  
Conversion Price | $ / shares $ 4.50  
2018 Convertible Notes Payable [Member]    
Debt Instrument [Line Items]    
Principal Outstanding $ 3,000 $ 19,556
Discount Amount 72 6,169
Carrying Amount $ 2,928 $ 13,387
Shares Underlying Notes | Equity_Instrument 356 [1] 3,664
2018 Convertible Notes Payable [Member] | Minimum [Member]    
Debt Instrument [Line Items]    
Interest rate 6.00%  
Term of Notes Due on demand  
Conversion Price | $ / shares $ 3.50  
2018 Convertible Notes Payable [Member] | Maximum [Member]    
Debt Instrument [Line Items]    
Interest rate 10.00%  
Term of Notes 2 years  
Conversion Price | $ / shares $ 10.0  
Convertible Notes Payable [Member]    
Debt Instrument [Line Items]    
Principal Outstanding $ 3,000 $ 23,256
Discount Amount 72 6,518
Carrying Amount $ 2,928 $ 16,738
Shares Underlying Notes | Equity_Instrument 356 4,862
Principal Outstanding, Current $ 3,000 $ 16,604
Discount Amount Current 72 5,351
Convertible notes payable, Current $ 2,928 $ 11,253
Shares Underlying Notes Current | Equity_Instrument 356 3,981
Principal Outstanding, Non Current   $ 6,652
Discount Amount Non Current   1,167
Convertible notes payable, Non Current   $ 5,485
Shares Underlying Notes Non Current | Equity_Instrument   881
2012 Convertible notes payable - related parties [Member]    
Debt Instrument [Line Items]    
Interest rate 10.00%  
Term of Notes Due on demand  
Conversion Price | $ / shares $ 3.30  
Principal Outstanding   $ 200
Carrying Amount   $ 200
Shares Underlying Notes | Equity_Instrument   74
2015 Convertible notes payable - related parties [Member]    
Debt Instrument [Line Items]    
Interest rate 10.00%  
Term of Notes 2 years  
Conversion Price | $ / shares $ 4.50  
Principal Outstanding   $ 200
Carrying Amount   $ 200
Shares Underlying Notes | Equity_Instrument   58
2017 Convertible notes payable - related parties [Member]    
Debt Instrument [Line Items]    
Interest rate 10.00%  
Term of Notes 2 years  
Conversion Price | $ / shares $ 10.00  
Principal Outstanding   $ 5,000
Discount Amount   311
Carrying Amount   $ 4,689
Shares Underlying Notes | Equity_Instrument   533
2018 Convertible notes payable - related parties [Member]    
Debt Instrument [Line Items]    
Interest rate 10.00%  
Term of Notes 2 years  
Conversion Price | $ / shares $ 10.00  
Principal Outstanding   $ 9,400
Discount Amount   871
Carrying Amount   $ 8,529
Shares Underlying Notes | Equity_Instrument   972
Convertible notes payable - related parties [Member]    
Debt Instrument [Line Items]    
Principal Outstanding   $ 14,800
Discount Amount   1,182
Carrying Amount   $ 13,618
Shares Underlying Notes | Equity_Instrument   1,637
Principal Outstanding, Current   $ 5,400
Discount Amount Current   311
Convertible notes payable, Current   $ 5,089
Shares Underlying Notes Current | Equity_Instrument   665
Principal Outstanding, Non Current   $ 9,400
Discount Amount Non Current   871
Convertible notes payable, Non Current   $ 8,529
Shares Underlying Notes Non Current | Equity_Instrument   972
[1] The notes are convertible to EMI Holding, Inc. shares.