INTANGIBLE, NET (Details - Intangible asset schedule) - USD ($) $ in Thousands  | 
9 Months Ended | 12 Months Ended | 
|---|---|---|
Sep. 30, 2019  | 
Dec. 31, 2018  | 
|
| Finite-Lived Intangible Assets [Line Items] | ||
| Gross Carrying Amount | $ 3,907 | $ 3,907 | 
| Accumulated Amortization | 133 | 106 | 
| Net Carrying Amount | 3,774 | 3,801 | 
| In Process Research and Development | ||
| Finite-Lived Intangible Assets [Line Items] | ||
| Gross Carrying Amount | 3,730 | 3,730 | 
| Accumulated Amortization | 0 | 0 | 
| Net Carrying Amount | 3,730 | 3,730 | 
| Trade Names | ||
| Finite-Lived Intangible Assets [Line Items] | ||
| Gross Carrying Amount | 100 | 100 | 
| Accumulated Amortization | 75 | 60 | 
| Net Carrying Amount | $ 25 | $ 40 | 
| Useful Life (Years) | 5 years | 5 years | 
| Noncompete Agreements | ||
| Finite-Lived Intangible Assets [Line Items] | ||
| Gross Carrying Amount | $ 77 | $ 77 | 
| Accumulated Amortization | 58 | 46 | 
| Net Carrying Amount | $ 19 | $ 31 | 
| Useful Life (Years) | 5 years | 5 years | 
| X | ||||||||||
- Definition Useful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. No definition available. 
  | 
| X | ||||||||||
- Definition Accumulated amount of amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Amount before amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  | 
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available. 
  | 
| X | ||||||||||
- Definition Amount after amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  |