Post-effective amendment to a registration statement that is not immediately effective upon filing

Warrants and Derivative Liabilities (Details 2)

v3.19.3.a.u2
Warrants and Derivative Liabilities (Details 2) - USD ($)
1 Months Ended 9 Months Ended 12 Months Ended
Nov. 01, 2017
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 $ 823,037 $ 1,231,129
Fair Value of Derivative Liabilities Issued       516,058 10,784,634 10,988,736 368,364
Change in Fair value of Derivative Liabilities       (2,024,660) 1,653,477 6,503,174 (767,198)
Reclassification of Derivatives to Equity       (144,375) (2,150,581) (2,356,581) (9,258)
Fair Value of Derivative Liabilities       14,305,389 11,110,567 15,958,366 823,037
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
Emerald Multi-Draw Credit Agreement - compound derivative liability              
Fair Value Of Derivative Liabilities [Roll Forward]              
Fair Value of Derivative Liabilities     0 219,453 0 0  
Fair Value of Derivative Liabilities Issued       516,058   204,102  
Change in Fair value of Derivative Liabilities       (167,905)   15,351  
Reclassification of Derivatives to Equity       0   0  
Fair Value of Derivative Liabilities       567,606   219,453 0
Series B Warrant Liability              
Fair Value Of Derivative Liabilities [Roll Forward]              
Fair Value of Derivative Liabilities     551,322 487,500 551,322 551,322 1,112,308
Fair Value of Derivative Liabilities Issued       0 0 0 0
Change in Fair value of Derivative Liabilities       38,438 1,275,669 1,476,044 (560,986)
Reclassification of Derivatives to Equity       (144,375) (1,333,866) (1,539,866) 0
Fair Value of Derivative Liabilities       381,563 493,125 487,500 551,322
Emerald Convertible Promissory Note - conversion liability              
Fair Value Of Derivative Liabilities [Roll Forward]              
Fair Value of Derivative Liabilities     265,000 0 265,000 265,000 0
Fair Value of Derivative Liabilities Issued         360,000 360,000 265,000
Change in Fair value of Derivative Liabilities         185,000 185,000 0
Reclassification of Derivatives to Equity         (810,000) (810,000) 0
Fair Value of Derivative Liabilities         0 0 265,000
Series B conversion liability              
Fair Value Of Derivative Liabilities [Roll Forward]              
Fair Value of Derivative Liabilities     6,715 0 6,715 6,715 118,821
Fair Value of Derivative Liabilities Issued         0 0 0
Change in Fair value of Derivative Liabilities         0 0 (102,848)
Reclassification of Derivatives to Equity         (6,715) (6,715) (9,258)
Fair Value of Derivative Liabilities         0 0 6,715
Series F Preferred Stock Put Option Liability              
Fair Value Of Derivative Liabilities [Roll Forward]              
Fair Value of Derivative Liabilities     0   0 0 0
Fair Value of Derivative Liabilities Issued $ 103,364           103,364
Change in Fair value of Derivative Liabilities             (103,364)
Reclassification of Derivatives to Equity             0
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 0  
Fair Value of Derivative Liabilities Issued   $ 5,707,423 $ 4,717,211 0 10,424,634 10,424,634  
Change in Fair value of Derivative Liabilities       (1,895,193) 192,808 4,826,779  
Reclassification of Derivatives to Equity       0 0 0  
Fair Value of Derivative Liabilities       $ 13,356,220 $ 10,617,442 $ 15,251,413 $ 0