Annual report pursuant to Section 13 and 15(d)

Debt (Details Narrative)

v3.19.1
Debt (Details Narrative) - USD ($)
1 Months Ended 12 Months Ended
Sep. 02, 2015
Oct. 31, 2017
Dec. 31, 2018
Dec. 31, 2017
Sep. 30, 2018
Jun. 30, 2017
Class of warrant or right, number of securities called by warrants or rights           2,000,000
Deferred financing costs written off       $ 463,000    
Opus Bank Loan [Member] | Term Loan [Member]            
Revision of borrowing limit from SVB Bank $ 8,000,000          
Vehicle Financing Notes [Member]            
Vehicle financing in United stated and Pakistan     three to six year terms      
Insurance Financing [Member]            
Insurance purchases, interest rate, stated percentage     5.87%      
Payable to Managed Practices [Member] | Orion Acquisition [Member]            
Non-interest bearing     $ 236,000      
SVB Debt Agreement [Member]            
Payment of upfront fees   $ 50,000        
Class of warrant or right, number of securities called by warrants or rights   125,000        
Payments for annual anniversary fee   $ 50,000        
Warrant strike price   $ 3.92        
Warrant exercise term   5 years        
Warrants price per share   $ 3.12        
Decrease in interest rate due to increase in line of credit     0.25%      
Upfront fee paid for increase in SVB credit line limit     $ 50,000      
SVB Debt Agreement [Member] | Additional Warrant [Member]            
Class of warrant or right, number of securities called by warrants or rights     28,489      
Warrant strike price     $ 5.26      
Warrant exercise term     5 years      
Warrants price per share     $ 3.58      
Total [Member] | Opus Bank Loan [Member]            
Revision of borrowing limit from SVB Bank $ 10,000,000          
Percentage of shares secured for debt 65.00%          
SVB Credit Facility [Member]            
Secured revolving line of credit percentage   200.00%        
Unused portion of credit line fee, percentage   1.00%        
Percentage of shares in offshore facilities secured for SVB credit line   65.00%        
SVB Credit Facility [Member] | Prime Rate [Member]            
Revolving line of credit, interest rate   1.50%        
SVB Credit Facility [Member] | Old [Member]            
Revision of borrowing limit from SVB Bank         $ 5,000,000  
SVB Credit Facility [Member] | New [Member]            
Revision of borrowing limit from SVB Bank         $ 10,000,000  
Revolving Credit Facility [Member] | Opus Bank Loan [Member]            
Revision of borrowing limit from SVB Bank $ 2,000,000          
Prudential Deferred Purchase Price [Member]            
Repayment of debt       5,000,000    
Accrued interest       $ 270,000