XML 72 R58.htm IDEA: XBRL DOCUMENT v3.7.0.1
Goodwill and Intangible Assets - Additional Information (Detail) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Jun. 30, 2015
Goodwill And Intangible Assets [Line Items]      
Amortization expense $ 142 $ 142 $ 142
Pharmacy Segment [Member]      
Goodwill And Intangible Assets [Line Items]      
Goodwill impairment charge 461    
Pharmacy Segment [Member] | Trade Name [Member]      
Goodwill And Intangible Assets [Line Items]      
Impairment of intangible assets, finite-lived 820    
Pharmacy Segment [Member] | Medicare License [Member]      
Goodwill And Intangible Assets [Line Items]      
Impairment of intangible assets, finite-lived $ 146    
Pharmacy Segment [Member] | Customer Relationships [Member]      
Goodwill And Intangible Assets [Line Items]      
Intangible asset, remaining amortization period 12 years    
Pharmacy Segment [Member] | Medicare License [Member]      
Goodwill And Intangible Assets [Line Items]      
Intangible asset, remaining amortization period 15 years