Quarterly report pursuant to Section 13 or 15(d)

Segment reporting (Details) - Schedule of segment reporting information, by segment

v3.10.0.1
Segment reporting (Details) - Schedule of segment reporting information, by segment - USD ($)
$ in Thousands
3 Months Ended
Oct. 31, 2018
Oct. 31, 2017
Clinical Services [Member]    
Segment Reporting Information [Line Items]    
Revenues $ 14,297 $ 19,534
Cost of revenues 10,968 12,042
Selling, general and administrative 6,060 6,095
Legal fee expense 36 13
Total operating costs and expenses 17,064 18,150
Operating income (loss) (2,767) 1,384
Interest (18) (25)
Other 40 14
Income (loss) before income taxes (2,745) 1,373
Depreciation and amortization included above 403 404
Capital expenditures 354 418
Clinical Services [Member] | Selling, General and Administrative Expenses [Member]    
Segment Reporting Information [Line Items]    
Share-based compensation 38 32
Clinical Services [Member] | Total [Member]    
Segment Reporting Information [Line Items]    
Share-based compensation 38 32
Products [Member]    
Segment Reporting Information [Line Items]    
Revenues 6,963 7,342
Cost of revenues 3,271 3,389
Research and development 507 523
Selling, general and administrative 2,924 2,628
Legal fee expense 7 3
Total operating costs and expenses 6,709 6,543
Operating income (loss) 254 799
Interest 16 12
Other 4 7
Foreign exchange loss (324) (195)
Income (loss) before income taxes (50) 623
Depreciation and amortization included above 342 326
Capital expenditures 52 43
Products [Member] | Selling, General and Administrative Expenses [Member]    
Segment Reporting Information [Line Items]    
Share-based compensation 24 23
Products [Member] | Total [Member]    
Segment Reporting Information [Line Items]    
Share-based compensation 24 23
Consolidated [Member]    
Segment Reporting Information [Line Items]    
Revenues 21,260 26,876
Cost of revenues 14,239 15,431
Research and development 728 747
Selling, general and administrative 10,970 10,905
Legal fee expense 1,301 431
Total operating costs and expenses 27,238 27,514
Operating income (loss) (5,978) (638)
Interest 274 157
Other 47 36
Foreign exchange loss (324) (195)
Income (loss) before income taxes (5,981) (640)
Depreciation and amortization included above 766 749
Capital expenditures 406 461
Consolidated [Member] | Selling, General and Administrative Expenses [Member]    
Segment Reporting Information [Line Items]    
Share-based compensation 235 205
Consolidated [Member] | Total [Member]    
Segment Reporting Information [Line Items]    
Share-based compensation 235 205
Therapeutics [Member]    
Segment Reporting Information [Line Items]    
Research and development 221 224
Total operating costs and expenses 221 224
Operating income (loss) (221) (224)
Income (loss) before income taxes (221) (224)
Other Segments [Member]    
Segment Reporting Information [Line Items]    
Selling, general and administrative 1,986 2,182
Legal fee expense 1,258 415
Total operating costs and expenses 3,244 2,597
Operating income (loss) (3,244) (2,597)
Interest 276 170
Other 3 15
Income (loss) before income taxes (2,965) (2,412)
Depreciation and amortization included above 21 19
Other Segments [Member] | Selling, General and Administrative Expenses [Member]    
Segment Reporting Information [Line Items]    
Share-based compensation 173 150
Other Segments [Member] | Total [Member]    
Segment Reporting Information [Line Items]    
Share-based compensation $ 173 $ 150