Revenue from Contracts with Customers | 2. Revenue from Contracts with Customers Our two primary revenue streams are (i) software delivery, support and maintenance and (ii) client services. Software delivery, support and maintenance revenue consists of all of our proprietary software sales (either under a perpetual or term license delivery model), subscription-based software sales, transaction-related revenue, the resale of hardware and third-party software and revenue from post-contract client support and maintenance services, which include telephone support services, maintaining and upgrading software and ongoing enhanced maintenance. Client services revenue consists of revenue from managed services solutions, such as private cloud hosting, outsourcing and revenue cycle management, as well as other client services and project-based revenue from implementation, training and consulting services. For other clients, we offer an outsourced service in which we assume partial to total responsibility for a healthcare organization’s IT operations using our employees. Adoption of New Revenue Standard (“ASC 606”) In May 2014, the FASB issued ASC 606 to supersede nearly all existing revenue recognition guidance under GAAP. The core principle of ASC 606 is to recognize revenue when promised goods or services are transferred to customers in an amount that reflects the consideration that is expected to be received for those goods or services. ASC 606 defines a five-step process to achieve this principle and, in doing so, it is possible more judgment and estimates may be required within the revenue recognition process than required under the previous FASB Accounting Standards Codification 605, Revenue Recognition (“ASC 605”), including identifying performance obligations in the contract, estimating the amount of variable consideration to include in the transaction price and allocating the transaction price to each separate performance obligation and accounting for significant financing components. Additionally, ASC 606 provides guidance related to costs of obtaining a contract with a customer that an entity expects to recover. The new revenue recognition guidance permits two methods of adoption: retrospectively to each prior reporting period presented (full retrospective method), or retrospectively with the cumulative effect of initially applying the guidance recognized at the date of initial application (modified retrospective method). We adopted the standard effective on January 1, 2018 using the modified retrospective method. We also implemented internal controls, and continue to refine our updated processes and key systems to allow us to continue to comply with the new requirements. The reported results for the year ended December 31, 2018 reflect the adoption of ASC 606. The comparative information for the years ended December 31, 2017 and 2016 has not been restated and will continue to be reported under the previous guidance of ASC 605, which was in effect during those periods. The table below reflects the cumulative adjustments that were made to balances previously reported in the consolidated balance sheet as of December 31, 2017. As Reported Adjustments Adjusted (In thousands) December 31, 2017 due to ASC 606 January 1, 2018 Accounts receivable, net $ 492,560 $ (19,290 ) $ 473,270 Contract assets 0 77,791 77,791 Prepaid expenses and other current assets 106,455 7,381 113,836 Deferred revenue, current 478,574 (12,810 ) 465,764 Deferred revenue, long-term 19,208 0 19,208 Deferred taxes, net 23,258 20,034 43,292 Accumulated deficit (338,150 ) 58,658 (279,492 ) The following tables compare the reported consolidated balance sheet and statement of operations for the year ended December 31, 2018 to the pro-forma amounts assuming the previous guidance of ASC 605 had been in effect: December 31, 2018 (In thousands) As reported under ASC 606 Adjustments due to ASC 606 Pro forma under ASC 605 Accounts receivable, net $ 465,264 $ 54,489 $ 519,753 Contract assets 66,451 (66,451 ) 0 Prepaid expenses and other current assets 142,455 (7,719 ) 134,736 Contract assets - long-term 71,879 (71,879 ) 0 Deferred revenue, current 466,797 14,691 481,488 Deferred taxes, net 58,470 (27,195 ) 31,275 Retained earnings 132,842 (79,056 ) 53,786 Twelve Months Ended December, 31, 2018 (In thousands, except per share amounts) As reported under ASC 606 Adjustments due to ASC 606 Pro forma under ASC 605 Software delivery, support and maintenance $ 1,128,263 $ (21,780 ) $ 1,106,483 Client services 621,699 (6,185 ) 615,514 Gross profit 724,543 (26,906 ) 697,637 Selling, general and administrative expenses 450,967 (176 ) 450,791 Loss from operations (93,052 ) (26,730 ) (119,782 ) Income (loss) from continuing operations before income taxes 13,138 (27,559 ) (14,421 ) Income tax (provision) benefit (469 ) 7,160 6,691 Income (loss) from continuing operations, net of tax 12,669 (20,399 ) (7,730 ) Net income attributable to Allscripts Healthcare Solutions, Inc. stockholders $ 363,740 $ (20,399 ) $ 343,341 Earnings per share - basic attributable to Allscripts Healthcare Solutions, Inc. stockholders $ 2.07 $ (0.12 ) $ 1.95 Earnings per share - diluted attributable to Allscripts Healthcare Solutions, Inc. stockholders $ 2.04 $ (0.11 ) $ 1.93 The recognition of revenue related to hardware sales, software-as-a-service-based offerings, client services, electronic data interchange services and managed services remained substantially unchanged under ASC 606. The adoption of ASC 606 resulted in an increase in contract assets driven by upfront recognition of revenue, rather than over the subscription period, from certain multi-year software subscription contracts that include both software licenses and software support and maintenance. Costs to Obtain or Fulfill a Contract Under ASC 605, we only capitalized direct sales commissions that were specifically associated with new or renewal contracts. The new revenue recognition guidance under ASC 606 requires the capitalization of all incremental costs of obtaining a contract with a customer that an entity expects to recover. As part of our implementation efforts, we identified certain indirect commissions and other payments that were eligible for capitalization under ASC 606 as they were incremental costs solely associated with new or renewal contracts that we expected to recover. Certain costs related to the fulfillment of contracts are also capitalized. As a result, we recorded a deferral for such costs of $5.5 million, net of tax, upon adoption of the new guidance on January 1, 2018, which was included in the cumulative effect of initially applying ASC 606. Capitalized costs to obtain or fulfill a contract are amortized over periods ranging from two to six years which represent the initial contract term or a longer period, if renewals are expected and the renewal commission, if any, is not commensurate with the initial commission. We classify such capitalized costs as current or non-current based on the expected timing of expense recognition. The current and non-current portions are included in Prepaid expenses and other current assets, and Other assets, respectively, in our consolidated balance sheets. At December 31, 2018, we had capitalized costs to obtain or fulfill a contract of $24.7 million in Prepaid and other current assets and $33.8 million in Other assets. During the year ended December 31, 2018, we recognized $29.7 million of amortization expense related to such capitalized costs, which is included in selling, general and administrative expenses. Contract Balances The timing of revenue recognition, billings and cash collections results in billed and unbilled accounts receivables, contract assets and customer advances and deposits. Accounts receivable, net includes both billed and unbilled amounts where the right to receive payment is unconditional and only subject to the passage of time. Contract assets include amounts where revenue recognized exceeds the amount billed to the customer and the right to payment is not solely subject to the passage of time. Deferred revenue includes advanced payments and billings in excess of revenue recognized. Our contract assets and deferred revenue are reported in a net position on an individual contract basis at the end of each reporting period. Contract assets are classified as current or long-term based on the timing of when we expect to complete the related performance obligations and bill the customer. Deferred revenue is classified as current or long-term based on the timing of when we expect to recognize revenue. In general, with the exception of fixed fee project-based client service offerings (such as implementation services), we sell our software solutions on date-based milestone events where control transfers and use of the software occurs on the delivery date but the associated payments for the software license occur on future milestone dates. In such instances, unbilled amounts are included in contract assets since our right to receive payment is conditional upon the continued functionality of the software and the provision of ongoing support and maintenance. Our fixed fee project-based client service offerings typically require us to provide the services with either a significant portion or all amounts due prior to service completion. Since our right to payment is not unconditional, amounts associated with work prior to the completion date are also deemed to be contract assets. Performance Obligations A performance obligation is a promise in a contract to transfer a distinct product or service to a customer and is the unit of account in ASC 606. A performance obligation is considered distinct when both (i) a customer can benefit from the product or service either on its own or together with other resources that are readily available to the customer and (ii) the promised product or service is separately identifiable from other promises in the contract. Activities related to the fulfillment of a contract that do not transfer products or services to a customer, such as contract preparation or legal review of contract terms, are not deemed to be performance obligations. Based on the similarities in the definitions of a “deliverable” under ASC 605 and “performance obligation” under ASC 606, our identification of performance obligations under ASC 606 did not result in a significant divergence from our existing identification approach. We generally sell our solutions through multi-element arrangements where we provide the customer with (1) software license, (2) support and maintenance, (3) embedded content such as third-party software and (4) client services. Incremental solutions, such as hardware and managed services are also provided based upon a customer’s preferences and requirements. We deem that a customer is typically able to benefit from a product or service on its own or together with readily available resources when we sell such product or service on a standalone basis. We have historically sold the majority of our performance obligations, with the exception of software licenses, on a standalone basis. Incremental solutions, such as hardware, client services and managed services, are often negotiated and fulfilled on an independent sales order basis as customer needs and requirements change over the course of a relationship period. In addition, support and maintenance and embedded content are provided on a stand-alone basis through the renewal process. One of the product offerings under our CareInMotion TM Additionally, our support and maintenance obligations include multiple discrete performance obligations, with the two largest being unspecified product upgrades or enhancements, and technical support, which can be offered at various points during a contract period. We believe that the multiple discrete performance obligations within our overall support and maintenance obligations can be viewed as a single performance obligation since both the unspecified product upgrades and technical support are activities to fulfill the maintenance performance obligation and are rendered concurrently. The breakdown of revenue recognized related based on the origination of performance obligations and elected accounting expedients is presented in the table below: (In thousands) Three Months Ended March 31, 2018 Three Months Ended June 30, 2018 Three Months Ended September 30, 2018 Three Months Ended December 31, 2018 Revenue related to deferred revenue balance at beginning of period $ 181,398 $ 196,163 $ 153,151 $ 141,127 Revenue related to new performance obligations satisfied during the period 200,232 180,001 225,641 237,963 Revenue recognized under "right-to-invoice" expedient 49,403 62,533 51,288 60,593 Reimbursed travel expenses, shipping and other revenue 2,689 2,767 2,350 2,663 Total revenue $ 433,722 $ 441,464 $ 432,430 $ 442,346 The aggregate amount of contract transaction price related to remaining unsatisfied performance obligations (commonly referred to as “backlog”) represents contracted revenue that has not yet been recognized and includes both deferred revenue and amounts that will be invoiced and recognized as revenue in future periods. Total backlog equaled $3.9 billion as of December 31, 2018, of which we expect to recognize approximately 39% over the next 12 months, and the remaining 61% thereafter. Transaction price and allocation Our contracts with customers often include multiple distinct performance obligations such as software licenses, software support and maintenance, hardware, client services, private cloud hosting and Software-as-a-Service. We adjust the transaction price on a contract-by-contract basis for (i) the effect of the time value of money when a contract has a significant financing component and/or (ii) customer discounts and incentives deemed to be variable consideration. We then allocate the contract transaction price to the distinct performance obligations in the contract. Such allocation is based on the stand-alone selling price (“SSP”) of each distinct performance obligation. The transaction price allocated to each distinct performance obligation is adjusted for discounts offered to customers that are outside of the Company’s established sufficiently narrow ranges for distinct performance obligations’ SSPs on a relative SSP basis. For each distinct performance obligation, we use observable stand-alone pricing to determine the SSP. Such observable SSPs are based upon our listed sales prices and consider discounts offered to customers. In instances where SSP is not directly observable because we do not sell the product or service separately, we determine the SSP through the residual approach or cost-plus margin models using information that includes market conditions and other observable inputs. Such instances primarily relate to sales of new products and service offerings and our acute suite of software licenses. Our acute suite of software licenses is sold to a diverse set of customers for a broad range of amounts and, therefore, SSP is not discernible from past transactions due to the high variability of selling prices. Our products and services are generally not sold with a right of return, except for certain hardware sales, which are not material to our consolidated revenue. We may provide credits or incentives on a contract-by-contract basis which are accounted for either as a material right or as variable consideration, respectively, when allocating the transaction price. Such credits and incentives have historically not been significant. We do not provide additional warranties to clients above and beyond warranties that the solutions purchased will perform in accordance with the agreed-upon specifications. On rare occasions, when additional warranties are granted, we evaluate on a case-by-case basis whether the additional warranty granted represents a separate performance obligation. Accounting Policy Elections and Practical Expedients We have elected to exclude from the measurement of the transaction price all taxes (e.g., sales, use, value-added) assessed by government authorities and collected from a customer. Therefore, revenue is recognized net of such taxes. Within the normal course of business, we contract with customers to deliver and ship tangible products, such as computer hardware. In these situations, the control of the products transfers to the customer when the product reaches the shipper based on free on board (FOB) shipping clauses. We have elected to use the practical expedient allowed under ASC 606 to account for shipping and handling activities that occur after the customer has obtained control of a promised good as fulfillment costs rather than as an additional promised service and, therefore, we do not allocate a portion of the transaction price to a shipping service obligation. Instead, we record as revenue any amounts billed to customers for shipping and handling costs and record as cost of revenue the actual shipping costs incurred. Additionally, our standard contract terms allow for the reimbursement by a customer for certain travel expenses necessary to provide on-site services to the customer, such as implementation and training. Such reimbursed travel expenses are reported on a gross basis. Since such reimbursed travel expenses do not represent a distinct good or service nor incremental value provided to a customer, a performance obligation is deemed not to exist. In certain situations, however, when the allowable reimbursable expenses amount is capped, we believe that such cap represents the most likely amount of variable consideration and the capped amount is included in the total contract transaction price. In accordance with ASC 606, if an entity has a right to consideration from a customer in an amount that corresponds directly with the value to the customer of the entity’s performance completed to date, the entity may recognize revenue in the amount to which the entity has a right to invoice (“right-to-invoice” practical expedient). We have elected to utilize this expedient as it relates to transaction-based services (such as revenue cycle management) and electronic data interchange transactions. Revenue Recognition We recognize revenue only when we satisfy an identified performance obligation (or bundle of obligations) by transferring control of a promised product or service to a customer. We consider a product or service to be transferred when a customer obtains control because a customer has sole possession of the right to use (or the right to direct the use of) the product or service for the remainder of its economic life or to consume the product or service in its own operations. We evaluate the transfer of control primarily from the customer’s perspective as this reduces the risk that revenue is recognized for activities that do not transfer control to the customer. The majority of our revenue is recognized over time because a customer continuously and simultaneously receives and consumes the benefits of our performance. The exceptions to this pattern are our sales of perpetual and term software licenses, and hardware, where we determined that a customer obtains control of the asset upon granting of access, delivery or shipment. The following table summarizes the pattern of revenue recognition for our most significant performance obligations: Performance Obligation Revenue Type Recurring or Non-recurring Nature Revenue Recognition Pattern Measure of progress Support and maintenance ("SMA") Software delivery, support and maintenance Recurring Over time Output method (time elapsed) – revenue is recognized ratably over the contract term Software as a service ("SaaS") Software delivery, support and maintenance Recurring Over time Output method (time elapsed) – revenue is recognized ratably over the contract term Private cloud hosting Client services Recurring Over time Output method (time elapsed) – revenue is recognized ratably over the contract term Client/Education services Client services Non-recurring Over time Input method (cost to cost) – revenue is recognized proportionally over the service implementation based on hours Outsourcing services Client services Recurring Over time Input method (cost to cost) – revenue is recognized proportionally over the outsourcing period Payerpath (transaction volume) Software delivery, support and maintenance Recurring Over time Output method ("right-to-invoice" practical expedient) – value transferred to the customer is reflected on invoicing. Software licenses Software delivery, support and maintenance Non-recurring Point in time Upon electronic delivery Hardware Software delivery, support and maintenance Non-recurring Point in time Upon shipment Recurring software delivery, support and maintenance revenue consists of recurring subscription-based software sales, support and maintenance revenue, and recurring transaction-related revenue. Non-recurring software delivery, support and maintenance revenue consists of perpetual software licenses sales, resale of hardware and non-recurring transaction-related revenue. Recurring client services revenue consists of revenue from managed services solutions, such as outsourcing, private cloud hosting and revenue cycle management. Non-recurring client services revenue consists of project-based client services revenue. When evaluating our SMA, SaaS and private cloud hosting performance obligations, we noted that these obligations are fulfilled as stand-ready obligations to perform and, therefore, we deem the obligations to be satisfied evenly over time. Client services, such as those relating to implementation, consulting, training or education, are generally not fulfilled evenly over the contract period but rather over a shorter timeline where work effort can rise or decline based upon stages of the project work effort. These client services are typically quoted to a customer as a fixed fee amount that covers the implementation effort. Delivery progress for these services is measured by establishing an approved cost budget with labor hour inputs utilized to gauge percentage of completion of the work effort. Therefore, revenue for our client, education and outsourcing services is recognized proportionally with the progress of the implementation work effort. Payerpath transaction volume and other transaction-based service obligations, such as revenue cycle management services, are fulfilled over time but are not provided evenly over the contract period and reliable inputs are not available to track progress of completion. We determined that value is provided to the customer throughout the contract period and the pricing charged to the customer varies on a monthly basis, based upon the volume of the customer’s transactions processed in that respective period. The invoiced amount to the customer represents this value and, accordingly, the practical expedient to recognize revenue based upon invoicing is most appropriate. We considered the specific implementation guidance for accounting for licenses of intellectual property (“IP”) to determine if point in time or over time recognition was more appropriate. The first step in the licensing framework is to determine whether the license is distinct or combined with other goods and services. For most of our software licensing products, the licenses are distinct, with the exception of one of our product offerings under our CareInMotion TM Disaggregation of Revenue We disaggregate our revenue from contracts with customers based on the type of revenue and nature of revenue stream, as we believe those categories best depict how the nature, amount, timing and uncertainty of our revenue and cash flows are affected by economic factors. The below tables summarize revenue by type and nature of revenue stream as well as by our reportable segments: Year Ended December 31, (In thousands) 2018 2017 2016 Revenue: Software delivery, support and maintenance Recurring revenue $ 967,990 $ 802,080 $ 752,084 Non-recurring revenue 160,273 156,107 147,215 Total software delivery, support and maintenance 1,128,263 958,187 899,299 Client services Recurring revenue $ 443,752 $ 374,640 $ 324,635 Non-recurring revenue 177,947 164,881 162,135 Total client services 621,699 539,521 486,770 Total revenue $ 1,749,962 $ 1,497,708 $ 1,386,069 Twelve Months Ended December 31, 2018 (In thousands) Clinical and Financial Solutions Population Health Unallocated Total Software delivery, support and maintenance $ 958,144 $ 168,275 $ 1,844 $ 1,128,263 Client services 607,843 22,431 (8,575 ) 621,699 Total revenue $ 1,565,987 $ 190,706 $ (6,731 ) $ 1,749,962 Twelve Months Ended December 31, 2017 (In thousands) Clinical and Financial Solutions Population Health Unallocated Total Software delivery, support and maintenance $ 808,611 $ 160,015 $ (10,439 ) $ 958,187 Client services 528,419 13,794 (2,692 ) 539,521 Total revenue $ 1,337,030 $ 173,809 $ (13,131 ) $ 1,497,708 Twelve Months Ended December 31, 2016 (In thousands) Clinical and Financial Solutions Population Health Unallocated Total Software delivery, support and maintenance $ 710,679 $ 165,532 $ 23,088 $ 899,299 Client services 472,517 11,862 2,391 486,770 Total revenue $ 1,183,196 $ 177,394 $ 25,479 $ 1,386,069 |