Organization and Summary of Significant Accounting Policies | Organization and Summary of Significant Accounting Policies Business Omnicell, Inc. was incorporated in California in 1992 under the name Omnicell Technologies, Inc. and reincorporated in Delaware in 2001 as Omnicell, Inc. The Company's major products are automated medication, supply control systems and medication adherence solutions which are sold in its principal market, which is the healthcare industry. The Company's market is primarily located in the United States and Europe. "Omnicell" or the "Company" refer to Omnicell, Inc. and its subsidiaries. Principles of consolidation The accompanying Consolidated Financial Statements have been prepared in accordance with U.S. GAAP and include all adjustments necessary for the fair presentation of the Company's consolidated financial position, results of operations and cash flows for the periods presented. The Consolidated Financial Statements include the Company's accounts as well as those of its wholly owned subsidiaries after the elimination of intercompany balances and transactions. On April 12, 2017, the Company completed its acquisition of Dixie Drawl, LLC d/b/a InPharmics ("InPharmics"). On December 8, 2016, the Company completed its acquisition of Ateb, Inc. and Ateb Canada Ltd. (together, “Ateb”). On January 5, 2016, the Company completed its acquisition of Aesynt Holding Cooperatief U.A. (“Aesynt”). On April 30, 2015, the Company acquired the remaining 85% of the issued and outstanding ordinary shares of Avantec Healthcare Limited (“Avantec”) not already held by Omnicell. On April 21, 2015, the Company completed its acquisition of Mach4 Automatisierungstechnik GmbH (“Mach4”). The consolidated financial statements include the results of operations of these recently acquired companies, commencing as of their respective acquisition dates. The significant accounting policies of the acquired businesses have been aligned to conform to the accounting policies of Omnicell. Certain prior year amounts in the Consolidated Statement of Cash Flows have been reclassified to conform to the 2017 presentation with the adoption of Accounting Standards Update ("ASU") 2016-09, Compensation—Stock Compensation (Topic 718): Improvements to Employee Share-Based Payment Accounting . Additionally, see "Recently adopted authoritative guidance" section below for the effects of adoption of ASU 2016-09. Use of estimates The preparation of financial statements in accordance with U.S. GAAP requires management to make estimates and assumptions that affect the amounts reported in the Company's Consolidated Financial Statements and accompanying Notes. Management bases its estimates on historical experience and various other assumptions believed to be reasonable. Although these estimates are based on management's best knowledge of current events and actions that may impact the Company in the future, actual results may be different from the estimates. The Company's critical accounting policies are those that affect its financial statements materially and involve difficult, subjective or complex judgments by management. Those policies are revenue recognition, allowance for doubtful accounts and notes receivable from investment in sales-type leases, inventory valuation, capitalized software development costs, valuation and impairment of goodwill, purchased intangibles and long-lived assets, fair value of assets acquired and liabilities assumed in business combination, share-based compensation and accounting for income taxes. Segment reporting The Company's Chief Operating Decision Maker ("CODM") is its Chief Executive Officer. The CODM allocates resources and evaluates the performance of the Company's segments using information about its revenues, gross profit, and income from operations. Such evaluation excludes general corporate-level costs that are not specific to either of the reportable segments and are managed separately at the corporate level. Corporate-level costs include expenses related to executive management, finance and accounting, human resources, legal, training and development, and certain administrative expenses. See Note 14, Segment and Geographical Information, for additional information on segment reporting. The operating results of the recently acquired InPharmics, Aesynt, Mach4 and Avantec businesses are included in the Company's Automation and Analytics reportable segment. The operating results of the recently acquired Ateb business is included in the Medication Adherence reportable segment. Foreign currency translation and remeasurement Most of the Company's foreign subsidiaries use the local currency of their respective countries as their functional currency. The Company translates the assets and liabilities of such non-U.S. dollar functional currency subsidiaries into U.S. dollars using exchange rates in effect at the end of each period. Revenue and expenses for these subsidiaries are translated using rates that approximate those in effect during the period. Gains and losses from these translations are recorded as foreign currency translation adjustments and included in accumulated other comprehensive income (loss) in stockholders’ equity. The Company’s foreign subsidiaries that use the U.S. dollar as their functional currency remeasure monetary assets and liabilities at exchange rates in effect at the end of each period, and non-monetary assets and liabilities at historical rates. Gains and losses from such foreign currency remeasurement are recorded in interest and other income (expense). Revenue recognition The Company earns revenues from sales of its medication and medical and surgical supply automation systems along with consumables and related services, which are sold in the healthcare industry, its principal market. Revenues are reported net of discounts and rebates provided to its customers. The Company's customer arrangements typically include one or more of the following deliverables: Products. Software-enabled equipment that manages and regulates the storage and dispensing of pharmaceuticals, consumable blister cards and packaging equipment and other medical supplies. Software. Additional software applications that enable incremental functionality of its equipment. Installation. Installation of equipment as integrated systems at customers' sites. Post-installation technical support. Phone support, on-site service, parts and access to unspecified software upgrades and enhancements, if and when available. Professional services. Other customer services, such as training and consulting. The Company recognizes revenue when the earnings process is complete, based upon its evaluation of whether the following four criteria have been met: Persuasive evidence of an arrangement exists. The Company uses signed customer contracts and signed customer purchase orders as evidence of an arrangement for leases and sales. For service engagements, the Company uses a signed services agreement and a statement of work to evidence an arrangement. Delivery has occurred. Equipment and embedded software product delivery is deemed to occur upon successful installation and receipt of a signed and dated customer confirmation of installation letter, providing evidence that the Company has delivered what a customer ordered. In instances of a customer self-installation, product delivery is deemed to have occurred upon receipt of a signed and dated customer confirmation letter. If a sale does not require installation, the Company recognizes revenue on delivery of products to the customer, including transfer of title and risk of loss, assuming all other revenue criteria are met. For existing distributors, where installation of equipment training has been previously provided and the distributor is certified to install the Company's equipment at the end-user customer facility, the Company recognizes revenue from sales of products to the distributor upon shipment assuming all other revenue criteria are met, net of allowance for rights of return or refund. For new distributors, where the Company has not provided installation of equipment training, revenue on the sales of products to the distributor is deferred until the distributor has completed the Distributor Training Program and has been certified to install the Company's equipment at the end-user facility. For the sale of consumable blister cards, the Company recognizes revenue when title and risk of loss of the products shipped have transferred to the customer, which usually occurs upon shipment from the Company's facilities. Assuming all other revenue criteria are met, the Company recognizes revenue for support services ratably over the related support services contract period. The Company recognizes revenue on training and professional services as they are performed. Fee is fixed or determinable. The Company assesses whether a fee is fixed or determinable at the outset of the arrangement based on the payment terms associated with the transaction. The Company has established a history of collecting under the original contract without providing concessions on payments, products or services. Collection is probable. The Company assesses the probability of collecting from each customer at the outset of the arrangement based on a number of factors, including the customer's payment history and its current creditworthiness. If, in the Company's judgment, collection of a fee is not probable, the Company defers revenue recognition until the uncertainty is removed, which generally means revenue is recognized upon the Company's receipt of cash payment assuming all other revenue criteria are met. The Company's historical experience has been that collection from its customers is generally probable. In arrangements with multiple deliverables, assuming all other revenue criteria are met, the Company recognizes revenue for individual delivered items if they have value to the customer on a standalone basis. The Company allocates arrangement consideration at the inception of the arrangement to all deliverables using the relative selling price method. This method requires the Company to determine the selling price at which each deliverable could be sold if it were sold regularly on a standalone basis. When available, the Company uses vendor-specific objective evidence ("VSOE") of the selling price. VSOE represents the price charged for a deliverable when it is sold separately, or for a deliverable not yet being sold separately, the price established by management with the relevant authority. The Company considers VSOE to exist when approximately 80% or more of its standalone sales of an item are priced within a reasonably narrow pricing range (plus or minus 15% of the median rates). The Company has established VSOE of the selling price for its post-installation technical support services and professional services. When VSOE of selling price is not available, third-party evidence ("TPE") of selling price for similar products and services is acceptable; however, the Company's offerings and market strategy differ from those of its competitors, such that it cannot obtain sufficient comparable information about third parties' prices. If neither VSOE nor TPE are available, the Company uses its best estimates of selling prices ("BESP"). The Company determines BESP considering factors such as market conditions, sales channels, internal costs and product margin objectives and pricing practices. The Company regularly reviews and updates its VSOE and BESP information. The relative selling price method allocates total arrangement consideration proportionally to each deliverable on the basis of its estimated selling price. In addition, the amount recognized for any delivered items cannot exceed that which is not contingent upon delivery of any remaining items in the arrangement. The Company also uses the residual method to allocate revenue between the software products that enable incremental equipment functionality, and thus are not deemed to deliver its essential functionality, and the related post-installation technical support, as these products and services continue to be accounted for under software revenue recognition rules. Under the residual method, the amount allocated to the undelivered elements equals VSOE of fair value of these elements. Any remaining amounts are attributed to the delivered items and are recognized when those items are delivered. A portion of the Company's sales are made through multi-year lease agreements. Under sales-type leases, the Company recognizes revenue for its hardware and software products net of lease execution costs such as post-installation product maintenance and technical support, at the net present value of the lease payment stream once its installation obligations have been met. The Company optimizes cash flows by selling a majority of its non-U.S. government leases to third-party leasing finance companies on a non-recourse basis. The Company has no obligation to the leasing company once the lease has been sold. Some of the Company's sales-type leases, mostly those relating to U.S. government hospitals which comprise approximately 33% of the lease receivable balance, are retained in-house. Interest income in these leases is recognized in product revenue using the effective interest method. The Company will adopt the ASU 2014-09, Revenue from Contracts with Customers, effective January 1, 2018. Please refer to “Recently issued authoritative guidance” which is included in Note 1 of this report. Financial Instruments For assets and liabilities measured at fair value, the amounts are based on an expected exit price representing the amount that would be received from the sale of an asset or paid to transfer a liability in a transaction between market participants. The fair value may be based on assumptions that market participants would use in pricing an asset or liability. The authoritative guidance on fair value measurements establishes a consistent framework for measuring fair value on either a recurring or nonrecurring basis whereby inputs used in valuation techniques are assigned a hierarchical level. The following methods were used to estimate the fair value of each class of financial instruments for which it is practical to estimate that value: Cash and Cash Equivalents and Fair Value of Financial Instruments. The Company classifies investments as cash equivalents if their original or remaining contractual maturity is three months or less at the date of purchase. Cash equivalents are carried at amounts that approximate fair value due to the short period of time to maturity. The Company's cash balances are maintained in demand deposit accounts with financial institutions of high credit quality. The Company continuously monitors the credit worthiness of the financial institutions in which it invests. The Company has not experienced any credit losses from its cash investments. Foreign currency forward contracts. The Company enters into foreign currency forward contracts to protect its business from the risk that exchange rates may affect the eventual cash flows resulting from intercompany transactions between Omnicell and its foreign subsidiaries. These transactions primarily arise as a result of products manufactured in the United States ("U.S") and sold to foreign subsidiaries in U.S. dollars rather than the subsidiaries' functional currencies. These forward contracts are considered to be financial derivative instruments and are recorded at fair value. Changes in fair values of these financial derivative instruments are either recognized in other comprehensive income or net income depending on whether the derivative has been designated and qualifies as a hedging instrument. Interest rate swap agreements. During 2016, the Company entered into an interest rate swap agreement. The interest rate swap agreement, at its inception, qualified for and were designated as cash flow hedging instrument. In accordance with the Derivatives and Hedging Topic of the Accounting Standards Codification, the Company records its interest rate swaps on its consolidated balance sheet at fair value. The effective portion of changes in fair value are recorded in accumulated other comprehensive loss and are subsequently reclassified into earnings in the period that the hedged forecasted transaction affects earnings. Any ineffective portion is recognized in earnings. Both at inception and on a quarterly basis, the Company performs an effectiveness test. For further information regarding these interest rate swap agreements, please refer to Note 4, Cash and Cash Equivalents and Fair Value of Financial Instruments . Debt. The Company has entered into a Credit Agreement which provides for (a) a five -year revolving credit facility and (b) a five -year term loan facility (Facilities). The amount borrowed under these facilities is recorded at its carrying value at December 31, 2017 . The fair value at December 31, 2017 approximates the carrying value. Allowance for doubtful accounts and notes receivables from investment in sales-types leases The Company maintains an allowance for doubtful accounts for estimated losses resulting from the inability of its customers to make required payments. The Company records a specific allowance based on an analysis of individual past-due balances. Additionally, based on historical write-offs and the Company's collection experience, the Company records an additional allowance based on a percentage of outstanding receivables. The Company performs credit evaluations of its customers' financial condition. These evaluations require significant judgment and are based on a variety of factors including, but not limited to, current economic trends, payment history and a financial review of the customer. Actual collection losses may differ from management's estimates, and such differences could be material to the Company's financial position and results of operations. There were no customers that accounted for more than 10% of the Company’s accounts receivable balance as of December 31, 2017 and December 31, 2016 . The retained in-house leases discussed above are considered financing receivables. The Company's credit policies and its evaluation of credit risk and write-off policies are applied alike to trade receivables and the net investment in sales-type leases. For both, an account is generally past due after thirty days. The financing receivables also have customer-specific reserves for accounts identified for specific impairment and a non-specific reserve applied to the remaining population, based on factors such as current trends, the length of time the receivables are past due and historical collection experience. The retained in-house leases are not stratified by portfolio or class. Sales of accounts receivable The Company records the sale of its accounts receivables as in accordance with accounting guidance for transfers and servicing of financial assets. The Company transferred non-recourse accounts receivable totaling $40.0 million , $28.7 million and $38.6 million during fiscal year 2017 , 2016 , and 2015 , respectively, which approximated fair value, to leasing companies on a non-recourse basis. Accounts receivable balance included approximately $0.1 million , $0.2 million and $0.8 million due from third-party leasing companies for transferred non-recourse accounts receivable as of December 31, 2017 , December 31, 2016 and December 31, 2015 , respectively. Inventory Inventories are stated at the lower of cost, computed using the first-in, first-out method, and net realizable value. Inbound shipping costs are included in cost of inventory. The Company regularly monitors inventory quantities on hand and records write-downs for excess and obsolete inventories based on the Company's estimate of demand for its products, potential obsolescence of technology, product life cycles, and whether pricing trends or forecasts indicate that the carrying value of inventory exceeds its estimated selling price. These factors are impacted by market and economic conditions, technology changes, and new product introductions and require estimates that may include elements that are uncertain. Actual demand may differ from forecasted demand and may have a material effect on gross margins. If inventory is written down, a new cost basis is established that cannot be increased in future periods. Shipments from suppliers or contract manufacturers before the Company receives them are recorded as in-transit inventory when title and the significant risks and rewards of ownership have passed to the Company. The Company has a supply agreement with one primary supplier for construction and supply of several sub-assemblies and inventory management of sub-assemblies used in our hardware products. There are no minimum purchase requirements. The contract with the Company's supplier may be terminated by either the supplier or by the Company without cause and at any time upon delivery of two months' notice. Purchases from this supplier were $64.5 million , $47.9 million and $41.7 million for the years ended December 31, 2017 , December 31, 2016 and December 31, 2015 , respectively. Property and equipment Property and equipment less accumulated depreciation are stated at historical cost. The Company's expenditures for property and equipment are primarily for computer equipment and software used in the administration of its business, and for leasehold improvements to its leased facilities. The Company also develops molds and dies used in long-term manufacturing arrangements with suppliers and for production automation equipment used in the manufacturing of consumable blister card components. Depreciation and amortization is computed by use of the straight-line method over the estimated useful lives of the assets as stated below: Computer equipment and related software 3 - 5 years Leasehold and building improvements Shorter of the lease term or the estimated useful life Furniture and fixtures 5 - 7 years Equipment 3 - 12 years Depreciation and amortization of property and equipment was $16.2 million , $15.0 million and $12.8 million for the years ended December 31, 2017 , December 31, 2016 and December 31, 2015 , respectively. The Company capitalizes costs related to computer software developed or obtained for internal use in accordance with ASC 350-40, Internal-Use Software . Software obtained for internal use has generally been enterprise-level business and finance software that the Company customizes to meet its specific operational needs. Costs incurred in the application development phase are capitalized and amortized over their useful lives, which is generally five years. Costs recognized in the preliminary project phase and the post-implementation phase are expensed as incurred. The Company capitalized $0.4 million and $2.2 million of costs related to the application development of enterprise-level software that was included in property and equipment during the years ended December 31, 2017 and December 31, 2016 , respectively. Software development costs The Company capitalizes software development costs in accordance with ASC 985-20, Costs of Software to Be Sold, Leased, or Marketed , under which certain software development costs incurred subsequent to the establishment of technological feasibility may be capitalized and amortized over the estimated lives of the related products. The Company establishes feasibility when it completes a working model and amortizes development costs over the estimated lives of the related products ranging from three to five years. The Company capitalized software development costs of $15.0 million and $14.3 million which are included in other assets as of December 31, 2017 and December 31, 2016 , respectively. The Company recorded $9.7 million , $7.1 million and $5.8 million to cost of revenues for amortization of capitalized software development costs for the years ended December 31, 2017 , December 31, 2016 and December 31, 2015 , respectively. All development costs prior to the completion of a working model are recognized as research and development expense. Deferred revenue Deferred revenue arise when customers have been billed and/or have received products and/or services in advance of revenue recognition. The Company's deferred revenue, net, presented as short term consists of (i) unearned revenue on sale of equipment for which installation has not been completed, net of deferred cost of sales for such equipment, and (ii) the current portion of unearned service contracts for which revenue is recognized over their duration. Long-term deferred revenue includes long term portion of unearned service contracts. Business combinations The Company uses the acquisition method of accounting under the authoritative guidance on business combinations. Each acquired company’s operating results are included in the Company's Consolidated Financial Statements starting on the date of acquisition. The purchase price is equivalent to the fair value of consideration transferred. Tangible and identifiable intangible assets acquired and liabilities assumed as of the date of acquisition are recorded at the acquisition date fair value. Goodwill is recognized for the excess of purchase price over the net fair value of assets acquired and liabilities assumed. Amounts allocated to assets and liabilities are based upon fair values. Such valuations require management to make significant estimates and assumptions, especially with respect to the identifiable intangible assets. Management makes estimates of fair value based upon assumptions believed to be reasonable and that of a market participant. These estimates are based on historical experience and information obtained from the management of the acquired companies and the estimates are inherently uncertain. The separately identifiable intangible assets generally include customer relationships, technology, and trade names. Goodwill and acquired intangible assets Goodwill. The Company reviews goodwill for impairment on an annual basis on the first day of the fourth quarter of each year at the reporting unit level. The Company's reporting units are the same as its operating segments, which are Automation and Analytics and Medication Adherence. A qualitative assessment is initially made to determine whether it is necessary to perform quantitative testing. A qualitative assessment includes, among others, consideration of: (i) past, current and projected future earnings and equity; (ii) recent trends and market conditions; and (iii) valuation metrics involving similar companies that are publicly-traded and acquisitions of similar companies, if available. If this qualitative assessment indicates that it is more likely than not that impairment exists, or if the Company decides to bypass this option, it proceeds to the quantitative assessment. The quantitative assessment involves a comparison between the estimated fair values of the Company's reporting units with their respective carrying amounts including goodwill. If the carrying value exceeds estimated fair value, the Company will record an impairment charge based on that difference. The impairment charge will be limited to the amount of goodwill allocated to that reporting unit. To determine each reporting unit's fair value under the quantitative approach, the Company uses a combination of income and market approaches, equally weighting the two approaches, such as estimated discounted future cash flows of that reporting unit, multiples of earnings or revenues, and analysis of recent sales or offerings of comparable entities. The Company also considers its market capitalization on the date of the analysis to ensure the reasonableness of the sum of its reporting units’ fair value. The Company performed a quantitative impairment analysis as of October 1, 2017 for its Medication Adherence reporting unit. The Company determined that the fair value of this reporting unit exceeded the carrying value by more than 40%, and thus no impairment was indicated. Additionally, the Company performed a qualitative impairment assessment analysis as of October 1, 2017 for its Automation and Analytics reporting unit taking into consideration past, current and projected future earnings, recent trends and market conditions; and valuation metrics involving similar companies that are publicly-traded. Based on the result of this analysis an impairment does not exist as of December 31, 2017. Intangible assets. In connection with the Company's acquisitions, it generally recognizes assets for customer relationships, backlog, developed technology, and trade names. Intangible assets are carried at cost less accumulated amortization. Such amortization is provided on a straight-line basis or on an accelerated basis based on a pattern of economic benefit that is expected to be obtained over the estimated useful lives of the respective assets, generally from one to 30 years. Amortization for developed technology and backlog is recognized in cost of revenues, and amortization for customer relationships, non-compete agreements, and trade names is recognized in selling, general and administrative expenses. The Company assesses the impairment of identifiable intangible assets whenever events or changes in circumstances indicate that an asset's carrying amount may not be recoverable. Recoverability of an asset is measured by the comparison of the carrying amount to the sum of the undiscounted estimated future cash flows the asset is expected to generate, offset by estimated future costs to dispose of the product to which the asset relates. If an asset is considered to be impaired, the amount of such impairment would be measured as the difference between the carrying amount of the asset and its fair value. The Company's cash flow assumptions are based on historical and forecasted future revenue, operating costs, and other relevant factors. Assumptions and estimates about the remaining useful lives of the Company's intangible assets are subjective and are affected by changes to its business strategies. If management’s estimates of future operating results change, or if there are changes to other assumptions, the estimate of the fair value of the Company's assets could change significantly. Such change could result in impairment charges in future periods, which could have a significant impact on the Company's operating results and financial condition. For the years ended December 31, 2017 and December 31, 2016, there were no events or changes in circumstances to indicate that intangible assets carrying amounts may not be recoverable. Valuation of share-based awards The Company accounts for share-based compensation in accordance with ASC 718, Stock Compensation ("ASC 718"). The Company recognizes compensation expense related to stock-based compensation based on the grant date estimated fair value. The fair value of stock options ("options") on the grant date is estimated using the Black-Scholes option pricing model, which requires the following inputs: expected life, expected volatility, risk-free interest rate, expected dividend yield rate, exercise price, and closing price of its common stock on the date of grant. The expected volatility is based on a combination of historical and market-based implied volatility, and the expected life of the awards is based on the Company's historical experience of employee stock option exercises, including forfeitures. Expense is recognized on a straight-line basis over the requisite service period. The fair value of Restricted Stock Units ("RSUs") is based on the stock price on the grant date. The fair value of Restricted Stock Awards (“RSAs”) is their intrinsic value, which is the difference between the fair value of the underlying stock at the measurement date and the purchase price. The RSUs and RSAs are subject to a service vesting condition and are recognized on a straight-line basis over the requisite service period. The fair value of PSUs with service and market conditions is estimated using a Monte Carlo simulation model applying multiple awards approach. Expense is recognized when it is probable that the performance condition will be met using the accelerated attribution method over the requisite service period. The valuation assumptions used in estimating the fair value of employee share-based awards may change in future periods. Accounting for income taxes The Company records an income tax provision for (benefit from) the anticipated tax consequences of the reported results of operations. In accordance with U.S. GAAP, the provision for (benefit from) income taxe |