Quarterly report pursuant to Section 13 or 15(d)

Revenue Recognition (Details) - Schedule of net revenues and percentages by type of customer

v3.19.1
Revenue Recognition (Details) - Schedule of net revenues and percentages by type of customer - Clinical Services [Member] - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jan. 31, 2019
Jan. 31, 2018
Jan. 31, 2019
Jan. 31, 2018
Revenue Recognition (Details) - Schedule of net revenues and percentages by type of customer [Line Items]        
Revenue Services Net $ 12,000 $ 18,730 $ 26,297 $ 38,264
Revenue Services Net Percentage 100.00% 100.00% 100.00% 100.00%
Third-Party Payer [Member]        
Revenue Recognition (Details) - Schedule of net revenues and percentages by type of customer [Line Items]        
Revenue Services Net $ 6,509 $ 11,102 $ 14,415 $ 22,762
Revenue Services Net Percentage 54.00% 59.00% 55.00% 60.00%
Medicare [Member]        
Revenue Recognition (Details) - Schedule of net revenues and percentages by type of customer [Line Items]        
Revenue Services Net $ 2,338 $ 3,230 $ 5,089 $ 6,215
Revenue Services Net Percentage 20.00% 17.00% 19.00% 16.00%
Patient self-pay [Member]        
Revenue Recognition (Details) - Schedule of net revenues and percentages by type of customer [Line Items]        
Revenue Services Net $ 1,797 $ 1,583 $ 3,771 $ 3,642
Revenue Services Net Percentage 15.00% 9.00% 14.00% 9.00%
HMO’s [Member]        
Revenue Recognition (Details) - Schedule of net revenues and percentages by type of customer [Line Items]        
Revenue Services Net $ 1,356 $ 2,815 $ 3,022 $ 5,645
Revenue Services Net Percentage 11.00% 15.00% 12.00% 15.00%