Annual report pursuant to Section 13 and 15(d)

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

v3.7.0.1
Segment reporting (Details) - Schedule of segment reporting information, by segment - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2017
Jul. 31, 2016
Jul. 31, 2015
Segment Reporting Information [Line Items]      
Clinical laboratory services $ 77,407 $ 70,915 $ 63,414
Product revenues 29,192 30,337 31,690
Royalty and license fee income 1,205 1,521 2,495
Total revenues 107,804 102,773 97,599
Cost of clinical laboratory services 45,400 42,859 39,589
Cost of product revenues 14,078 14,331 15,183
Research and development 2,928 3,524 3,350
Selling, general and administrative 44,010 43,586 41,069
Provision for uncollectible accounts receivable 2,775 2,336 2,284
Legal fee expense 1,679 6,384 8,788
Legal settlements, net   (57,250) (11,458)
Operating income (loss) (3,066) 47,003 (1,206)
Other 125 122 95
Foreign exchange gain 135 (474) (936)
Clinical Labs [Member]      
Segment Reporting Information [Line Items]      
Clinical laboratory services 77,407 70,915 63,414
Total revenues 77,407 70,915 63,414
Cost of clinical laboratory services 45,400 42,859 39,589
Selling, general and administrative 24,465 22,882 20,666
Provision for uncollectible accounts receivable 2,718 2,375 2,418
Legal fee expense 146 134 196
Legal settlements, net   1,500  
Total operating costs and expenses 72,729 69,750 62,869
Operating income (loss) 4,678 1,165 545
Interest (112) (105) (86)
Other 137 10 28
Income (loss) before taxes 4,703 1,070 487
Depreciation and amortization included above 1,586 1,676 1,443
Capital expenditures 1,363 1,216 1,557
Clinical Labs [Member] | Cost of Clinical Laboratory Services [Member]      
Segment Reporting Information [Line Items]      
Share-based compensation 6 6 5
Clinical Labs [Member] | Selling, General and Administrative Expenses [Member]      
Segment Reporting Information [Line Items]      
Share-based compensation 111 51 43
Clinical Labs [Member] | Total [Member]      
Segment Reporting Information [Line Items]      
Share-based compensation 117 57 48
Life Sciences [Member]      
Segment Reporting Information [Line Items]      
Product revenues 29,192 30,337 31,690
Royalty and license fee income 1,205 1,521 2,495
Total revenues 30,397 31,858 34,185
Cost of product revenues 14,078 14,331 15,183
Research and development 2,311 2,720 2,608
Selling, general and administrative 11,232 11,761 12,168
Provision for uncollectible accounts receivable 57 (39) (134)
Legal fee expense 79 11 (67)
Legal settlements, net   (58,750) (11,458)
Total operating costs and expenses 27,757 (29,966) 18,300
Operating income (loss) 2,640 61,824 15,885
Interest 46 47 10
Other (60) 38 9
Foreign exchange gain 135 (474) (936)
Income (loss) before taxes 2,761 61,435 14,968
Depreciation and amortization included above 1,913 2,091 2,254
Capital expenditures 390 314 226
Life Sciences [Member] | Selling, General and Administrative Expenses [Member]      
Segment Reporting Information [Line Items]      
Share-based compensation 74 30 15
Life Sciences [Member] | Total [Member]      
Segment Reporting Information [Line Items]      
Share-based compensation 74 30 17
Life Sciences [Member] | Research and Development Expense [Member]      
Segment Reporting Information [Line Items]      
Share-based compensation     2
Therapeutics [Member]      
Segment Reporting Information [Line Items]      
Research and development 617 804 742
Total operating costs and expenses 617 804 742
Operating income (loss) (617) (804) (742)
Income (loss) before taxes (617) (804) (742)
Depreciation and amortization included above     3
Other Segments [Member]      
Segment Reporting Information [Line Items]      
Selling, general and administrative 8,313 8,943 8,235
Legal fee expense 1,454 6,239 8,659
Total operating costs and expenses 9,767 15,182 16,894
Operating income (loss) (9,767) (15,182) (16,894)
Interest 450 (78) (169)
Other 48 74 58
Income (loss) before taxes (9,269) (15,186) (17,005)
Depreciation and amortization included above 99 73 89
Other Segments [Member] | Selling, General and Administrative Expenses [Member]      
Segment Reporting Information [Line Items]      
Share-based compensation 640 438 364
Other Segments [Member] | Total [Member]      
Segment Reporting Information [Line Items]      
Share-based compensation 640 438 364
Consolidated [Member]      
Segment Reporting Information [Line Items]      
Clinical laboratory services 77,407 70,915 63,414
Product revenues 29,192 30,337 31,690
Royalty and license fee income 1,205 1,521 2,495
Total revenues 107,804 102,773 97,599
Cost of clinical laboratory services 45,400 42,859 39,589
Cost of product revenues 14,078 14,331 15,183
Research and development 2,928 3,524 3,350
Selling, general and administrative 44,010 43,586 41,069
Provision for uncollectible accounts receivable 2,775 2,336 2,284
Legal fee expense 1,679 6,384 8,788
Legal settlements, net   (57,250) (11,458)
Total operating costs and expenses 110,870 55,770 98,805
Operating income (loss) (3,066) 47,003 (1,206)
Interest 384 (136) (245)
Other 125 122 95
Foreign exchange gain 135 (474) (936)
Income (loss) before taxes (2,422) 46,515 (2,292)
Depreciation and amortization included above 3,598 3,840 3,789
Capital expenditures 1,753 1,530 1,783
Consolidated [Member] | Cost of Clinical Laboratory Services [Member]      
Segment Reporting Information [Line Items]      
Share-based compensation 6 6 5
Consolidated [Member] | Selling, General and Administrative Expenses [Member]      
Segment Reporting Information [Line Items]      
Share-based compensation 825 519 422
Consolidated [Member] | Total [Member]      
Segment Reporting Information [Line Items]      
Share-based compensation $ 831 $ 525 429
Consolidated [Member] | Research and Development Expense [Member]      
Segment Reporting Information [Line Items]      
Share-based compensation     $ 2