Quarterly report pursuant to Section 13 or 15(d)

Significant Accounting Policies (Details)

v3.10.0.1
Significant Accounting Policies (Details)
3 Months Ended 9 Months Ended
Aug. 14, 2017
USD ($)
Sep. 30, 2018
USD ($)
Sep. 30, 2017
USD ($)
Sep. 30, 2018
USD ($)
segment
reporting_unit
Sep. 30, 2017
USD ($)
Dec. 31, 2017
USD ($)
Dec. 31, 2016
USD ($)
SIGNIFICANT ACCOUNTING POLICIES              
Reclassification adjustment       $ 300,000      
Escrowed Cash Receivable [Abstract]              
License and other revenue   $ 4,074,786 $ 25,037,592 13,342,699 $ 25,579,597    
Escrowed cash receivable $ 3,750,000 $ 0   $ 0   $ 3,752,390  
Escrow period 12 months            
Restricted Cash              
Restricted Cash     100,000   100,000 $ 100,000  
Goodwill and Intangible Assets Disclosure [Abstract]              
Number of Reporting Units | reporting_unit       1      
Segment Reporting Information, Additional Information [Abstract]              
Number of operating segments | segment       1      
Sales Revenue | Customer Concentration Risk | Major Customer Number One              
Concentration Risk              
Concentration risk percentage   34.00%   30.00%      
Sales Revenue | Customer Concentration Risk | Major Customer Number Two              
Concentration Risk              
Concentration risk percentage   31.00%   30.00%      
Sales Revenue | Customer Concentration Risk | Major Customer Number Three              
Concentration Risk              
Concentration risk percentage   27.00%   24.00%      
Minimum              
Distribution Fees and Rebates              
Medicaid billing period       180 days      
Maximum              
Returns and Allowances              
Product return period prior to expiration       6 months      
Product return period after expiration       1 year      
Distribution Fees and Rebates              
Medicaid billing period       270 days      
ADP              
Restricted Cash              
Deposits             $ 125,000
Silicon Valley Bank              
Restricted Cash              
Deposits             $ 50,000
License and other revenue              
Escrowed Cash Receivable [Abstract]              
License and other revenue $ 25,000,000 $ 0 $ 25,000,000 $ 0 $ 25,000,000