LONG-TERM DEBT (Details Narrative) - USD ($) | May 22, 2020 | Jan. 31, 2019 | Jul. 17, 2018 | Dec. 06, 2016 | Jun. 30, 2020 | Jun. 30, 2020 | Dec. 31, 2019 | May 06, 2016 | Jul. 25, 2014 |
Entity Listings [Line Items] | | | | | | | | | |
Interest expense | | | | | $ 248 | $ 723 | | | |
Amortization of debt discount | | | | | 222 | 461 | | | |
Fair Value, Inputs, Level 3 [Member] | | | | | | | | | |
Entity Listings [Line Items] | | | | | | | | | |
Fair value of outstanding debt | | | | | 17,460,000 | 17,460,000 | $ 15,272,000 | | |
Second Amended Credit Facility [Member] | | | | | | | | | |
Entity Listings [Line Items] | | | | | | | | | |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights | | | 363,771 | | | | | | |
[custom:WarrantsToPurchaseCommonSharesOriginalIssueDateDescription] | | | July 25, 2019 to December 6, 2021 | | | | | | |
[custom:IncreaseInDebtDiscount] | | | $ 386,000 | | | | | | |
Second Amended Credit Facility [Member] | Extended Maturity [Member] | | | | | | | | | |
Entity Listings [Line Items] | | | | | | | | | |
Debt Instrument, Maturity Date, Description | | | May 31, 2018 to December 31, 2018 | | | | | | |
Third Amended Credit Facility [Member] | | | | | | | | | |
Entity Listings [Line Items] | | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | | $ 2.75 | | | | | | | |
[custom:IncreaseInDebtDiscount] | | $ 179,000 | | | | | | | |
Third Amended Credit Facility [Member] | Exercise Price Four Point One Three [Member] | | | | | | | | | |
Entity Listings [Line Items] | | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | | | | $ 4.13 | | | | | |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights | | | | 363,771 | | | | | 363,771 |
Third Amended Credit Facility [Member] | Exercise Price Three Point Three Five Five [Member] | | | | | | | | | |
Entity Listings [Line Items] | | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | | | | $ 3.355 | | | | | |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights | | | | 1,341,282 | | | | | |
Third Amended Credit Facility [Member] | Extended Maturity [Member] | | | | | | | | | |
Entity Listings [Line Items] | | | | | | | | | |
Debt Instrument, Maturity Date, Description | | the Amended Credit Facility (the “Third Amendment”) to i) extend the period the Company is required to pay only the interest on the loan from December 31, 2018 to January 31, 2020, ii) extend the maturity of the term loan to June 30, 2020, | | | | | | | |
Credit Holdings L P [Member] | | | | | | | | | |
Entity Listings [Line Items] | | | | | | | | | |
Proceeds from repayment of related party debt | | | | | | 14,500,000 | | | |
Loss on extinguishment of debt | | | | | | 84 | | | |
Perceptive Credit Holdings L P [Member] | Amended Credit Facility [Member] | | | | | | | | | |
Entity Listings [Line Items] | | | | | | | | | |
Debt Instrument, Unamortized Discount | | | | $ 3,453,000 | | | | | |
Line of Credit Facility, Maximum Borrowing Capacity | | | | | | | | $ 6,000,000 | |
Proceeds from Lines of Credit | | | | 13,200,000 | | | | | |
Line of Credit Facility, Remaining Borrowing Capacity | | | | 1,800,000 | | | | | |
Debt Issuance Costs, Gross | | | | 360,000 | | | | | |
Line of Credit Facility, Commitment Fee Amount | | | | 300,000 | | | | | |
Perceptive Credit Holdings L P [Member] | Warrant [Member] | Amended Credit Facility [Member] | | | | | | | | | |
Entity Listings [Line Items] | | | | | | | | | |
Proceeds from Issuance of Warrants | | | | $ 2,793,000 | | | | | |
Perceptive Credit Holdings L P [Member] | Tranche One [Member] | Amended Credit Facility [Member] | | | | | | | | | |
Entity Listings [Line Items] | | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | | | | $ 4.13 | | | | | |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights | | | | 363,771 | | | | | |
Perceptive Credit Holdings L P [Member] | Tranche Two [Member] | Amended Credit Facility [Member] | | | | | | | | | |
Entity Listings [Line Items] | | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | | | | $ 3.355 | | | | | |
Class of Warrant or Right, Number of Securities Called by Warrants or Rights | | | | 1,341,282 | | | | | |
Loan And Guaranty Agreement [Member] | | | | | | | | | |
Entity Listings [Line Items] | | | | | | | | | |
Debt Instrument, Periodic Payment | | | | | | 1,390 | | | |
Debt Instrument, Face Amount | | | | | $ 21,390 | $ 21,390 | | | |
Debt annual interest rate | | | | | 8.25% | 8.25% | | | |
Debt maturity date | | | | | | Jun. 1, 2024 | | | |
Debt increased percentage | | | | | | 5.00% | | | |
Loan And Guaranty Agreement [Member] | Prime Rate [Member] | | | | | | | | | |
Entity Listings [Line Items] | | | | | | | | | |
Debt annual interest rate | | | | | 5.00% | 5.00% | | | |
Loan And Guaranty Agreement [Member] | K2 Warrant [Member] | | | | | | | | | |
Entity Listings [Line Items] | | | | | | | | | |
Warrant or Right, Reason for Issuance, Description | | | | | | additional common shares will be issuable pursuant to the K2 Warrant as determined by the aggregate principal amount of the funds advanced multiplied by 3.5% and divided by the Warrant Price, and the final payment will increase by 6.95% of the funds advanced. | | | |
Loan And Guaranty Agreement [Member] | Third Tranche [Member] | | | | | | | | | |
Entity Listings [Line Items] | | | | | | | | | |
Secured Debt | | | | | $ 10,000,000 | $ 10,000,000 | | | |
Debt annual interest rate | | | | | 8.25% | 8.25% | | | |
Debt maturity date | | | | | | Jan. 1, 2023 | | | |
Loan And Guaranty Agreement [Member] | K 2 Healthventures L L C [Member] | | | | | | | | | |
Entity Listings [Line Items] | | | | | | | | | |
Debt Conversion, Description | The Lenders agreed to make available the following additional tranches subject to the following conditions and upon the submission of a loan request by the Company: (1) up to $10 million available between January 1, 2021 and April 30, 2021 upon achievement of certain milestones (the “Second Tranche Term Loan”), (2) $10 million available between the closing date and December 31, 2021, subject to achievement of a certain U.S. Food and Drug Administration approval (the “Third Tranche Term Loan”), and (3) a final tranche of up to $ | | | | | | | | |
Debt Conversion, Converted Instrument, Amount | $ 4,000,000 | | | | | | | | |
Debt Instrument, Convertible, Conversion Price | $ 1.46 | | | | | | | | |
Debt Issuance Costs, Net | $ 1,021 | | | | | | | | |
Secured term loan final payment percentage | 6.95% | | | | | | | | |
Additional discount | $ 1,390 | | | | | | | | |
Debt Instrument, Unamortized Discount | $ 6,169 | | | | | | | | |
Loan And Guaranty Agreement [Member] | K 2 Healthventures L L C [Member] | K2 Warrant [Member] | | | | | | | | | |
Entity Listings [Line Items] | | | | | | | | | |
Class of Warrant or Right, Number of Securities Called by Each Warrant or Right | 625,000 | | | | | | | | |
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ 1.12 | | | | | | | | |
Warrant or Right, Reason for Issuance, Description | The number of common shares issuable pursuant to the K2 Warrant, at any given time, are determined by the aggregate principal amount of the loans advanced at that time pursuant to the Loan Agreement multiplied by 3.5% and divided by the Warrant Price. If the full $50 million available in all K2 tranches is advanced pursuant to the Loan Agreement, up to 1,562,500 common shares will be issuable pursuant to the K2 warrant. | | | | | | | | |
Class of Warrant or Right, Date from which Warrants or Rights Exercisable | May 22, 2030 | | | | | | | | |
Proceeds from Warrant Exercises | $ 1,181 | | | | | | | | |
Loan And Guaranty Agreement [Member] | K 2 Healthventures L L C [Member] | First Tranche [Member] | | | | | | | | | |
Entity Listings [Line Items] | | | | | | | | | |
Secured Debt | 20,000,000 | | | | | | | | |
Loan And Guaranty Agreement [Member] | K 2 Healthventures L L C [Member] | Final Tranche [Member] | | | | | | | | | |
Entity Listings [Line Items] | | | | | | | | | |
Secured Debt | $ 10 | | | | | | | | |