Quarterly report pursuant to Section 13 or 15(d)

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

v3.8.0.1
Segment reporting (Details) - Schedule of segment reporting information, by segment - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2018
Apr. 30, 2017
Apr. 30, 2018
Apr. 30, 2017
Segment Reporting Information [Line Items]        
Revenues $ 25,630 $ 27,089 $ 80,258 $ 79,633
Research and development 799 766 2,358 2,071
Selling, general and administrative 11,025 10,534 32,986 33,246
Provision for uncollectible accounts receivable 396 620 1,989 1,968
Legal fee expense 1,651 512 3,782 1,254
Operating income (loss) (2,798) (259) (6,452) (2,599)
Other 17 (74) 86 69
Foreign exchange gain (loss) (462) 147 143 (308)
Share-based compensation 204 209 617 601
Selling, General and Administrative Expenses [Member]        
Segment Reporting Information [Line Items]        
Share-based compensation 204 207 617 596
Cost of Clinical Laboratory Services [Member]        
Segment Reporting Information [Line Items]        
Share-based compensation   2   5
Clinical Labs [Member]        
Segment Reporting Information [Line Items]        
Revenues 18,137 19,584 58,001 56,979
Selling, general and administrative 6,252 6,118 18,454 17,967
Provision for uncollectible accounts receivable 400 650 2,000 1,910
Legal fee expense 25 4 46 105
Total operating costs and expenses 17,672 18,106 55,267 53,264
Operating income (loss) 465 1,478 2,734 3,715
Interest (22) (28) (70) (85)
Other 15 7 32 126
Income (loss) before income taxes 458 1,457 2,696 3,756
Depreciation and amortization included above 437 390 1,254 1,185
Capital expenditures 465 483 1,459 1,070
Clinical Labs [Member] | Selling, General and Administrative Expenses [Member]        
Segment Reporting Information [Line Items]        
Share-based compensation 26 38 86 74
Clinical Labs [Member] | Total [Member]        
Segment Reporting Information [Line Items]        
Share-based compensation 26 40 86 79
Clinical Labs [Member] | Cost of Clinical Laboratory Services [Member]        
Segment Reporting Information [Line Items]        
Share-based compensation   2   5
Life Sciences [Member]        
Segment Reporting Information [Line Items]        
Revenues 7,493 7,505 22,257 22,654
Research and development 576 552 1,690 1,695
Selling, general and administrative 2,974 2,745 8,487 8,596
Provision for uncollectible accounts receivable (4) (30) (11) 58
Legal fee expense 19 42 47 70
Total operating costs and expenses 7,127 6,891 21,041 20,830
Operating income (loss) 366 614 1,216 1,824
Interest 12 12 35 34
Other 2 (98) 10 (98)
Foreign exchange gain (loss) (462) 147 143 (308)
Income (loss) before income taxes (82) 675 1,404 1,452
Depreciation and amortization included above 358 423 1,039 1,432
Capital expenditures 96 252 167 354
Life Sciences [Member] | Selling, General and Administrative Expenses [Member]        
Segment Reporting Information [Line Items]        
Share-based compensation 17 23 61 49
Life Sciences [Member] | Total [Member]        
Segment Reporting Information [Line Items]        
Share-based compensation 17 23 61 49
Therapeutics [Member]        
Segment Reporting Information [Line Items]        
Research and development 223 214 668 376
Total operating costs and expenses 223 214 668 376
Operating income (loss) (223) (214) (668) (376)
Income (loss) before income taxes (223) (214) (668) (376)
Other Segments [Member]        
Segment Reporting Information [Line Items]        
Selling, general and administrative 1,799 1,671 6,045 6,683
Legal fee expense 1,607 466 3,689 1,079
Total operating costs and expenses 3,406 2,137 9,734 7,762
Operating income (loss) (3,406) (2,137) (9,734) (7,657)
Interest 237 131 604 291
Other   17 44 41
Income (loss) before income taxes (3,169) (1,989) (9,086) (7,430)
Depreciation and amortization included above 20 37 57 75
Other Segments [Member] | Selling, General and Administrative Expenses [Member]        
Segment Reporting Information [Line Items]        
Share-based compensation 161 146 470 473
Other Segments [Member] | Total [Member]        
Segment Reporting Information [Line Items]        
Share-based compensation 161 146 470 473
Consolidated [Member]        
Segment Reporting Information [Line Items]        
Revenues 25,630 27,089 80,258 79,633
Research and development 799 766 2,358 2,071
Selling, general and administrative 11,025 10,534 32,986 33,246
Provision for uncollectible accounts receivable 396 620 1,989 1,968
Legal fee expense 1,651 512 3,782 1,254
Total operating costs and expenses 28,428 27,348 86,710 82,232
Operating income (loss) (2,798) (259) (6,452) (2,599)
Interest 227 115 569 240
Other 17 (74) 86 69
Foreign exchange gain (loss) (462) 147 143 (308)
Income (loss) before income taxes (3,016) (71) (5,654) (2,598)
Depreciation and amortization included above 815 850 2,350 2,692
Capital expenditures 561 735 1,626 1,424
Consolidated [Member] | Selling, General and Administrative Expenses [Member]        
Segment Reporting Information [Line Items]        
Share-based compensation 204 207 617 596
Consolidated [Member] | Total [Member]        
Segment Reporting Information [Line Items]        
Share-based compensation 204 209 617 601
Consolidated [Member] | Cost of Clinical Laboratory Services [Member]        
Segment Reporting Information [Line Items]        
Share-based compensation   2   5
Clinical Laboratory Services [Member]        
Segment Reporting Information [Line Items]        
Revenues 18,137 19,584 58,001 56,979
Cost of Revenues 10,995 11,334 34,767 33,282
Clinical Laboratory Services [Member] | Clinical Labs [Member]        
Segment Reporting Information [Line Items]        
Revenues 18,137 19,584 58,001 56,979
Cost of Revenues 10,995 11,334 34,767 33,282
Clinical Laboratory Services [Member] | Consolidated [Member]        
Segment Reporting Information [Line Items]        
Revenues 18,137 19,584 58,001 56,979
Cost of Revenues 10,995 11,334 34,767 33,282
Product [Member]        
Segment Reporting Information [Line Items]        
Revenues 7,415 7,312 21,618 21,721
Cost of Revenues 3,562 3,582 10,828 10,411
Product [Member] | Life Sciences [Member]        
Segment Reporting Information [Line Items]        
Revenues 7,415 7,312 21,618 21,721
Cost of Revenues 3,562 3,582 10,828 10,411
Product [Member] | Consolidated [Member]        
Segment Reporting Information [Line Items]        
Revenues 7,415 7,312 21,618 21,721
Cost of Revenues 3,562 3,582 10,828 10,411
Royalty and License Fees [Member]        
Segment Reporting Information [Line Items]        
Revenues 78 193 639 933
Royalty and License Fees [Member] | Life Sciences [Member]        
Segment Reporting Information [Line Items]        
Revenues 78 193 639 933
Royalty and License Fees [Member] | Consolidated [Member]        
Segment Reporting Information [Line Items]        
Revenues $ 78 $ 193 $ 639 $ 933