v3.24.1.u1
Acquisitions
9 Months Ended
Mar. 31, 2024
Business Combination and Asset Acquisition [Abstract]  
Acquisitions ACQUISITIONS
In accordance with Accounting Standards Codification (“ASC”) 805, Business Combinations (“ASC 805”), the Company allocates the fair value of purchase consideration to the tangible assets, liabilities, and intangible assets acquired based on fair values. Any excess purchase price over those fair values is recorded as goodwill. The fair value assigned to intangible assets acquired is supported by valuations using estimates and assumptions provided by management. Based on the valuation inputs, the Company has recorded assets acquired and liabilities assumed according to the following fair value hierarchy:

Level 1Unadjusted quoted prices in active markets for identical assets or liabilities
Level 2Unadjusted quoted prices in active markets for similar assets or liabilities; or unadjusted quoted prices for identical or similar assets or liabilities in markets that are not active; or inputs other than quoted prices that are observable for the asset or liability.
Level 3Significant unobservable inputs for the asset or liability

Express Med Pharmaceuticals—On April 30, 2021, the Company acquired 100% of the outstanding shares of Express Med Pharmaceuticals, Inc., which is included in SelectRx, a closed-door, long term care pharmacy provider, for an aggregate purchase price of up to $24.0 million, as set forth in the Stock Purchase Agreement dated April 30, 2021. The aggregate purchase price of up to $24.0 million is comprised of $17.5 million in cash paid at the closing of the transaction, an additional $2.5 million of holdback for indemnification claims, if any, and an earnout of up to $4.0 million, if any. The earnout of up to $4.0 million is comprised of two separate provisions. During the year ended June 30, 2023, the Company paid the first and second earnout provisions of $3.0 million and $1.0 million, respectively, as well as the remaining holdback, net of adjustments, of $2.4 million. At the date of acquisition, the fair value of net tangible assets acquired, excluding property and equipment, approximated their carrying value. The property and equipment was valued primarily using the cost and sales comparison approach to value. For the proprietary software acquired, the replacement cost method under the cost approach was used, estimating the cost to rebuild the software. The non-compete agreement was valued using the income approach, and the customer relationships were valued using the multiple period excess earnings method. As such, all aforementioned intangible assets were valued using Level 3 inputs. Goodwill resulting from the transaction constitutes the excess of the consideration paid over the fair values of the assets acquired and liabilities assumed and primarily represents the additional value of the synergies of combining the SelectRx business with the Company's technology and existing customer base. This acquired goodwill is allocated to the Healthcare Services reporting unit, which is also a reportable segment, and $16.3 million is deductible for tax purposes after adding back acquisition costs and settling the remaining holdback. The Company is amortizing the intangible assets acquired on a straight-line basis over their estimated remaining lives, ranging from one to five years.    

Simple Meds—On August 31, 2021, SelectRx acquired 100% of the outstanding equity interests of Simple Meds, a full-service pharmaceutical distributor, for an aggregate purchase price of $7.0 million, as set forth in the Membership Interest Purchase Agreement dated August 31, 2021. The aggregate purchase price of $7.0 million was paid in cash at the closing of the transaction. At the date of acquisition, the fair value of net tangible assets acquired approximated their carrying value. The customer relationships were valued using the multiple period excess earnings method, and as such, were valued using Level 3 inputs. Goodwill resulting from the transaction constitutes the excess of the consideration paid over the fair values of the assets acquired and liabilities assumed and primarily represents the additional value of the synergies of combining the Simple Meds business with the Company's
technology and existing customer base. This acquired goodwill is allocated to the Healthcare Services reporting unit, which is also a reportable segment, and $5.6 million is deductible for tax purposes after adding back acquisition costs.