Annual report pursuant to Section 13 and 15(d)

Significant Accounting Policies (Details)

v3.19.1
Significant Accounting Policies (Details)
1 Months Ended 12 Months Ended
Jan. 01, 2019
USD ($)
Aug. 14, 2017
USD ($)
Aug. 31, 2017
USD ($)
Dec. 31, 2018
USD ($)
segment
reporting_unit
Dec. 31, 2017
USD ($)
Dec. 31, 2016
USD ($)
Reclassification            
Prior period reclassification adjustment       $ 300,000    
Amortization expense       4,532,448 $ 403,520  
Escrowed Cash Receivable [Abstract]            
Revenues       18,326,801 27,813,137  
Escrowed cash receivable   $ 3,750,000 $ 3,750,000 0 3,752,390  
Escrow period   12 months 12 months      
Restricted Cash            
Deposits           $ 50,000
Accounts Receivable, Net [Abstract]            
Allowance for doubtful accounts receivable       $ 0    
Payment terms       30 days    
Prompt payment discount       2.00%    
Segment Reporting Information, Additional Information [Abstract]            
Number of operating segments | segment       1    
Goodwill            
Number of reporting units | reporting_unit       1    
New Accounting Pronouncements and Changes in Accounting Principles            
Restricted cash         $ 100,000  
Computers and software            
Property, Plant and Equipment [Abstract]            
Computer, software, equipment and furniture, useful life       4 years    
Equipment            
Property, Plant and Equipment [Abstract]            
Computer, software, equipment and furniture, useful life       5 years    
Furniture and Fixtures            
Property, Plant and Equipment [Abstract]            
Computer, software, equipment and furniture, useful life       5 years    
Leasehold improvements            
Property, Plant and Equipment [Abstract]            
Computer, software, equipment and furniture, useful life       10 years    
Major Customer Number One | Sales Revenue | Customer Concentration Risk            
Concentration Risk            
Concentration risk percentage       30.00% 40.00%  
Major Customer Number Two | Sales Revenue | Customer Concentration Risk            
Concentration Risk            
Concentration risk percentage       30.00% 25.00%  
Major Customer Number Three | Sales Revenue | Customer Concentration Risk            
Concentration Risk            
Concentration risk percentage       25.00% 22.00%  
License and other revenue            
Escrowed Cash Receivable [Abstract]            
Revenues   $ 25,000,000 $ 25,000,000 $ 0 $ 25,000,000  
Minimum            
Rebates            
Medicaid billing period       180 days    
Maximum            
Rebates            
Medicaid billing period       270 days    
Accounting Standards Update 2016-02 | Scenario, Forecast | Subsequent Event            
New Accounting Pronouncements and Changes in Accounting Principles            
Right-of-use asset $ 1,000,000          
Lease liability $ 1,000,000          
Accounting Standards Update 2016-02 | Scenario, Forecast | Subsequent Event | Maximum | Total Liabilities            
Concentration Risk            
Concentration risk percentage 5.00%