Quarterly report pursuant to Section 13 or 15(d)

Warrants and Derivative Liabilities (Details 2)

v3.19.3
Warrants and Derivative Liabilities (Details 2) - USD ($)
1 Months Ended 9 Months Ended
Feb. 16, 2018
Jan. 19, 2018
Sep. 30, 2019
Sep. 30, 2018
Dec. 31, 2018
Dec. 31, 2017
Fair Value Of Derivative Liabilities [Roll Forward]            
Fair Value of Derivative Liabilities   $ 823,037 $ 15,958,366 $ 823,037    
Fair Value of Derivative Liabilities Issued     516,058 10,784,634    
Change in Fair value of Derivative Liabilities     (2,024,660) 1,653,477    
Reclassification of Derivatives to Equity     (144,375) (2,150,581)    
Fair Value of Derivative Liabilities     14,305,389 11,110,567    
Less, noncurrent portion of derivative liabilities     (567,606) 0 $ (219,453) $ (551,322)
Current balance of derivative liabilities     13,737,783 11,110,567 $ 15,738,913 $ 271,715
Series B Preferred Stock - conversion liability            
Fair Value Of Derivative Liabilities [Roll Forward]            
Fair Value of Derivative Liabilities   6,715   6,715    
Fair Value of Derivative Liabilities Issued       0    
Reclassification of Derivatives to Equity       (6,715)    
Fair Value of Derivative Liabilities       0    
Emerald Multi-Draw Credit Agreement - compound derivative liability            
Fair Value Of Derivative Liabilities [Roll Forward]            
Fair Value of Derivative Liabilities     219,453      
Fair Value of Derivative Liabilities Issued     516,058      
Change in Fair value of Derivative Liabilities     (167,905)      
Reclassification of Derivatives to Equity     0      
Fair Value of Derivative Liabilities     567,606      
Series B Warrant Liability            
Fair Value Of Derivative Liabilities [Roll Forward]            
Fair Value of Derivative Liabilities   551,322 487,500 551,322    
Fair Value of Derivative Liabilities Issued     0 0    
Change in Fair value of Derivative Liabilities     38,438 1,275,669    
Reclassification of Derivatives to Equity     (144,375) (1,333,866)    
Fair Value of Derivative Liabilities     381,563 493,125    
Emerald Convertible Promissory Note - conversion liability            
Fair Value Of Derivative Liabilities [Roll Forward]            
Fair Value of Derivative Liabilities   265,000   265,000    
Fair Value of Derivative Liabilities Issued       360,000    
Change in Fair value of Derivative Liabilities       185,000    
Reclassification of Derivatives to Equity       (810,000)    
Fair Value of Derivative Liabilities       0    
Emerald Financing - Warrant Liability            
Fair Value Of Derivative Liabilities [Roll Forward]            
Fair Value of Derivative Liabilities   0 15,251,413 0    
Fair Value of Derivative Liabilities Issued $ 5,707,423 $ 4,717,211 0 10,424,634    
Change in Fair value of Derivative Liabilities     (1,895,193) 192,808    
Reclassification of Derivatives to Equity     0 0    
Fair Value of Derivative Liabilities     $ 13,356,220 $ 10,617,442