Basis of Presentation and Significant Accounting Policies | 1. Basis of Presentation and Significant Accounting Policies Principles of Consolidation The consolidated financial statements include the accounts of Allscripts Healthcare Solutions, Inc. and its wholly-owned subsidiaries and majority-owned affiliate. All significant intercompany balances and transactions have been eliminated. Investments in less than majority-owned entities where we have significant influence are accounted for under the equity method. The earnings from certain investments accounted for using the equity method are included in our results of operation based on a reporting lag of up to three months from our year end. Each of the terms “we,” “us,” “our” or the “Company” as used herein refers collectively to Allscripts Healthcare Solutions, Inc., its wholly-owned subsidiaries and , unless otherwise stated. Change in Presentation In 2015, we adopted a revised presentation of revenue and the associated cost of revenue in our consolidated statements of operations, which we believe is better aligned with and representative of the amount and profitability of our overall software and services revenue streams, as well as with the way we manage our business, review our operating performance and market our products. In recent years, we have experienced a continued shift in customer preferences from up-front software license agreements, and associated support and maintenance, to subscription-based agreements. Under our previous presentation, the revenue and cost of revenue of each of these types of agreements were reported under separate revenue categories. By combining these separate revenue categories, we believe that our revised presentation better reflects the overall trend in our software delivery, support and maintenance revenue. Under the revised presentation, revenue is reported based on two categories: (i) software delivery, support and maintenance, and (ii) client services. Previously, revenue was presented based on four categories: system sales, professional services, maintenance, and transaction processing and other. Software delivery, support and maintenance revenue consists of our previous system sales, maintenance and transaction processing and other revenue categories, excluding outsourcing and remote hosting managed services revenue previously included in transaction processing and other revenue. Client services revenue consists of our previous professional services category and outsourcing and remote hosting managed services revenue previously included in transaction processing and other revenue. The comparable 2014 and 2013 periods were revised for the new presentation. Total revenue and cost of revenue previously reported for the years ended December 31, 2014 and 2013 were not affected by this change in presentation. Use of Estimates The preparation of consolidated financial statements in accordance with generally accepted accounting principles in the United States (“GAAP”) requires us to make estimates and assumptions that affect the amounts reported and disclosed in the consolidated financial statements and the accompanying notes. Actual results could differ materially from these estimates. Revenue Recognition Revenue represents the fair value of consideration received or receivable from clients for goods and services provided by us. Software delivery revenue consists of all of our proprietary software sales (either as a perpetual license sale or under a subscription delivery model), transaction-related revenue and the resale of hardware. Support and maintenance revenue consists of revenue from post contract client support and maintenance services. Client services revenue consists of revenue from managed services solutions, such as remote hosting, outsourcing and revenue cycle management, as well as other client services or project-based revenue from implementation, training and consulting services. For some clients, we remotely host the software applications licensed from us using our own or third-party servers, which saves these clients the cost of procuring and maintaining hardware and related facilities. For other clients, we offer an outsourced solution in which we assume partial to total responsibility for a healthcare organization’s IT operations using our employees. Revenue from software licensing arrangements where the service element is not considered essential to the functionality of the other elements of the arrangement is recognized upon delivery of the software or as services are performed, provided persuasive evidence of an arrangement exists, fees are considered fixed or determinable, and collection of the receivable is probable. The revenue recognized for each separate element of a multiple-element software contract is based upon vendor-specific objective evidence of fair value (“VSOE”), which is based upon the price the client is required to pay when the element is sold separately or renewed. For arrangements in which VSOE only exists for the undelivered elements, the delivered elements (generally software licenses) are accounted for using the residual method. Revenue from software licensing arrangements, where the service element is considered essential to the functionality of the other elements of the arrangement, is accounted for on an input basis under the percentage of completion accounting method using actual hours worked as a percentage of total expected hours required by the arrangement, provided that persuasive evidence of an arrangement exists, fees are considered fixed or determinable, and collection of the receivable is probable. Maintenance and support associated with these agreements is recognized over the term of the support agreement based on VSOE of the maintenance revenue, which is based upon contractual renewal rates. For presentation in the statement of operations, consideration from agreements accounted for under the percentage of completion accounting method is allocated between software delivery and client services revenue based on VSOE of our hourly services rate multiplied by the amount of hours performed with the residual amount allocated to the software license fee. Fees related to software-as-a-service (“SaaS”) arrangements are recognized as revenue ratably over the contract terms beginning on the date our solutions are made available to clients. These arrangements include client services fees related to the implementation and set-up of our solutions and are typically billed upfront and recorded as deferred revenue until our solutions are made available to the client. The implementation and set-up fees are recognized as revenue ratably over the estimated client relationship period. The estimated length of a client relationship period is based on our experience with client contract renewals and consideration of the period over which such clients use our SaaS solutions. Software remote hosting services are provided to clients that have purchased a perpetual license to our software solutions and contracted with us to host the software. These arrangements provide the client with a contractual right to take possession of the software at any time during the remote hosting period without significant penalty and it is feasible for the client to either use the software on its own equipment or to contract with an unrelated third party to host the software. Remote hosting services are not deemed to be essential to the functionality of the software or other elements of the arrangement; accordingly, for these arrangements, we recognize software license fees as software delivery revenue upon delivery, assuming all other revenue recognition criteria have been met, and separately recognize fees for the remote hosting services as client services revenue over the term of the remote hosting arrangement. We also enter into multiple-element arrangements that may include a combination of various software-related and non-software-related products and services. Management applies judgment to ensure appropriate accounting for multiple deliverables, including the allocation of arrangement consideration among multiple units of accounting, the determination of whether undelivered elements are essential to the functionality of delivered elements, and the timing of revenue recognition, among others. In such arrangements, we first allocate the total arrangement consideration based on a selling price hierarchy at the inception of the arrangement. The selling price for each element is based upon the following selling price hierarchy: VSOE, if available, third-party evidence of fair value if VSOE is not available, or estimated selling price if neither VSOE nor third-party evidence of fair value is available (discussion as to how we determine VSOE, third-party evidence of fair value and estimated selling price is provided below). Upon allocation of the arrangement consideration to the software elements as a whole and individual non-software elements, we then further allocate consideration within the software group to the respective elements following higher-level, industry-specific guidance and our policies described above. After the arrangement consideration has been allocated to the various elements, we account for each respective element in the arrangement as described above. To determine the selling price in multiple-element arrangements, we establish VSOE using the price charged for a deliverable when sold separately and contractual renewal rates for maintenance fees. For non-software multiple element arrangements, third-party evidence of fair value is established by evaluating similar and interchangeable competitor products or services in standalone arrangements with similarly situated clients. If we are unable to determine the selling price because VSOE or third-party evidence of fair value does not exist, we determine an estimated selling price by considering several external and internal factors including, but not limited to, pricing practices, margin objectives, competition, client demand, internal costs and overall economic trends. The determination of an estimated selling price is made through consultation with and approval by our management, taking into consideration our go-to-market strategy. As our, or our competitors’, pricing and go-to-market strategies evolve, we may modify our pricing practices in the future. These events could result in changes to our determination of VSOE, third-party evidence of fair value and estimated selling price. Selling prices are analyzed on an annual basis or more frequently if we experience significant changes in our selling prices. For those arrangements where the deliverables do not qualify as separate units of accounting, revenue recognition is evaluated for the combined deliverables as a single unit of accounting and the recognition pattern of the final deliverable will dictate the revenue recognition pattern for the single, combined unit of accounting. Changes in circumstances and client data may result in a requirement to either separate or combine deliverables, such that a delivered item could now meet the separation criteria and qualify as a separate unit of accounting, which may lead to an upward or downward adjustment to the amount of revenue recognized under the arrangement on a prospective basis. We assess whether fees are considered fixed or determinable at the time of sale and recognize revenues if all other revenue recognition requirements are met. Our payment arrangements with clients typically include milestone-based software license fee payments and payments based upon delivery for services and hardware. While most of our arrangements include short-term payment terms, we periodically provide extended payment terms to clients from the date of contract signing. We do not recognize revenue under extended payment term arrangements until such payments become due. In certain circumstances, where all other revenue recognition criteria have been met, we occasionally offer discounts to clients with extended payment terms to accelerate the timing of when payments are made. Changes to extended payment term arrangements have not had a material impact on our consolidated results of operations. Maintenance fees are recognized ratably over the period of the contract based on VSOE, which is based upon contractual renewal rates. Revenue from electronic data interchange services is recognized as services are provided and is determined based on the volume of transactions processed or estimated selling price. We provide outsourcing services to our clients under arrangements that typically range from three to ten years in duration. Under these arrangements we assume full, partial or transitional responsibilities for a healthcare organization’s IT operations using our employees. Our outsourcing services include facilities management, network outsourcing and transition management. Revenue from these arrangements is recognized subsequent to the transition period as services are performed. Revenue is recognized net of any taxes collected from clients and subsequently remitted to governmental authorities. We record as revenue any amounts billed to clients for shipping and handling costs and record as cost of revenue the actual shipping costs incurred. We record reimbursements for out-of-pocket expenses incurred as client services revenue in our consolidated statements of operations. These amounts totaled: Year Ended December 31, (In thousands) 2015 2014 2013 Reimbursements for out-of-pocket expenses incurred $ 12,873 $ 16,251 $ 18,445 The following table summarizes revenue earned on contracts in excess of billings, both the current and non-current portions, which are included in the balances of accounts receivable and other assets, respectively, in our consolidated balance sheets. Billings are expected to occur according to the contract terms. December 31, (In thousands) 2015 2014 Revenue earned on contracts in excess of billings Unbilled revenue (current) $ 68,444 $ 42,818 Unbilled revenue (long-term) 0 618 Total revenue earned on contracts in excess of billings $ 68,444 $ 43,436 Fair Value Measurements Fair value measurements are based upon observable and unobservable inputs. Observable inputs reflect market data obtained from independent sources, while unobservable inputs reflect our view of market participant assumptions in the absence of observable market information. We utilize valuation techniques that maximize the use of observable inputs and minimize the use of unobservable inputs. The fair values of assets and liabilities required to be measured at fair value are categorized based upon the level of judgment associated with the inputs used to measure their value in one of the following three categories: Level 1: Inputs are unadjusted quoted prices in active markets for identical assets or liabilities at the measurement date. Our Level 1 investments in the past included money market funds valued daily by the fund companies, and the valuation is based on the publicly reported net asset value of each fund. There were no outstanding money market funds investments as of December 31, 2015 and 2014. Level 2: Inputs, other than quoted prices included in Level 1, are observable for the asset or liability, either directly or indirectly. Level 2 inputs include quoted prices for similar instruments in active markets, and inputs other than quoted prices that are observable for the asset or liability. Our Level 2 non-derivative investments include marketable securities, which consist of mortgage and asset-backed bonds. We sold all of our marketable securities during the three months ended March 31, 2015. Prior to the sale, marketable securities were recorded at fair value determined using a market approach, based on prices and other relevant information generated by market transactions involving identical or comparable assets which are considered to be Level 2 inputs. Our Level 2 derivative financial instruments include foreign currency forward contracts valued based upon observable values of spot and forward foreign currency exchange rates. Refer to Note 11, “Derivative Financial Instruments,” for further information regarding these derivative financial instruments. Level 3: Inputs are unobservable for the asset or liability, and include situations where there is little, if any, market activity for the asset or liability. Our Level 3 financial instruments include derivative financial instruments comprised of the 1.25% Call Option (as defined in Note 11, “Derivative Financial Instruments”) asset and the 1.25% Notes embedded cash conversion option liability. Refer to Note 11, “Derivative Financial Instruments,” for further information regarding these derivative financial instruments. These derivatives are not actively traded and are valued based on an option pricing model that uses as inputs both observable and unobservable market data. Significant market data inputs used to determine the fair values as of December 31, 2015 and 2014 included our common stock price, time to maturity of the derivative instruments, the risk-free interest rate, and the implied volatility of our common stock. The 1.25% Call Option asset and the 1.25% Notes embedded cash conversion option liability were designed with the intent that changes in their fair values would substantially offset, with limited net impact to our earnings. Therefore, we believe the sensitivity associated with changes in the unobservable inputs to the option pricing model for these instruments is substantially mitigated. The following table summarizes our financial assets and liabilities measured at fair value on a recurring basis as of the respective balance sheet dates: Balance Sheet December 31, 2015 December 31, 2014 (In thousands) Classifications Level 1 Level 2 Level 3 Total Level 1 Level 2 Level 3 Total Marketable securities Long-term marketable securities $ 0 $ 0 $ 0 $ 0 $ 0 $ 1,305 $ 0 $ 1,305 1.25% Call Option Other assets 0 0 80,208 80,208 0 0 57,091 57,091 1.25% Embedded cash conversion option Other liabilities 0 0 (81,210 ) (81,210 ) 0 0 (57,839 ) (57,839 ) Foreign exchange derivative assets Prepaid expenses and other current assets 0 424 0 424 0 0 0 0 Total $ 0 $ 424 $ (1,002 ) $ (578 ) $ 0 $ 1,305 $ (748 ) $ 557 During 2014, we acquired certain non-marketable equity securities of four third parties and entered into new, or amended existing, commercial agreements with each of those third parties to license and distribute their products and services, for a total consideration of approximately $21.1 million. The equity investments and the commercial agreements were valued at approximately $19.2 million and $1.9 million, respectively. Three of the equity investments acquired during 2014 are accounted for under the cost method, and one of the equity investments is accounted for under the equity method. During 2015, we invested an additional $0.3 million in one of the third parties and exercised warrants to acquire a new investment of approximately $1.0 million in another third party. Both of these additional investments are accounted for under the equity method. The carrying values of the cost method investments were approximately $17.8 million as of both December 31, 2015 and 2014. The carrying values of the equity method investments were approximately $2.5 million and $1.0 million, respectively, as of December 31, 2015 and 2014. These carrying values are included in other assets and the carrying value of the above-referenced commercial agreements is included in intangible assets, net, in the accompanying consolidated balance sheets as of December 31, 2015 and 2014. During 2015, we also invested $200 million for a 10% ownership stake in Nant Health LLC. This investment is accounted for under the equity method. Refer to Note 2, “Business Combinations and Other Investments” for additional information about the investment in Nant Health LLC. t is not practicable to estimate the fair value of our cost and equity investments primarily because of their illiquidity and restricted marketability. The factors we considered in trying to determine fair value include, but are not limited to, available financial information, the issuer’s ability to meet its current obligations and the issuer’s subsequent or planned raises of capital. Our long-term financial liabilities include amounts outstanding under our Senior Secured Credit Facility (as defined in Note 6, “Debt”), with carrying values that approximate fair value since the interest rates approximate current market rates. In addition, as of December 31, 2015, the fair value of the 1.25% Cash Convertible Senior Notes (the “1.25% Notes”) exceeded the 1.25% Notes’ principal balance (or par) by approximately 8%. We utilized the 1.25% Notes’ market trading prices near December 31, 2015 in making this fair value calculation. See Note 6, “Debt,” for further information regarding our long-term financial liabilities. Financial Instruments We consider all highly liquid investments with an original maturity of three months or less, when purchased, to be cash equivalents. The fair values of these investments approximate their carrying values. Other investments classified as long-term marketable securities include certain debt instruments. Debt securities are classified as available-for-sale and realized gains and losses are recorded using the specific identification method. Realized and unrealized gains and losses for all periods presented are immaterial. Changes in market value, excluding other-than-temporary impairments, are reflected in other comprehensive income. There were no other-than-temporary impairments for the years ended December 31, 2015, 2014 and 2013. Derivative instruments are recognized as either assets or liabilities and are measured at fair value. The accounting for changes in the fair value of a derivative depends on the intended use of the derivative and the resulting designation. For derivative instruments designated as cash-flow hedges, the effective portion of the derivative’s gain (loss) is initially reported as a component of other comprehensive income and is subsequently recognized in earnings when the hedged exposure is recognized in earnings. Gains (losses) on derivatives representing either hedge components excluded from the assessment of effectiveness or hedge ineffectiveness are recognized in earnings. See Note 11, “Derivative Financial Instruments,” for information regarding gains and losses from derivative instruments during the years ended December 31, 2015, 2014 and 2013. Allowance for Doubtful Accounts Receivable Accounts receivable are recorded at the invoiced amounts and do not bear interest. An allowance for doubtful accounts is recorded to provide for estimated losses resulting from uncollectible accounts, and is based principally on specifically identified amounts where collection is deemed doubtful. Additional non-specific allowances are recorded based on historical experience and management’s assessment of a variety of factors related to the general financial condition of our clients, the industry in which we operate and general economic conditions. We review the collectability of individual accounts and assess the adequacy of the allowance for doubtful accounts. Account balances are charged off against the allowance after all means of collection have been exhausted and the potential for recovery is considered remote. If the financial condition of our clients were to deteriorate, resulting in an impairment of their ability to make payments, additional allowances and related bad debt expense may be required. Contingent Liabilities A liability is contingent if the amount is not presently known, but may become known in the future as a result of the occurrence of some uncertain future event. We accrue a liability for an estimated loss if we determine that the potential loss is probable of occurring and the amount can be reasonably estimated. Significant judgment is required in both the determination of probability and the determination as to whether the amount of an exposure is reasonably estimable, and accruals are based only on the information available to our management at the time the judgment is made. The assessment of contingent liabilities, including legal and income tax contingencies, involves the use of estimates, assumptions and judgments. Our estimates are based on our belief that future events will validate the current assumptions regarding the ultimate outcome of these exposures. However, there can be no assurance that future events, such as court decisions or Internal Revenue Service (“IRS”) positions, will not differ from our assessments. Fixed Assets Fixed assets are stated at cost. Depreciation and amortization are computed on the straight-line method over the estimated useful lives of the related assets. The depreciable life of leasehold improvements is the shorter of the lease term or the useful life. Upon asset retirement or other disposition, the fixed asset cost and the related accumulated depreciation or amortization are removed from the accounts, and any gain or loss is included in the consolidated statements of operations. Amounts incurred for repairs and maintenance are expensed as incurred. Business Combinations Goodwill as of the acquisition date is measured as the excess of consideration transferred over the net of the acquisition date fair values of the assets acquired and the liabilities assumed. While we use our best estimates and assumptions as a part of the purchase price allocation process to accurately value the assets acquired, including intangible assets, and the liabilities assumed at the acquisition date, our estimates are inherently uncertain and subject to refinement. As a result, during the measurement period, which may be up to one year from the acquisition date, we may record adjustments to the fair values of the assets acquired and the liabilities assumed, with a corresponding offset to goodwill. Upon the conclusion of the measurement period or final determination of the values of assets acquired or the liabilities assumed, whichever comes first, any subsequent adjustments are reflected in our consolidated statements of operations. Goodwill and Intangible Assets Goodwill and intangible assets acquired in a business combination and determined to have an indefinite useful life are not amortized but are tested for impairment annually or between annual tests when an impairment indicator exists. If an optional qualitative goodwill impairment assessment is not performed, we are required to determine the fair value of each reporting unit. If a reporting unit’s fair value is lower than its carrying value, we must determine the amount of implied goodwill that would be established if the reporting unit was hypothetically acquired on the impairment test date. If the carrying amount of a reporting unit’s goodwill exceeds the amount of implied goodwill, an impairment loss equal to the excess would be recorded. The recoverability of indefinite-lived intangible assets is assessed by comparison of the carrying value of the asset to its estimated fair value. If we determine that the carrying value of the asset exceeds its estimated fair value, an impairment loss equal to the excess would be recorded. The determination of the fair value of our reporting units is based on a combination of a market approach that considers benchmark company market multiples and an income approach that uses discounted cash flows for each reporting unit utilizing Level 3 inputs. Under the income approach, we determine fair value based on the present value of the most recent income projections for each reporting unit as of the date of the analysis and calculate a terminal value utilizing a terminal growth rate. The significant assumptions under this approach include, among others: income projections, which are dependent on sales to new and existing clients, new product introductions, client behavior, competitor pricing, operating expenses, the discount rate, and the terminal growth rate. The cash flows used to determine fair value are dependent on a number of significant management assumptions based on our historical experience, our expectations of future performance, and the expected economic environment. Our estimates are subject to change given the inherent uncertainty in predicting future results. Additionally, the discount rate and the terminal growth rate are based on our judgment of the rates that would be utilized by a hypothetical market participant. As part of the goodwill impairment testing, we also consider our market capitalization in assessing the reasonableness of the fair values estimated for our reporting units. Accounting guidance also requires that definite-lived intangible assets be amortized over their respective estimated useful lives and reviewed for impairment whenever events or changes in circumstances indicate that their carrying amounts may not be recoverable. We estimate the useful lives of our intangible assets and ratably amortize the value over the estimated useful lives of those assets. If the estimates of the useful lives should change, we will amortize the remaining book value over the remaining useful lives or, if an asset is deemed to be impaired, a write-down of the value of the asset may be required at such time. Long-Lived Assets and Long-Lived Assets to Be Disposed Of We review our long-lived assets for impairment whenever events or changes in circumstances indicate that the carrying amount of an asset may not be recoverable. Recoverability of assets to be held and used is measured by a comparison of the carrying amount of an asset to future net cash flows expected to be generated by the asset. If assets are considered to be impaired, the impairment to be recognized is measured by the amount by which the carrying amount of the assets exceeds the fair value of the assets. Software Development Costs We capitalize purchased software that is ready for service and software development costs incurred from the time technological feasibility of the software is established, or when the preliminary project phase is completed in the case of internal use software, until the software is available for general release. Research and development costs and other computer software maintenance costs related to software development are expensed as incurred. We estimate the useful life of our capitalized software and amortize its value over that estimated life. If the actual useful life is shorter than our estimated useful life, we will amortize the remaining book value over the remaining useful life or the asset may be deemed to be impaired and, accordingly, a write-down of the value of the asset may be recorded as a charge to earnings. Upon the availability for general release, we commence amortization of the capitalized software costs on a product by product basis. Amortization of capitalized software is recorded using the greater of (i) the ratio of current revenues to total and anticipated future revenues for the applicable product or (ii) the straight-line method over the remaining estimated economic life, which is estimated to be three to five years. At each balance sheet date, the unamortized capitalized costs of a software product are compared with the net realizable value of that product. The net realizable value is the estimated future gross revenues from that product reduced by the estimated future costs of completing and disposing of that product, including the costs of performing maintenance and client support required to satisfy our responsibility set forth at the time of sale. The amount by which the unamortized capitalized costs of a software product exceed the net realizable value of that asset is written off. If we determine in the future that the value of the capitalized software could not be recovered, a write-down of the value of the capitalized software to its recoverable value may be recorded as a charge to earnings. The unamortized balances of capitalized software were as follows: December 31, (In thousands) 2015 2014 Software development costs $ 200,531 $ 213,601 Less: accumulated amortization (114,756 ) (127,448 ) Software development costs, net $ 85,775 $ 86,153 Capitalized software development costs, write-offs included in asset impairment changes and amortization of capitalized software development costs included in cost of revenue were as follows: Year Ended December 31, (In thousands) 2015 2014 2013 Capitalized software development costs $ 46,464 $ 45,461 $ 42,026 Write-offs of capitalized software development costs $ - $ 1,444 $ 5,234 Amortization of capitalized software developm |