Annual report pursuant to Section 13 and 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 12 Months Ended
Jul. 31, 2018
Apr. 30, 2018
Jan. 31, 2018
Oct. 31, 2017
Jul. 31, 2017
Apr. 30, 2017
Jan. 31, 2017
Oct. 31, 2016
Jul. 31, 2018
Jul. 31, 2017
Jul. 31, 2016
Segment Reporting Information [Line Items]                      
Revenues                 $ 104,713 $ 107,804 $ 102,773
Research and development                 3,210 2,928 3,524
Selling, general and administrative                 44,465 44,092 43,741
Provision for uncollectible accounts receivable                 3,690 2,775 2,336
Legal fee expense                 5,127 1,679 6,384
Legal settlements, net                     (57,250)
Operating income (loss)                 (12,164) (3,148) 46,848
Other                 168 125 122
Foreign exchange gain                 (275) 135 (474)
Income (loss) before taxes $ (5,764) $ (3,016) $ (1,998) $ (640) $ 71 $ (39) $ (1,000) $ (1,454)      
Clinical Labs [Member]                      
Segment Reporting Information [Line Items]                      
Revenues                 74,777 77,407 70,915
Selling, general and administrative                 24,656 24,465 22,882
Provision for uncollectible accounts receivable                 3,700 2,718 2,375
Legal fee expense                 67 146 134
Legal settlements, net                     1,500
Total operating costs and expenses                 74,431 72,729 69,750
Operating income (loss)                 346 4,678 1,165
Interest                 (91) (112) (105)
Other                 29 137 10
Income (loss) before taxes                 284 4,703 1,070
Depreciation and amortization included above                 1,667 1,586 1,676
Capital expenditures                 1,685 1,363 1,216
Clinical Labs [Member] | Selling, General and Administrative Expenses [Member]                      
Segment Reporting Information [Line Items]                      
Share-based compensation                 125 111 51
Clinical Labs [Member] | Total [Member]                      
Segment Reporting Information [Line Items]                      
Share-based compensation                 125 117 57
Clinical Labs [Member] | Cost of Clinical Laboratory Services [Member]                      
Segment Reporting Information [Line Items]                      
Share-based compensation                   6 6
Life Sciences [Member]                      
Segment Reporting Information [Line Items]                      
Revenues                 29,936 30,397 31,858
Research and development                 2,305 2,311 2,720
Selling, general and administrative                 11,627 11,232 11,761
Provision for uncollectible accounts receivable                 (10) 57 (39)
Legal fee expense                 58 79 11
Legal settlements, net                     (58,750)
Total operating costs and expenses                 28,357 27,757 (29,966)
Operating income (loss)                 1,579 2,640 61,824
Interest                 50 46 47
Other                 11 (60) 38
Foreign exchange gain                 (275) 135 (474)
Income (loss) before taxes                 1,365 2,761 61,435
Depreciation and amortization included above                 1,387 1,913 2,091
Capital expenditures                 203 390 314
Life Sciences [Member] | Selling, General and Administrative Expenses [Member]                      
Segment Reporting Information [Line Items]                      
Share-based compensation                 79 74 30
Life Sciences [Member] | Total [Member]                      
Segment Reporting Information [Line Items]                      
Share-based compensation                 79 74 30
Therapeutics [Member]                      
Segment Reporting Information [Line Items]                      
Research and development                 905 617 804
Total operating costs and expenses                 905 617 804
Operating income (loss)                 (905) (617) (804)
Income (loss) before taxes                 (905) (617) (804)
Other Segments [Member]                      
Segment Reporting Information [Line Items]                      
Selling, general and administrative                 8,182 8,395 9,098
Legal fee expense                 5,002 1,454 6,239
Total operating costs and expenses                 13,184 9,767 15,337
Operating income (loss)                 (13,184) (9,767) (15,337)
Interest                 894 450 (78)
Other                 128 48 74
Income (loss) before taxes                 (12,162) (9,269) (15,341)
Depreciation and amortization included above                 76 99 73
Other Segments [Member] | Selling, General and Administrative Expenses [Member]                      
Segment Reporting Information [Line Items]                      
Share-based compensation                 609 640 438
Other Segments [Member] | Total [Member]                      
Segment Reporting Information [Line Items]                      
Share-based compensation                 609 640 438
Consolidated [Member]                      
Segment Reporting Information [Line Items]                      
Revenues                 104,713 107,804 102,773
Research and development                 3,210 2,928 3,524
Selling, general and administrative                 44,465 44,092 43,741
Provision for uncollectible accounts receivable                 3,690 2,775 2,336
Legal fee expense                 5,127 1,679 6,384
Legal settlements, net                     (57,250)
Total operating costs and expenses                 116,877 110,952 55,925
Operating income (loss)                 (12,164) (3,148) 46,848
Interest                 853 384 (136)
Other                 168 125 122
Foreign exchange gain                 (275) 135 (474)
Income (loss) before taxes                 (11,418) (2,504) 46,360
Depreciation and amortization included above                 3,130 3,598 3,840
Capital expenditures                 1,888 1,753 1,530
Consolidated [Member] | Selling, General and Administrative Expenses [Member]                      
Segment Reporting Information [Line Items]                      
Share-based compensation                 813 825 519
Consolidated [Member] | Total [Member]                      
Segment Reporting Information [Line Items]                      
Share-based compensation                 813 831 525
Consolidated [Member] | Cost of Clinical Laboratory Services [Member]                      
Segment Reporting Information [Line Items]                      
Share-based compensation                   6 6
Clinical Laboratory Services [Member]                      
Segment Reporting Information [Line Items]                      
Revenues                 74,777 77,407 70,915
Cost of Revenues                 46,008 45,400 42,859
Clinical Laboratory Services [Member] | Clinical Labs [Member]                      
Segment Reporting Information [Line Items]                      
Revenues                 74,777 77,407 70,915
Cost of Revenues                 46,008 45,400 42,859
Clinical Laboratory Services [Member] | Consolidated [Member]                      
Segment Reporting Information [Line Items]                      
Revenues                 74,777 77,407 70,915
Cost of Revenues                 46,008 45,400 42,859
Product [Member]                      
Segment Reporting Information [Line Items]                      
Revenues                 29,224 29,192 30,337
Cost of Revenues                 14,377 14,078 14,331
Product [Member] | Life Sciences [Member]                      
Segment Reporting Information [Line Items]                      
Revenues                 29,224 29,192 30,337
Cost of Revenues                 14,377 14,078 14,331
Product [Member] | Consolidated [Member]                      
Segment Reporting Information [Line Items]                      
Revenues                 29,224 29,192 30,337
Cost of Revenues                 14,377 14,078 14,331
Royalty and License Fees [Member]                      
Segment Reporting Information [Line Items]                      
Revenues                 712 1,205 1,521
Royalty and License Fees [Member] | Life Sciences [Member]                      
Segment Reporting Information [Line Items]                      
Revenues                 712 1,205 1,521
Royalty and License Fees [Member] | Consolidated [Member]                      
Segment Reporting Information [Line Items]                      
Revenues                 $ 712 $ 1,205 $ 1,521