Quarterly report pursuant to Section 13 or 15(d)

Debt (Details Textual)

v3.7.0.1
Debt (Details Textual) - USD ($)
1 Months Ended 6 Months Ended
Jun. 02, 2017
May 31, 2017
Jan. 24, 2017
Jun. 30, 2017
Dec. 31, 2016
Debt (Textual)          
Debt discount       $ 1,276,000 $ 1,276,000
Repayment of debenture $ 200,000        
Senior Secured Debenture [Member]          
Debt (Textual)          
Senior secured debenture repaid       2,850,000  
Loan and Security Agreement [Member] | Amendment 2 [Member]          
Debt (Textual)          
Description of loan amendment    
The Loan Agreement was deleted and restated in its entirety as follows: Accounts that satisfy the criteria set forth in the foregoing items (1) - (20), which are owed by any other single Account Debtor or its Affiliates so long as such Accounts, in the aggregate, constitute no more than twenty percent (20%) of all Eligible Accounts, provided, that only for the period commencing on January 24, 2017 through and including April 24, 2017, Accounts in the aggregate only from and owed by Centene Corporation or its Affiliates may exceed twenty percent (20%) of all Eligible Accounts by an amount not to exceed $500,000, provided, further, that, from and after April 25, 2017, Accounts in the aggregate that are owed by Centene Corporation or its Affiliates that satisfy the criteria set forth in the foregoing items (1) - (20) shall not exceed twenty percent (20%) of all Eligible Accounts; and Borrower shall have paid to Lender an accommodation fee in the amount of $5,000 on February 2, 2017.
   
Subordinated Convertible Promissory Notes [Member]          
Debt (Textual)          
Aggregate principal amount   $ 2,200,000      
Debt payment, description   Due on May 31, 2018.      
Convertible promissory notes purchase price, description   Aggregate purchase price of $2,000,000, representing an approximately 9% original issue discount.      
Payment of principal, interest and fees       $ 2,700,000  
Payment of interest, description       Interest on the Notes accrues at a rate of 10.0% per annum and is payable on the maturity date or any applicable redemption date in cash, or upon notice to the holder and compliance with certain equity conditions as set forth in the Notes, in shares of the Company's common stock, provided that the maximum aggregate amount of interest that the Company may elect to pay in Interest Shares will not exceed an amount equal to 5% of the total interest payable under the terms of the Notes.