Quarterly report pursuant to Section 13 or 15(d)

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

v3.19.2
Revenue Recognition (Details) - Schedule of net revenues and percentages by type of customer - Clinical Services [Member] - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2019
Apr. 30, 2018
Apr. 30, 2019
Apr. 30, 2018
Revenue Recognition (Details) - Schedule of net revenues and percentages by type of customer [Line Items]        
Revenue Services Net $ 11,751 $ 17,737 $ 38,048 $ 56,001
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 $ 5,799 $ 9,965 $ 20,213 $ 32,726
Revenue Services Net Percentage 50.00% 56.00% 53.00% 59.00%
Medicare [Member]        
Revenue Recognition (Details) - Schedule of net revenues and percentages by type of customer [Line Items]        
Revenue Services Net $ 2,634 $ 2,858 $ 7,724 $ 9,073
Revenue Services Net Percentage 22.00% 16.00% 20.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,881 $ 2,047 $ 5,652 $ 5,689
Revenue Services Net Percentage 16.00% 12.00% 15.00% 10.00%
HMO’s [Member]        
Revenue Recognition (Details) - Schedule of net revenues and percentages by type of customer [Line Items]        
Revenue Services Net $ 1,437 $ 2,867 $ 4,459 $ 8,513
Revenue Services Net Percentage 12.00% 16.00% 12.00% 15.00%