Summary of Significant Accounting Policies | Summary of Significant Accounting Policies Revenue Recognition We recognize revenue from product sales and services when earned. Revenues are recognized when: (a) there is persuasive evidence of an arrangement, (b) the product has been shipped or services and supplies have been provided to the customer, (c) the sales price is fixed or determinable and (d) collection is reasonably assured. Certain agreements with distributors allow for product returns and credits. For shipment of product sold to distributors, revenue is recognized at the time of sale if a reasonable estimate of future returns or credit can be made. If a reasonable estimate of future returns or credit cannot be made, we recognize revenue using the "sell-through" method. Under the "sell-through" method, revenue and related costs of revenue is deferred until the final resale of such products to end customers. In addition to contractually determined volume discounts, in many agreements we offer rebates based on sales to specific end customers and discounts for early payment. Rebates and discounts are recorded as a reduction of sales and trade accounts receivable, based on our best estimate of the amount of probable future rebate or discount on current sales. We enter into multiple-element arrangements that may include a combination of equipment, related disposables and services. Revenue arrangements with multiple elements are divided into separate units of accounting if specified criteria are met, including whether the delivered element has stand-alone value to the customer, the consideration received is allocated among the separate units based on their respective selling price, and the applicable revenue recognition criteria are applied to each of the separate units. We determine selling price using vendor specific objective evidence (VSOE), if it exists, otherwise third-party evidence of selling price is used. If neither VSOE nor third-party evidence of selling price exists for a unit of accounting, we use best estimated selling price (BESP). We generally expect that we will not be able to establish third-party evidence due to the nature of our products and the markets in which we compete, and, as such, we typically will determine selling price using VSOE or BESP. We determine BESP for an individual element based on consideration of both industry and Company-specific factors, including the selling price and profit margin for similar products, the cost to produce the deliverable and the anticipated margin on that deliverable and the characteristics of the varying markets in which the deliverable is sold. Any tax assessed by a governmental authority that is incurred as a result of a revenue transactions (e.g. sales tax) is excluded from revenues and reported on a net basis System One Segment We derive revenue in the home market from sales of the System One equipment and/or PureFlow SL hardware and sales of disposable products. For the System One equipment and PureFlow SL hardware sales transactions, sold to dialysis clinic customers in the home market, due to the depot service model whereby equipment requiring service is picked up and a replacement device is shipped to the site of care, we recognize upfront fees received from equipment sales transactions as revenue on a straight-line basis over the expected term of our remaining service obligation and direct costs relating to the delivered equipment are classified in deferred cost of revenues and amortized over the same expected period as the related revenue. Disposable products revenue is recognized on a monthly basis. We also offer a month-to-month System One equipment and PureFlow SL hardware rental arrangements. Under these arrangements, revenue is recognized on a monthly basis in accordance with agreed upon contract terms and pursuant to binding customer purchase orders and fixed payment terms. Our sales arrangements with our international distributors are structured as direct product sales and have no significant post-delivery obligations with the exception of standard warranty obligations. Revenue from direct product sales is recognized upon delivery in accordance with contract terms. In the critical care market, we structure sales of the System One and disposable products as direct product sales and have no significant post-delivery obligations with the exception of standard warranty obligations. Revenue from direct product sales is recognized upon delivery in accordance with contract terms. Certain of these arrangements provide for training, technical support and extended warranty services to our customers. We recognize training and technical support revenue when the related services are performed. In the case of extended warranty, the service revenue is recognized ratably over the extended warranty period. In-Center Segment Our In-Center segment sales are structured as direct product sales primarily through distributors, and we have no significant post delivery obligations with the exception of standard warranty obligations. Revenue from direct product sales is recognized upon delivery in accordance with contract terms. Services Segment Revenues in our Services segment are derived from dialysis care services provided to patients at our NxStage Kidney Care dialysis centers. Revenues are recognized based on a customary fee schedule, net of estimated contractual allowances to reflect the estimated amounts to be received from the payor. Revenues are recognized in the period in which services are provided when we have the ability to reasonably estimate amounts ultimately collectible from the payor. In instances where we do not have the ability to reasonably estimate amounts ultimately collectible, as is often the case with non-contracted commercial health plans and amounts due from patients (including co-pay and deductible amounts), revenue is recognized in the period in which cash is received. Foreign Currency Translation and Transactions Assets and liabilities of our foreign operations are translated into U.S. dollars at current exchange rates, and income and expense items are translated at average rates of exchange prevailing during the year. Foreign exchange gains and (losses) on intercompany loans considered permanent investments are recorded in other comprehensive loss. Gains and (losses) realized from transactions denominated in foreign currencies, including intercompany balances not considered permanent investments, are included in the consolidated statements of comprehensive loss within other income (expense), net. Cash and Cash Equivalents We consider all highly-liquid investments purchased with original maturities of 90 days or less to be cash equivalents. Cash equivalents include amounts invested in treasury obligation money market funds. Cash equivalents are stated at cost plus accrued interest, which approximates fair value. Concentration of Credit Risk Financial instruments that potentially subject us to concentrations of credit risk consist principally of cash and cash equivalents, derivatives and accounts receivable. To mitigate such risk, with respect to cash and cash equivalents, we place our cash in bank deposit accounts with financial institutions that have investment grade ratings and capital ratios exceeding minimum Federal Reserve Adequacy Guidelines and in treasury obligation money market funds. To mitigate concentration of credit risk with respect to derivatives we enter into transactions with highly-rated financial institutions and frequently monitor the credit worthiness of our counterparties. Concentration of credit risk with respect to accounts receivable is primarily limited to certain customers to whom we make substantial sales. No customer represented more than 10% of accounts receivable at December 31, 2017 and two customers represented 12% and 10% of accounts receivable at December 31, 2016 . To reduce risk, we routinely assess the financial strength of our customers and closely monitor their amounts due and, as a result of our assessment, we believe that our accounts receivable credit risk exposure is limited. Historically, we have not experienced any significant credit losses related to an individual customer or group of customers in any particular market or geographic area. We maintain an allowance for doubtful accounts based on an analysis of historical losses from uncollectible accounts, aging of unpaid accounts receivable balances and risks identified for specific customers who may not be able to make required payments. Provisions for the allowance for doubtful accounts are recorded in general and administrative expenses in the accompanying consolidated statements of comprehensive loss. Activity related to allowance for doubtful accounts consisted of the following (in thousands): Year Ended Balance at Beginning of Year Provision Write-offs Balance at End of Year December 31, 2017 $ 535 $ 471 $ (191 ) $ 815 December 31, 2016 $ 417 $ 179 $ (61 ) $ 535 December 31, 2015 $ 425 $ 20 $ (28 ) $ 417 We use and are dependent upon a number of single source suppliers of raw materials, components, finished goods and sterilization services. We are dependent on the ability of our suppliers to provide products on a timely basis and on favorable pricing terms. The loss of certain principal suppliers or a significant reduction in product availability from principal suppliers would have a material adverse effect on us, at least in the near term. We believe that our relationships with our suppliers are satisfactory. Fair Value Measurements U.S. GAAP defines fair value as 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. U.S. GAAP requires an entity to maximize the use of observable inputs, where available, and minimize the use of unobservable inputs when measuring fair value. The Company has certain financial assets and liabilities that are measured at fair value on a recurring basis, certain nonfinancial assets that may be measured at fair value on a nonrecurring basis. The fair value disclosures of these assets and liabilities are based on a three-level hierarchy, which is defined as follows: Level 1 Quoted prices in active markets for identical assets or liabilities that the entity can access at the measurement date. Level 2 Observable inputs other than Level 1 prices, such as quoted prices for similar assets or liabilities; quoted prices in markets that are not active; or other inputs that are observable or can be corroborated by observable market data for substantially the full term of the assets or liabilities. Level 3 Unobservable inputs that are supported by little or no market activity and that are significant to the fair value of the assets or liabilities. Assets and liabilities measured at fair value are classified in their entirety based on the lowest level of input that is significant to the fair value measurement. Our assessment of the significance of a particular input to the fair value measurement in its entirety requires judgment and considers factors specific to the asset or liability. Derivative Instruments and Hedging Derivative instruments, namely our foreign exchange forward contracts, are recognized on the balance sheet at fair value at the balance sheet date. Changes in the fair value of derivatives that are designated and highly effective as cash flow hedges are deferred in accumulated other comprehensive income (loss) and subsequently recognized in cost of revenues in the same period the hedged items are recognized. The ineffective portion of derivative instruments designated as cash flow hedges are recorded in other income (expense), net. If the underlying forecasted transaction does not occur, or it becomes probable that it will not occur, the gains and losses on the related derivative instrument are recognized in earnings and any related gains and losses recorded in other comprehensive income (loss) are reclassified into earnings. Inventory Inventory is stated at the lower of cost, determined using the first-in first-out method (FIFO), or market (net realizable value). We write down the carrying value of inventory for estimated obsolescence when warranted by an amount equal to the difference between the cost of inventory and the estimated market value based on assumptions of future demand and remaining shelf-life. We also review our inventory value to determine if it reflects the lower of cost or market based on factors such as inventory items sold at negative gross margins and purchase commitments. Property and Equipment and Field Equipment Property and equipment and field equipment are recorded at cost less accumulated depreciation. Depreciation is provided over the estimated useful lives of the related assets using the straight-line method for financial statement purposes. The estimated useful lives of our assets are periodically reviewed for reasonableness. Changes in useful lives are accounted for prospectively. Repairs and maintenance are expensed as incurred. When property and equipment are retired, sold or otherwise disposed of, the asset's carrying amount and related accumulated depreciation are removed from the accounts and any gain or loss is included in operations. When field equipment is sold, the asset's carrying amount and related accumulated depreciation is removed from the accounts and any gain or loss is deferred and recognized in operations on a straight-line basis over the same period as the related revenues. We capitalize certain costs, including internal payroll and external direct project costs, incurred in connection with developing or obtaining software designated for internal use. These costs are included in property and equipment and are amortized over the estimated useful lives of the related software. Construction-in-process is stated at cost, which includes the cost of construction and other direct costs attributable to the construction. No provision for depreciation is made on construction-in-process until such time as the relevant assets are completed and put into use. Construction-in-process at December 31, 2017 and 2016 primarily represents the costs of building, machinery and equipment under installation. Field equipment consists of equipment being utilized under disposable-based rental agreements as well as “service pool” equipment. Service pool equipment is equipment owned and maintained by us that are swapped for equipment that need repairs or maintenance by us while being rented or owned by a customer. We record a provision for any excess, lost or damaged equipment when warranted based on an assessment of the equipment in the service pool. Write-downs for equipment are included in distribution expenses. The estimated useful lives of property and equipment and field equipment are as follows: Estimated Useful Life Buildings 30 years Equipment and tooling 5 to 12 years Leasehold improvements Lesser of the lease term (including any renewal periods if appropriate) or estimated useful life of the asset Computer and office equipment 3 to 5 years Molds 5 to 7 years Furniture 5 to 7 years Field equipment 5 to 7 years Intangibles and Other Long-Lived Assets Intangible assets are carried at cost less accumulated amortization. For assets with determinable useful lives, amortization is recognized using the straight-line method over the estimated economic lives of the respective intangible assets. Long-lived assets, including intangible assets, are evaluated for recoverability whenever events or circumstances indicate that their carrying value may not be recoverable. Recoverability of long-lived assets is assessed at the lowest level for which discrete cash flows are available and is measured by comparing the asset group’s carrying value to its expected non-discounted future cash flows. If the sum of the expected non-discounted future cash flows is less than the carrying amount of the long-lived assets, an impairment loss is recognized for excess of the carrying amount of the asset group over its fair value. In 2017 , 2016 and 2015 , events and circumstances have indicated that certain long-lived tangible assets in the Services segment may not be recoverable. Therefore, a recoverability test was performed at the center level by comparing the carrying value of each center to its estimated future undiscounted cash flows, within the initial lease term (which is the equivalent to the depreciable life of the centers' most significant asset, its leasehold improvements). As of December 31, 2017 , our expected non-discounted future cash flows for the majority of our centers indicated such carrying amounts were expected to be recovered. We recorded an impairment charge of $ 0.3 million , $ 0.5 million and $ 0.2 million in 2017 , 2016 and 2015 , respectively, in cost of revenues to write-down certain center level assets within our Services segment. Our expected non-discounted future cash flows used in our impairment testing are based upon cash flow projections and, if appropriate, include assumed proceeds upon sale of the asset group at the end of the cash flow period. We believe our procedures for developing cash flow projections, including the estimated sales proceeds, are reasonable and consistent with current market conditions for each of the dates when impairment testing has been performed. Developing cash flow projections requires significant estimates and judgment. Among other things, slower than expected patient ramp or lower than expected reimbursement rates would negatively impact our cash flow projections in the near term. Fair value of the asset group was estimated using a discounted cash flow approach. Estimating fair value requires significant judgment in the selection of the valuation technique and assumptions used in developing cash flow projections, growth rates and discount rates. Our assumptions are based on our best estimates, using appropriate and customary market participant assumptions. Any adverse changes in certain valuation assumptions could result in the need to record additional impairment to write down all or a portion the centers’ remaining asset carrying value. Additionally, as discussed below in Note 2, effective January 1, 2018, we will adopt the new revenue recognition guidance under ASC 606 . In connection with the adoption of ASC 606, we anticipate recording an increase to center net assets within our Services segment. If the increase in center net assets is greater than the excess fair value over the carrying value of net assets an impairment charge would be recognized. We had $13.9 million of long-lived assets at our Services segment at December 31, 2017 . It is reasonably possible that our cash flow projections may change or the carrying value of our net assets many change in the near term resulting in the need to record an impairment charge for at least some portion of these assets. Assets to be disposed of are reported at the lower of the carrying amount or fair value less selling costs. Goodwill Goodwill represents the excess of the cost of an acquired business over the acquisition value of the related net assets at the date of acquisition. We test goodwill at least annually for impairment during the fourth quarter, or more frequently when events or changes in circumstances indicate that the goodwill might be impaired. This test includes first a qualitative assessment and then, if necessary, a quantitative assessment to determine if the fair value of a reporting unit is less than its carrying amount. Our System One, In-center and Services reporting units contain goodwill of $41.1 million, $0.5 million and $1.1 million, respectively. Factors considered in the qualitative assessment include, but are not limited to, both macroeconomic conditions and entity-specific conditions. For the quantitative assessment, the reporting unit's fair value is estimated using a discounted cash flow or other fair value measurement. During 2017 , 2016 and 2015 we utilized the qualitative assessment to assess the fair value of our System One and In-center reporting units and concluded that it was more likely than not that the fair value of our reporting units was greater than their carrying value. During 2017 , for our Services reporting unit, we utilized the quantitative assessment noting that the fair value of the reporting unit exceeds its carrying value, indicating that goodwill was not impaired. We estimated the fair value of our Services reporting unit using a discounted cash flow approach. Estimating the fair value of our Services reporting unit requires significant judgment in the selection of the valuation technique and assumptions used in cash flow projections, growth rates and discount rates. Our assumptions are based on our best estimates, using appropriate and customary market participant assumptions. Additionally, as discussed in Note 2 below, effective January 1, 2018, we adopted the new revenue recognition guidance under ASC 606 that we anticipate will result in an increase to our Services center reporting units net asset value. If the increase in net assets is greater than the excess fair value over the carrying value of net assets, an impairment charge would be recognized. Developing cash flow projections involves significant judgment with respect to patient ramp and reimbursement rates, operating income, capital expenditures and changes in working capital. Reductions in our cash flow projections due to slower than expected patient ramp or lower than expected reimbursement rates, among other things, or adverse changes in certain valuation assumptions or changes in the reporting units net assets resulting from the adoption of ASC 606 could result in a goodwill impairment charge of up to $ 1.1 million in the future. Stock-Based Compensation Stock-based compensation expense is estimated as of the grant date based on the fair value of the award. We use the Black-Scholes option pricing model to estimate the fair value of stock options and quoted market prices of our common stock to estimate fair value of restricted stock. The expected term is estimated based on the contractual term of each grant and takes into account the historical experience and relevant factors concerning expected exercise and termination behavior of participants. The risk free interest rate for each grant is equal to the U.S. Treasury rate in effect at the time of grant for instruments with an expected life similar to the expected term. The stock volatility assumption is based solely on our historical volatility over the expected term of the award. The dividend yield of zero is based upon the fact that we have not historically granted cash dividends, and do not expect to issue dividends in the foreseeable future. We recognize stock-based compensation expense over the requisite service period, which equals the vesting period, net of forfeitures. Forfeiture rates are estimated based on historical pre-vesting forfeiture history and are updated on a quarterly basis to reflect actual forfeitures of unvested awards and other known events. For awards that vest based on employment, we recognize the associated compensation expense on a straight-line basis. For performance based awards, we recognize expense using the graded vesting methodology based on the number of shares expected to vest. Compensation expense associated with these performance based awards is adjusted quarterly to reflect subsequent changes in the estimated outcome of performance-related conditions until the date the results are determined. Warranty Costs We accrue estimated costs that we may incur under our product warranty programs at the time the product revenue is recognized, based on contractual rights and historical experience. Warranty expense is included in cost of revenues in the consolidated statements of comprehensive loss. The following is a rollforward of our warranty accrual (in thousands): Year Ended Balance at Beginning of Year Provision Usage Balance at End of Year December 31, 2017 $ 280 $ 445 $ (432 ) $ 293 December 31, 2016 $ 389 $ 457 $ (566 ) $ 280 December 31, 2015 $ 287 $ 526 $ (424 ) $ 389 Distribution Expenses Distribution expenses are charged to operations as incurred and consist of costs incurred in shipping product to and from customers and the cost of any equipment lost or damaged in the distribution process. Shipping and handling costs billed to customers are included in revenues. Research and Development Costs Research and development costs are charged to operations as incurred. Income Taxes We record the tax effect of transactions when such transactions are recorded in our consolidated statement of comprehensive loss. We record a deferred tax asset or liability based on the difference between the financial statement and tax basis of assets and liabilities, as measured by the enacted tax rates. Our provision for income taxes represents the amount of taxes currently payable, if any, plus the change in the amount of net deferred tax assets or liabilities. A valuation allowance is provided against net deferred tax assets if recoverability is uncertain on a more likely than not basis. We periodically assess our exposures related to our provisions for income taxes and accrue for contingencies that may result in potential tax obligations. For those positions where it is more likely than not that a tax benefit will be sustained, we record the largest amount of tax benefit with a greater than 50 percent likelihood of being realized upon ultimate settlement with a taxing authority that has full knowledge of all relevant information. For those income tax positions where it is not more likely than not that a tax benefit will be sustained, no tax benefit is recognized in the financial statements. We recognize interest and penalties for uncertain tax positions in income tax expense. We conduct business globally and file income tax returns in the U.S. federal jurisdiction, various states and foreign jurisdictions. We estimate our income taxes in each of the jurisdictions in which we operate. We have accumulated significant losses since our inception in 1998. The utilization of these losses may be limited in future years based on the profitability of certain entities. Subsequent Events Events occurring subsequent to December 31, 2017 have been evaluated for potential recognition or disclosure in the consolidated financial statements. Recent Accounting Pronouncements Recently Implemented Accounting Pronouncements In July 2015, the Financial Accounting Standards Board (FASB) issued ASU No. 2015-11, Inventory (Topic 330): "Simplifying the Measurement of Inventory." The update requires that an entity should measure in scope inventory at the lower of cost and net realizable value. Net realizable value is the estimated selling prices in the ordinary course of business, less reasonably predictable costs of completion, disposal, and transportation. The amendments were effective for us beginning January 1, 2017. The adoption of this update did not have a material impact on our financial statements. In March 2016, the FASB issued ASU No. 2016-09: “Improvements to Employee Share-Based Payment Accounting,” which simplifies several aspects of the accounting for employee share-based payment transactions for both public and nonpublic entities, including the accounting for income taxes, forfeitures, and statutory tax withholding requirements, as well as classification in the statement of cash flows. The new guidance was effective for us beginning January 1, 2017. We have elected to continue to estimate forfeiture rates. This new standard impacts our income tax footnote disclosures. We have tax effected federal net operating losses of $18.0 million and state net operating losses of $1.6 million that are attributable to excess tax deductions related to stock-based compensation from prior years. Upon adoption, the cumulative excess tax deductions related to stock-based compensation that were previously unrecognized are being recognized as a deferred tax asset and are fully offset by a valuation allowance. Other than this change in our income tax footnote disclosures, the adoption does not have a material impact on our financial statements. In January 2017, the FASB issued ASU No. 2017-04: "Intangibles - Goodwill and Other Topics (Topic 350): Simplifying the Test for Goodwill Impairment". The purpose of this update is to reduce the cost and complexity of evaluating goodwill for impairment. It eliminates the need for entities to calculate the impaired fair value of goodwill by assigning the fair value of a reporting unit to all of its assets and liabilities as if that reporting unit had been acquired in a business combination. Under this update, an entity will perform its goodwill impairment test by comparing the fair value of a reporting unit with its carrying amount. An impairment charge is recognized for the amount by which the carrying value exceeds the reporting unit's fair value. We elected to early adopt this update on a prospective basis for interim or annual goodwill impairment tests performed on testing dates after January 1, 2017. The adoption of this update did not have a material impact on our financial statements. In May 2017, the FASB issued ASU No. 2017-09: "Compensation - Stock Compensation (Topic 718): Scope of Modification Accounting". The purpose of this update is to reduce the diversity in practice and result in fewer changes to the terms of an award being accounted for as modifications. It will allow companies to make non-substantive changes to their share-based payment awards, without accounting for them as modifications. It does not change the accounting for modifications. Under this update, an entity will apply the modification accounting guidance only if the value (or calculated value or intrinsic value, if those measurement methods are used), vesting conditions or classification of the award as an equity or liability instrument changes. This update also clarifies that a modification to an award could be significant and therefore require disclosure, even if modification accounting is not required. The new guidance will be applied prospectively to awards modified on or after the adoption date. We elected to early adopt this update in the second quarter of 2017. The adoption of this update did not have a material impact on our financial statements. Recent Accounting Pronouncements Not Yet Adopted In May 201 4, the FASB issued ASU No. 2014-9: “Revenue from Contracts with Customers” (ASC 606). The standard provides that revenue should be recognized when an entity transfers promised goods or services to customers in an amount that reflects the consideration to which the company expects to be entitled in exchange for those goods or services. In addition, the standard requires disclosure of the nature, amount, timing and uncertainty of revenues and cash flow arising from contracts with customers. The FASB has issued several amendments and updates to the new revenue standard, including how an entity should identify performance obligations. As amended, the new guidance is effective for us beginning January 1, 2018. We have elected to adopt ASC 606 using the modified retrospective method approach as of January 1, 2018. This approach was applied to all contracts not completed as of January 1, 2018. The adoption of ASC 606 is expected to have a material effect on our consolidated financial statements primarily relating to the timing of revenue recognition for our Services segment along with enhanced footnote disclosures related to customer contracts. We are working to complete our evaluation of the impact of the standard on significant contracts from each of our business segments. We are evaluating the impact the standard will have on our disclosures along with any related indirect effects of adoption and are implementing changes to our current policies and practices, accounting systems and internal controls over financial reporting to address the requirements of the standard. The qualitative assessment of the standard provided below are estimates of the expected effects of the adoption of ASC 606. This represents our best estimate of the effects of adopting ASC 606 at the time of the preparation of this Annual Report on Form 10-K. The actual impact of ASC 606 is subject to change from these estimates and such change may be significant, pending the completion of our assessment in the first quarter of 2018. System One Segment Revenue . We expect that the deliverables under the current guidance will be consistent with performance obligations identified under ASC 606. Unde |