SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES | 1. SUMMARY OF SIGNIFICANT Description of Business —OSI Systems, Inc., together with our subsidiaries, is a vertically integrated designer and manufacturer of specialized electronic systems and components for critical applications. We sell our products in diversified markets, including homeland security, healthcare, defense and aerospace. We have three reporting segments: (i) Security, providing security inspection systems and related services, and turnkey security screening solutions; (ii) Healthcare, providing patient monitoring, diagnostic cardiology and related services and (iii) Optoelectronics and Manufacturing, providing specialized electronic components and electronic manufacturing services for our Security and Healthcare divisions as well as to external original equipment manufacturer (“OEM”) customers and end users for applications in the defense, aerospace, medical and industrial markets, among others. Through our Security segment, we provide security screening products and related services globally. These products fall into the following categories: baggage and parcel inspection; cargo and vehicle inspection; hold (checked) baggage screening; people screening; radiation detection; and explosive and narcotics trace detection. In addition to these products, we also provide site design, installation, training and technical support services to our customers. We also provide turnkey security screening solutions, which can include the construction, staffing and long-term operation of security screening checkpoints for our customers. Through our Healthcare segment, we design, manufacture, market and service patient monitoring and diagnostic cardiology systems and related supplies and accessories worldwide. These products are used by care providers in critical care, emergency and perioperative areas within hospitals as well as physicians’ offices, medical clinics and ambulatory surgery centers, among others. Through our Optoelectronics and Manufacturing segment, we design, manufacture and market optoelectronic devices and flex circuits and provide electronics manufacturing services worldwide for use in a broad range of applications, including aerospace and defense electronics, X-ray security and inspection systems and medical imaging, chemistry analysis and diagnostics instruments, telecommunications, scanners and industrial automations, automotive diagnostic systems, internet of things (IoT) and consumer wearable products. This division provides products and services to OEM customers and end users as well as to our Security and Healthcare divisions. Consolidation —The consolidated financial statements include the accounts of OSI Systems, Inc. and our wholly-owned and majority-owned subsidiaries. All significant intercompany accounts and transactions have been eliminated in consolidation. Investments in joint ventures over which we have significant influence but do not have voting control are accounted for using the equity method. Investments over which we do not have significant influence are accounted for using the cost method. Use of Estimates —The preparation of financial statements in conformity with GAAP requires management to make estimates and assumptions that affect the reported amounts of assets and liabilities and the disclosure of contingent assets and liabilities at the date of the financial statements and the reported amounts of sales and costs of sales during the reporting period. The most significant of these estimates and assumptions for our company relate to contract revenue, profit and loss recognition, fair values of assets acquired and liabilities assumed in business combinations, values for inventories reported at lower of cost or net realizable value, stock-based compensation expense, income taxes, accrued warranty costs, and the recoverability, useful lives and valuation of recorded amounts of long-lived assets, identifiable intangible assets and goodwill. Changes in estimates are reflected in the periods during which they become known. Actual amounts may differ from these estimates and could differ materially. Cash Equivalents —We consider all highly liquid investments with maturities of three months or less as of the acquisition date to be cash equivalents. Our cash and cash equivalents totaled $96.3 million at June 30, 2019. These amounts were held primarily by our subsidiaries in Singapore, Mexico, the United Kingdom, Malaysia, and India and to a lesser extent in Canada, Albania, and Germany among others. We have cash holdings that exceed insured limits for financial institutions; however, we mitigate this risk by utilizing high credit quality financial institutions throughout the world. Accounts Receivable —We monitor collections and payments from our customers and we maintain allowances for doubtful accounts for estimated losses resulting from the inability of our customers to make required payments. We also assess current economic trends that might impact the level of credit losses in the future. If the financial condition of our customers were to deteriorate, resulting in an impairment of their ability to make payments, additional allowances could be required. Components of accounts receivable consisted of (in thousands): June 30, 2018 2019 Accounts receivables $ 221,240 $ 253,504 Less allowance for doubtful accounts (10,496) (15,064) Total $ 210,744 $ 238,440 Inventories -Inventories are generally stated at the lower of cost (first-in, first-out) or net realizable value. We write down inventory for slow-moving and obsolete inventory based on historical usage, orders on hand, assessments of future demands, market conditions among other items. If these factors are less favorable than those projected, additional inventory write-downs may be required. Property and Equipment —Property and equipment are stated at cost less accumulated depreciation and amortization. Depreciation and amortization are charged while assets are used in service and are computed using the straight-line method over the estimated useful lives of the assets taking into consideration any estimated salvage value. Amortization of leasehold improvements is calculated on the straight-line method over the shorter of the useful life of the asset or the lease term. Leased capital assets are included in property and equipment. Amortization of property and equipment under capital leases is included with depreciation expense. In the event that property and equipment are idle, as a result of excess capacity or the early termination, non-renewal or reduction in scope of a turnkey screening operation, such assets are assessed for impairment on a periodic basis or if any indicators of impairment exist. As more fully described in Note 6, in fiscal 2017, we determined that certain fixed assets related to our turnkey security screening program in Mexico that were not in use were permanently impaired. Goodwill and Other Intangible Assets and Valuation of Long-Lived Assets —Goodwill represents the excess purchase price over the estimated fair value of the assets acquired and liabilities assumed in a business combination. Goodwill is allocated to our segments based on the nature of the product line of the acquired business. The carrying value of goodwill is not amortized, but is annually tested for impairment as of the end of the second quarter and more frequently if there is an indicator of impairment. We assess qualitative factors of each of our three reporting units to determine whether it is more likely than not that the fair value of a reporting unit is less than its carrying amount, including goodwill. The assessments conducted as of December 31, 2018 indicated that it is not more likely than not that the fair values of two of our three reporting units are less than their carrying amounts, including goodwill. Thus, we have determined that there is no goodwill impairment for these two reporting units. For the third reporting unit, the results of our assessment of qualitative factors were not conclusive so we proceeded with a quantitative assessment to determine if the carrying amount of this reporting unit exceeds its fair value. The fair value of the reporting unit was calculated using the income approach. Under the income approach, the fair value of the reporting unit was calculated by estimating the present value of associated future cash flows. The analysis indicated that the estimated fair value of the third reporting unit substantially exceeded the carry amount, plus goodwill, of the reporting unit. We applied a hypothetical 10 percent decrease to the fair value of the reporting unit, which at December 31, 2018, would not have indicated impairment. Therefore, we have determined that there is no goodwill impairment for this reporting unit. We evaluate long-lived assets with finite lives for impairment whenever events or changes in circumstances indicate that the carrying amount of the asset may not be recoverable. Impairment is considered to exist if the total estimated future cash flows on an undiscounted basis are less than the carrying amount of the assets. If impairment does exist, we measure the impairment loss and record it based on the discounted estimate of future cash flows. In estimating future cash flows, we group assets at the lowest level for which there are identifiable cash flows that are largely independent of the cash flows from other asset groups. Our estimate of future cash flows is based upon, among other things, certain assumptions about expected future operating performance, growth rates and other factors. Income Taxes — Deferred income taxes are provided for temporary differences between the financial statement and income tax basis of our assets and liabilities, based on enacted tax rates. A valuation allowance is provided when it is more likely than not that some portion or all of the deferred income tax assets will not be realized. Income tax accounting standards prescribe a two-step process for the financial statement measurement and recognition of a tax position taken or expected to be taken in a tax return. The first step involves the determination of whether it is more likely than not (greater than 50 percent likelihood) that a tax position will be sustained upon examination, based on the technical merits of the position. The second step requires that any tax position that meets the more-likely-than-not recognition threshold be measured and recognized in the financial statements at the largest amount of benefit that is greater than 50 percent likely of being realized upon ultimate settlement. See Note 9 for additional information. Fair Value of Financial Instruments —Our financial instruments consist primarily of cash and cash equivalents, marketable securities, derivative instruments, accounts receivable, accounts payable and debt instruments. The carrying values of financial instruments, other than long term debt instruments, are representative of their fair values due to their short term maturities. The carrying values of our long term debt instruments are considered to approximate their fair values because the interest rates of these instruments are variable or comparable to current rates available to us. Fair value is the price that would be received to sell an asset or paid to transfer a liability in an orderly transaction between market participants at the measurement date. “Level 1” category includes assets and liabilities at quoted prices in active markets for identical assets and liabilities. “Level 2” category includes assets and liabilities from observable inputs other than quoted market prices. “Level 3” category includes assets and liabilities for which valuation techniques are unobservable and significant to the fair value measurement. As of June 30, 2018 and 2019, there were no assets where “Level 3” valuation techniques were used. As further discussed in Note 10 to the consolidated financial statements, our contingent payment obligations related to acquisitions are valued using “Level 3” valuation techniques on a recurring basis. The fair values of our financial assets and liabilities as of June 30, 2018 and 2019 are categorized as follows (in thousands): June 30, 2018 June 30, 2019 Level 1 Level 2 Level 3 Total Level 1 Level 2 Level 3 Total Assets: Insurance company contracts $ — $ 31,897 $ — $ 31,897 $ — $ 35,899 $ — $ 35,899 Interest rate contract — 18 — 18 — — — — Total assets $ — $ 31,915 $ — $ 31,915 $ — $ 35,899 $ — $ 35,899 Liabilities—Contingent consideration $ — $ — $ 15,713 $ 15,713 $ — $ — $ 16,577 $ 16,577 Revenue Recognition ASU 2014-09, Revenue from Contracts with Customers (Topic 606). In May 2014, the FASB issued Accounting Standards Update (“ASU”) 2014-09 and related amendments (“ASC 606”), which superseded all prior revenue recognition methods and industry-specific guidance. The core principle of ASC 606 is that an entity should recognize revenue to depict the transfer of control for promised goods or services to customers in an amount that reflects the consideration to which the entity expects to be entitled in exchange for those goods or services. In applying the revenue principles, an entity is required to identify the contract(s) with a customer, identify the performance obligations, determine the transaction price, allocate the transaction price to the performance obligations and recognize revenue when the performance obligation is satisfied (i.e., either over time or at a point in time). ASC 606 further requires that companies disclose sufficient information to enable users of financial statements to understand the nature, amount, timing and uncertainty of revenue and cash flows arising from contracts with customers. On July 1, 2018, we adopted ASC 606 using the modified retrospective method, whereby the adoption does not impact any prior periods. We identified contracts not yet completed as of July 1, 2018 and applied the new guidance on a prospective basis. Product Sales. We recognize revenue from sales of products upon shipment or delivery when control of the product transfers to the customer, depending on the terms of each sale, and when collection is probable. In the circumstance where terms of a product sale include subjective customer acceptance criteria, revenue is deferred until we have achieved the acceptance criteria unless the customer acceptance criteria are perfunctory or inconsequential. We generally offer customers payment terms of less than one year. In cases when payment terms extend beyond one year, we consider whether the contract has a significant financing component. Service Revenue. Revenue from services includes installation and implementation of products and turnkey security screening services and after-market services. Generally, revenue from services is recognized over time as the services are performed. Revenues from out of warranty service maintenance contracts are recognized ratably over the respective terms of such contracts. Deferred revenue for such services arises from payments received from customers for services not yet performed. Contract Revenue. Sales agreements with customers can be project specific, cover a period of time, and can be renewable periodically. The contracts may contain terms and conditions with respect to payment, delivery, installation, services, warranty and other rights. In certain instances, we consider an accepted customer order, governed by a master sales agreement, to be the contract with the customer when legal rights and obligations exist. Contracts with customers may include the sale of products and services, as discussed in the paragraphs above. In certain instances, contracts can contain multiple performance obligations as discussed in the paragraph below. According to the terms of a sale contract, we may receive consideration from a customer prior to transferring goods to the customer, and we record these prepayments as a contract liability. We also record deferred revenue, typically related to service contacts, when consideration is received before the services have been performed. We recognize customer deposits and deferred revenue as net sales after all revenue recognition criteria are met. When determining revenue recognition for contracts, we use judgment based on our understanding of the obligations within each contract. We determine whether or not customer acceptance criteria are perfunctory or inconsequential. The determination of whether or not customer acceptance terms are perfunctory or inconsequential impacts the amount and timing of revenue recognition. Critical judgments also include estimates of warranty reserves, which are established based on historical experience and knowledge of the product under warranty. Multiple Performance Obligations. Certain agreements with customers include the sale of capital equipment involving multiple elements that may include civil works to prepare a site for the installation of equipment, manufacture and delivery of equipment, installation and integration of equipment, training of customer personnel to operate the equipment and after-market service of the equipment. We generally separate multiple elements in a contract into separate performance obligations if those elements are distinct, both individually and in the context of the contract. If multiple promises comprise a series of distinct services which are substantially the same and have the same pattern of transfer, they are combined and accounted for as a single performance obligation. In cases where obligations in a contract are distinct and thus require separation into multiple performance obligations, revenue recognition guidance requires that contract consideration be allocated to each distinct performance obligation based on its relative standalone selling price. The value allocated to each performance obligation is then recognized as revenue when the revenue recognition criteria for each distinct promise or bundle of promises has been met. The standalone selling price for each performance obligation is an amount that depicts the amount of consideration to which the entity expects to be entitled in exchange for transferring the good or service. When there is only one performance obligation associated with a contract, the entire sale value is attributed to that obligation. When a contract contains multiple performance obligations the transaction value is first allocated using the observable price, which is generally a list price net of applicable discount or the price used to sell in similar circumstances. In circumstances when a selling price is not directly observable, we will estimate the standalone selling price using information available to us including our market assessment and expected cost plus margin. The timetable for fulfilment of each of the distinct performance obligations can range from completion in a short amount of time and entirely within a single reporting period to completion over several reporting periods. The timing of revenue recognition for each performance obligation may be dependent upon several milestones, including physical delivery of equipment, completion of factory acceptance test, completion of site acceptance test, installation and connectivity of equipment, certification of training of personnel and, in the case of after-market service deliverables, the passage of time (typically evenly over the post-warranty period of the service deliverable). We often provide a guarantee to support our performance under multiple performance obligations. In the event that customers are permitted to terminate such arrangements, the underlying contract typically requires payment for deliverables and reimbursement of costs incurred through the date of termination. Effect of Adopting ASC 606. Adopting ASC 606 did not require any cumulative effect adjustment to retained earnings as of July 1, 2018 because the impact on retained earnings was immaterial. The impact to our consolidated statements of operations is shown below for the year ended June 30, 2019 and for the balance sheet as of June 30, 2019. Statement of Operations (in thousands) Year Ended June 30, 2019 Results Results Adoption of Effect of Revenue $ 1,182,115 $ 1,149,209 $ 32,906 Cost of goods sold 751,521 734,322 17,199 Operating expenses 322,820 309,824 12,996 Income from operations 107,774 105,063 2,711 Interest and other expense, net (21,610) (21,610) — Income tax provision (21,368) (20,943) (425) Net income $ 64,796 $ 62,510 $ 2,286 Balance Sheet (in thousands) June 30, 2019 Balances Balances Adoption of Effect of Assets Accounts receivable, net $ 238,440 $ 218,941 $ 19,499 Inventories 273,711 290,980 (17,269) Other assets 752,713 753,138 (425) Liabilities Current liabilities 382,008 382,489 (481) Other liabilities 331,129 331,129 — Stockholders’ Equity Retained earnings 399,541 397,255 2,286 During the year ended June 30, 2019, we recognized additional revenue as a result of adopting ASC 606. This is primarily due to sales within our Security division where we met certain contractual performance obligations. As a result, this increased net income and accounts receivable and reduced inventories. We disaggregate revenue by reporting segment (Security, Optoelectronics and Manufacturing, and Healthcare) to depict the nature of revenue in a manner consistent with our business operations and to be consistent with other communications and public filings. Refer to Note 14 to our consolidated financial statements for additional details of revenues by reporting segment. Contract Assets and Liabilities. We enter into contracts to sell products and provide services, and we recognize contract assets and liabilities that arise from these transactions. We recognize revenue and corresponding accounts receivable according to ASC 606 and, at times, recognize revenue in advance of the time when contracts give us the right to invoice a customer. We may also receive consideration, per the terms of a contract, from customers prior to transferring goods to the customer. We record customer deposits as a contract liability. Additionally, we may receive payments, most typically for service and warranty contracts, at the onset of the contract and before the services have been performed. In such instances, we record a deferred revenue liability. We recognize these contract liabilities as sales after all revenue recognition criteria are met. The table below shows the balance of contract assets and liabilities as of June 30, 2018 and 2019, including the change between the periods. There were no substantial non-current contract assets for the periods presented. Contract Assets (in thousands) June 30, June 30, 2018 2019 Change % Change Unbilled revenue $ 1,617 $ 19,287 $ 17,670 >100 % Contract Liabilities (in thousands) June 30, June 30, Change % Change Advances from customers $ 55,761 $ 43,227 $ (12,534) (22) % Deferred revenue—current 28,899 33,641 4,742 16 % Deferred revenue—long-term 9,562 9,506 (56) (1) % Remaining Performance Obligations. Remaining performance obligations related to ASC 606 represent the aggregate transaction price allocated to performance obligations under an original contract with a term greater than one year which are fully or partially unsatisfied at the end of the period. As of June 30, 2019, the aggregate amount of the transaction price allocated to remaining performance obligations was approximately $143.5 million. We expect to recognize revenue on approximately 43% of the remaining performance obligations over the next 12 months, and the remainder is expected to be recognized thereafter. During year ended June 30, 2019, we recognized revenue of $74.6 million from contract liabilities existing at the beginning of the year. Practical Expedients. In cases where we are responsible for shipping after the customer has obtained control of the goods, we have elected to treat the shipping activities as fulfillment activities rather than as a separate performance obligation. Additionally, we have elected to capitalize the cost to obtain a contract only if the period of amortization would be longer than one year. We only give consideration to whether a customer agreement has a financing component if the period of time between transfer of goods and services and customer payment is greater than one year. Freight —We record shipping and handling fees that we charge to our customers as revenue and related costs as cost of goods sold. Research and Development Costs —Research and development costs are those costs related to the development of a new product, process or service, or significant improvement to an existing product, process or service. Such costs are charged to operations as incurred. Stock-Based Compensation —Stock-based compensation cost is measured at the grant date based on the estimated fair value of the award and is recognized as expense over the employee’s requisite service period for all stock-based awards granted or modified. Certain restricted stock unit awards vest based on the achievement of pre-established performance criteria. The fair value of performance-based awards is estimated at the date of grant based upon the probability that the specified performance criteria will be met, adjusted for estimated forfeitures. Each quarter we update our assessment of the probability that the specified performance criteria will be achieved and adjust the estimate of the fair value of the performance-based awards if necessary. We amortize the fair value of performance-based awards over the requisite service period for each separately vesting tranche of the award. See Note 8 to the consolidated financial statements. Impairment, Restructuring and Other Charges -We account for certain charges related to restructuring activities, litigation, acquisition-related costs and other non-routine charges as Impairment, restructuring and other charges in the consolidated financial statements. See Note 6 for additional information about these charges. Credit Risk and Concentration —Financial instruments that are potentially subject to concentrations of credit risk consist primarily of cash, cash equivalents, marketable securities and accounts receivable. We restrict investments in cash equivalents to financial institutions with high credit standing. Credit risk on accounts receivable is minimized as a result of the large and diverse nature of our company’s worldwide customer base. As of June 30, 2018 and 2019, no customer accounted for greater than 10% of accounts receivable. SAT accounted for 12% of revenues for the fiscal year ended June 30, 2017. No customer accounted for greater than 10% of revenues for the fiscal years ended June 30, 2018 and 2019. We perform ongoing credit evaluations of our customers’ financial condition and maintain allowances for potential credit losses. Our cash and cash equivalents totaled $84.8 million and $96.3 million at June 30, 2018 and 2019, respectively. Of these amounts, approximately 86% and 87% was held by our foreign subsidiaries at June 30, 2018 and 2019, respectively. For cost, quality control, technological, and efficiency reasons, we purchase certain materials, parts, and components only from single vendors with whom we have ongoing relationships. We do, however, qualify second sources for many of our materials, parts, and components. While management believes that relying on key vendors improves the efficiency and reliability of business operations, relying on any one vendor for a significant aspect of business can have a significant negative impact on revenue and profitability if that vendor fails to perform at acceptable service levels for any reason, including financial difficulties of the vendor. Foreign Currency Translation and Transactions —We transact business in various foreign currencies. In countries where the functional currency of the underlying operations has been determined to be the local country’s currency, revenues and expenses of operations outside the United States are translated into United States dollars using average exchange rates while assets and liabilities of operations outside the United States are translated into United States dollars using period-end exchange rates. The effects of foreign currency translation adjustments are included in stockholders’ equity as a component of accumulated other comprehensive income (loss) in the accompanying consolidated balance sheets. Transaction gains and losses, which were included in our consolidated statement of operations, amounted to a gain (loss) of approximately $2.0 million, $(1.3) million and $0.1 million for the fiscal years ended June 30, 2017, 2018 and 2019, respectively. Business Combinations —Under ASC 805, the acquisition method of accounting requires us to record assets acquired and liabilities assumed from an acquisition at their estimated fair values at the date of acquisition. Any excess of the total estimated purchase price over the estimated fair value of the net assets acquired should be recorded as goodwill. Such valuations require management to make significant estimates and assumptions, especially with respect to intangible assets. Significant estimates in valuing certain intangible assets include, but are not limited to, future expected cash flows from acquired customers, acquired technology, trade names, useful lives and discount rates. Management’s estimates of fair value are based upon assumptions believed to be reasonable, but which are inherently uncertain and unpredictable and, as a result, actual results may differ from estimates. During the measurement period, which is one year from the acquisition date, as additional information becomes available for preliminary estimates, we may record adjustments to the preliminary assets acquired and liabilities assumed. Upon the conclusion of the measurement period, any subsequent adjustments are included in earnings. Earnings per Share — We compute basic earnings per share by dividing net income available to common stockholders by the weighted average number of common shares outstanding during the period. We compute diluted earnings per share by dividing net income available to common stockholders by the sum of the weighted average number of common shares and dilutive potential common shares outstanding during the period. Potential common shares consist of the shares issuable upon the exercise of stock options and restricted stock unit awards under the treasury stock method. In periods where a net loss is reported, basic and diluted net loss per share are the same since the effect of potential common shares is antidilutive and therefore excluded. The underlying equity component of the 1.25% convertible senior notes due 2022 (the “Notes”) discussed in Note 7 to the consolidated financial statements has been excluded from the calculation of diluted earnings per share as it was anti-dilutive since the average price of our common stock did not exceed the conversion price because the principal amount of the Notes is intended to be settled in cash upon conversion. The following table sets forth the computation of basic and diluted earnings (loss) per share (in thousands, except per share amounts): 2017 2018 2019 Net income (loss) available to common stockholders $ 21,076 $ (29,127) $ 64,796 Weighted average shares outstanding—basic 18,894 18,592 18,097 Dilutive effect of equity awards 795 — 623 Weighted average shares outstanding—diluted 19,689 18,592 18,720 Basic earnings (loss) per share $ 1.12 $ (1.57) $ 3.58 Diluted earnings (loss) per share $ 1.07 $ (1.57) $ 3.46 Weighted average shares excluded from diluted earnings (loss) per share due to their anti-dilutive effect 1,280 40 Warranty Provision —We offer our customers warranties on many of the products that we sell. These warranties typically provide for repairs and maintenance of the products if problems arise during a specified time period after original shipment. Concurrent with the sale of products, we record a provision for estimated warranty expenses with a corresponding increase in cost of goods sold. We periodically adjust this provision based on historical experience and anticipated expenses. We charge actual expenses of repairs under warranty, including parts and labor, to this provision when incurred. The warranty provision is included in other accrued expenses and current liabilities in the consolidated balance sheets, whose activity for each of the three fiscal years ended June 30, 2019 is summarized in the following table (in thousands): Warranty provision as of June 30, 2016 $ 15,948 Warranty claims provided for/assumed in acquisition 5,793 Settlements made (6,563) Warranty provision as of J |