Annual report pursuant to Section 13 and 15(d)

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

v3.5.0.2
Segment reporting (Details) - Schedule of segment reporting information, by segment - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2016
Jul. 31, 2015
Jul. 31, 2014
Revenues:      
Clinical laboratory services $ 70,915 $ 63,414 $ 58,689
Operating costs, expenses and legal settlements, net:      
Product revenues 30,337 31,690 32,850
Royalty and license fee income 1,521 2,495 4,408
Total revenues 102,773 97,599 95,947
Operating costs, expenses and legal settlements, net:      
Share-based compensation 42,859 39,589 38,948
Cost of product revenues 14,331 15,183 15,320
Research and development 3,524 3,350 3,141
Selling, general and administrative 43,586 41,069 41,801
Provision for uncollectible accounts receivable 2,336 2,284 3,063
Legal fee expense 6,384 8,788 6,954
Legal settlements, net (57,250) (11,458) (3,100)
Operating (loss) income 47,003 (1,206) (10,180)
Other income (expense)      
Other 122 95 194
Foreign exchange gain (474) (936) 289
Clinical Labs [Member]      
Revenues:      
Clinical laboratory services 70,915 63,414 58,689
Operating costs, expenses and legal settlements, net:      
Total revenues 70,915 63,414 58,689
Operating costs, expenses and legal settlements, net:      
Share-based compensation 42,859 39,589 38,948
Research and development     14
Selling, general and administrative 22,882 20,666 20,460
Provision for uncollectible accounts receivable 2,375 2,418 3,115
Legal fee expense 134 196 736
Legal settlements, net 1,500   2,000
Total costs, expenses and legal settlements, net 69,750 62,869 65,273
Operating (loss) income 1,165 545 (6,584)
Other income (expense)      
Interest (105) (86) (43)
Other 10 28 56
(Loss) income before income taxes 1,070 487 (6,571)
Depreciation and amortization included above 1,676 1,443 1,415
Share-based compensation included in above:      
Capital expenditures 1,216 1,557 643
Life Sciences [Member]      
Operating costs, expenses and legal settlements, net:      
Product revenues 30,337 31,690 32,850
Royalty and license fee income 1,521 2,495 4,408
Total revenues 31,858 34,185 37,258
Operating costs, expenses and legal settlements, net:      
Cost of product revenues 14,331 15,183 15,320
Research and development 2,720 2,608 2,350
Selling, general and administrative 11,761 12,168 13,374
Provision for uncollectible accounts receivable (39) (134) (52)
Legal fee expense 11 (67) 940
Legal settlements, net (58,750) (11,458) (5,100)
Total costs, expenses and legal settlements, net (29,966) 18,300 26,832
Operating (loss) income 61,824 15,885 10,426
Other income (expense)      
Interest 47 10 9
Other 38 9 95
Foreign exchange gain (474) (936) 289
(Loss) income before income taxes 61,435 14,968 10,819
Depreciation and amortization included above 2,091 2,254 2,455
Share-based compensation included in above:      
Capital expenditures 314 226 195
Therapeutics [Member]      
Operating costs, expenses and legal settlements, net:      
Research and development 804 742 777
Total costs, expenses and legal settlements, net 804 742 777
Operating (loss) income (804) (742) (777)
Other income (expense)      
(Loss) income before income taxes (804) (742) (777)
Depreciation and amortization included above   3 7
Other Segments [Member]      
Operating costs, expenses and legal settlements, net:      
Selling, general and administrative 8,943 8,235 7,967
Legal fee expense 6,239 8,659 5,278
Total costs, expenses and legal settlements, net 15,182 16,894 13,245
Operating (loss) income (15,182) (16,894) (13,245)
Other income (expense)      
Interest (78) (169) (174)
Other 74 58 43
(Loss) income before income taxes (15,186) (17,005) (13,376)
Depreciation and amortization included above 73 89 94
Consolidated [Member]      
Revenues:      
Clinical laboratory services 70,915 63,414 58,689
Operating costs, expenses and legal settlements, net:      
Product revenues 30,337 31,690 32,850
Royalty and license fee income 1,521 2,495 4,408
Total revenues 102,773 97,599 95,947
Operating costs, expenses and legal settlements, net:      
Share-based compensation 42,859 39,589 38,948
Cost of product revenues 14,331 15,183 15,320
Research and development 3,524 3,350 3,141
Selling, general and administrative 43,586 41,069 41,801
Provision for uncollectible accounts receivable 2,336 2,284 3,063
Legal fee expense 6,384 8,788 6,954
Legal settlements, net (57,250) (11,458) (3,100)
Total costs, expenses and legal settlements, net 55,770 98,805 106,127
Operating (loss) income 47,003 (1,206) (10,180)
Other income (expense)      
Interest (136) (245) (208)
Other 122 95 194
Foreign exchange gain (474) (936) 289
(Loss) income before income taxes 46,515 (2,292) (9,905)
Depreciation and amortization included above 3,840 3,789 3,971
Share-based compensation included in above:      
Capital expenditures 1,530 1,783 838
Cost of Clinical Laboratory Services [Member] | Clinical Labs [Member]      
Share-based compensation included in above:      
Share-based compensation 6 5 8
Cost of Clinical Laboratory Services [Member] | Life Sciences [Member]      
Share-based compensation included in above:      
Share-based compensation     1
Cost of Clinical Laboratory Services [Member] | Consolidated [Member]      
Share-based compensation included in above:      
Share-based compensation 6 5 9
Selling, General and Administrative Expenses [Member] | Clinical Labs [Member]      
Share-based compensation included in above:      
Share-based compensation 51 43 36
Selling, General and Administrative Expenses [Member] | Life Sciences [Member]      
Share-based compensation included in above:      
Share-based compensation 30 15 6
Selling, General and Administrative Expenses [Member] | Other Segments [Member]      
Share-based compensation included in above:      
Share-based compensation 438 364 542
Selling, General and Administrative Expenses [Member] | Consolidated [Member]      
Share-based compensation included in above:      
Share-based compensation 519 422 584
Total [Member] | Clinical Labs [Member]      
Share-based compensation included in above:      
Share-based compensation 57 48 44
Total [Member] | Life Sciences [Member]      
Share-based compensation included in above:      
Share-based compensation 30 17 8
Total [Member] | Other Segments [Member]      
Share-based compensation included in above:      
Share-based compensation 438 364 542
Total [Member] | Consolidated [Member]      
Share-based compensation included in above:      
Share-based compensation $ 525 429 594
Research and Development Expense [Member] | Life Sciences [Member]      
Share-based compensation included in above:      
Share-based compensation   2 1
Research and Development Expense [Member] | Consolidated [Member]      
Share-based compensation included in above:      
Share-based compensation   $ 2 $ 1