Basis of Presentation and Significant Accounting Policies | Basis of Presentation and Significant Accounting Policies Basis of Presentation The consolidated financial statements are prepared in conformity with United States generally accepted accounting principles ("GAAP") and include the financial statements of the Company and its wholly owned subsidiaries. All intercompany accounts and transactions have been eliminated. Certain reclassifications have been made to the prior period financial statements to conform to the current period presentation. The financial results for the year ended December 31, 2016 include the financial results of DMS Health. See Note 3 to the audited consolidated financial statements for more information related to the acquisition of DMS Health. Use of Estimates The preparation of financial statements in conformity with U.S. generally accepted accounting principles requires management to make estimates and assumptions that affect the amounts reported in the consolidated financial statements and disclosures made in the accompanying notes to the consolidated financial statements. Significant estimates and judgments include those related to revenue recognition, reserves for doubtful accounts and contractual allowances, inventory valuation, and income taxes. Actual results could differ from those estimates. Revenue Recognition We recognize revenue for all of our reportable segments in accordance with the authoritative guidance for revenue recognition, when all of the following four criteria are met: (i) a contract or sales arrangement exists; (ii) products have been shipped and title has transferred or services have been rendered; (iii) the price of the products or services is fixed or determinable; and (iv) collectability is reasonably assured. The timing of revenue recognition is based upon factors such as passage of title and risk of loss, the need for installation, and customer acceptance. These factors are based on the specific terms of each contract or sales arrangement. Services Revenue Recognition. We generate service revenue primarily from providing diagnostic imaging and cardiac monitoring services to our customers. Service revenue within our Diagnostic Imaging and Mobile Healthcare reportable segments is derived from providing our customers with contract diagnostic imaging services, which includes use of our imaging systems, qualified personnel, radiopharmaceuticals, licensing, logistics and related items required to perform testing in their own offices. We bill customers either on a per-scan or fixed-payment methodology, depending upon the contract that is negotiated with the customer. Within our Mobile Healthcare segment, we also rent imaging systems to healthcare customers for use in their operations. Rental revenues are structured as either a weekly or monthly payment arrangement, and are recognized in the month services are provided. Revenue related to provision of our services is recognized at the time services are performed and collection is reasonably assured. We also offer remote cardiac event monitoring services within our Diagnostic Services reportable segment, through our Telerhythmics business. Our cardiac event monitoring services are provided primarily through an independent diagnostic testing facility model which allows us to bill Medicare, Medicaid, or one of the third-party healthcare insurers directly for services provided. We also receive reimbursement directly from patients through co-pays and self-pay arrangements. Billings for services reimbursed by third party payors, including Medicare and Medicaid, are recorded as revenue net of contractual allowances. Contractual allowances are estimated based on historical collections by Current Procedural Terminology ("CPT") code for specific payors or class of payors. Adjustments to the estimated receipts, based on final settlement with the third party payors, are recorded upon settlement. Product and Product-Related Revenue Recognition. We generate revenue from product and product-related sales, primarily from the sale of gamma cameras and Phillips medical equipment and supplies, and related services, which consist primarily of support and maintenance services on products we sell directly or through our relationship with Philips. Diagnostic Imaging product revenues are generated from the sale of internally developed solid-state gamma camera imaging systems and camera maintenance service contracts. Revenue for sales of imaging systems is generally recognized upon delivery of systems and acceptance by customers. We also provide installation services and training on cameras we sell, primarily in the United States. Installation and initial training is generally performed shortly after delivery and revenue related to the provision of these services is recognized at the time services are performed and collection is reasonably assured. Neither installation nor training is essential to the functionality of the product. Finally, we offer camera maintenance service contracts which are sold beyond the term of the initial warranty, generally one year from the date of purchase. Revenue from these contracts is deferred and recognized ratably over the period of the obligation. Medical Device Sales and Service product revenues are derived from equipment sales and warranty and post-warranty service efforts, under our exclusive contract with Philips Healthcare. Revenue from equipment sales primarily consists of commission income, which represents the commission the Company earns for selling Philips equipment and supplies to end users, and is reported on a net basis upon delivery. Revenue related to warranty and service contracts that extend over multiple months is accounted for on the proportional-performance method, which the Company deems to be on a straight-line basis. Finally, revenue related to time-and-materials service contracts is recognized in the month services are performed and collection is reasonably assured. Concentration of Credit Risk Financial instruments, which potentially subject us to concentrations of credit risk, consist primarily of cash and cash equivalents, investments, and accounts receivable. We limit our exposure to credit loss by generally placing our cash and investments in high credit quality financial institutions and investment grade corporate debt securities. Additionally, we have established guidelines regarding diversification of our investments and their maturities, which are designed to maintain principal and maximize liquidity. Fair Value of Financial Instruments The authoritative guidance for fair value measurements defines fair value for accounting purposes, establishes a framework for measuring fair value, and provides disclosure requirements regarding fair value measurements. The guidance defines fair value as an exit price, which is the price that would be received upon sale of an asset or paid upon transfer of a liability in an orderly transaction between market participants at the measurement date. The degree of judgment utilized in measuring the fair value of assets and liabilities generally correlates to the level of pricing observability. Our financial instruments primarily consist of cash equivalents, securities available-for-sale, accounts receivable, other current assets, restricted cash, accounts payable, contingent consideration, and other current liabilities. The carrying amount of these financial instruments generally approximate fair value due to their short term nature. Securities available-for-sale are recorded at fair value. Cash and Cash Equivalents We consider all investments with a maturity of three months or less when acquired to be cash equivalents. Securities Available-for-Sale Securities available-for-sale primarily consist of investment grade corporate debt securities. In addition, we own shares of common stock issued by Perma-Fix Medical, a publicly traded company listed on the NewConnect market of the Warsaw Stock Exchange. We classify all debt securities as available-for-sale and as current assets, as the sale of such securities may be required prior to maturity to execute management strategies. The Perma-Fix Medical equity securities are classified as an other asset (non-current), as the investment is strategic in nature and our current intent is to hold the investment over a several year period. Securities available-for-sale are carried at fair value, with the unrealized gains and losses reported as a component of accumulated other comprehensive loss in stockholders' equity until realized. Realized gains and losses from the sale of available-for-sale securities, if any, are determined on a specific identification basis. It is not more likely than not that we will be required to sell investments before recovery of their amortized costs. Premiums and discounts are amortized or accreted over the life of the related security as an adjustment to yield using the straight-line method and included in interest income. Interest income is recognized when earned. Realized gains and losses on investments in securities are included in other income (expense) within the consolidated statements of operations and comprehensive income. We recognized a loss of $0.2 million related to available-for-sale securities for the year ended December 31, 2015 due to the initial excess of the transaction price over fair value for the Perma-Fix Medical investment. The realized gains and losses related to securities available-for-sale were minimal for the years ended December 31, 2016 and 2014. A decline in the market value of any available-for-sale security below cost that is determined to be other than temporary will result in an impairment charge to earnings and a new cost basis for the security is established. During the third quarter of 2016, the Company recognized an other-than-temporary impairment charge of $0.4 million , reflecting the write-down of this investment to its fair market value of approximately $0.3 million , establishing a new cost basis. The Company reviewed various factors in making its determination, including the duration in the decline of value and volatility of the Perma-Fix Medical stock price. While the Company has the intent and ability to hold this investment, there is no indication that the Perma-Fix Medical stock price will rise above the Company's adjusted cost basis within the foreseeable future. The loss is included as a component in other expense, net in the consolidated statement of operations and comprehensive income. The following table sets forth the composition of securities available-for-sale as of December 31, 2016 and 2015 (in thousands): As of December 31, 2016 Maturity in Cost Unrealized Fair Value Gains Losses Corporate debt securities (1) Less than 1 year $ 917 $ — $ — $ 917 Corporate debt securities 1-3 years — — — — Equity securities - 308 — (53 ) 255 $ 1,225 $ — $ (53 ) $ 1,172 (1) As of December 31, 2016 , our corporate debt securities were restricted for withdrawal and are included as cash collateral under our Credit Agreement (See Note 7). As of December 31, 2015 Maturity in Cost Unrealized Fair Value Gains Losses Corporate debt securities Less than 1 year $ 2,311 $ — $ (5 ) $ 2,306 Corporate debt securities 1-3 years 926 — (5 ) 921 Equity securities - $ 721 $ — $ (230 ) $ 491 $ 3,958 $ — $ (240 ) $ 3,718 Allowance for Doubtful Accounts, Billing Adjustments, and Contractual Allowances Accounts receivable consist principally of trade receivables from customers and government or third-party healthcare insurance providers, and are generally unsecured and due within 30 days . We regularly evaluate the collectability of our trade receivables and provide reserves for doubtful accounts based on our historical experience rate, known collectability issues and disputes, and our bad debt write-off history. Our estimates of collectability could be impacted by material amounts due to changed circumstances, such as a higher number of defaults or material adverse changes in a payor's ability to meet its obligations. Expected credit losses related to trade accounts receivable are recorded as an allowance for doubtful accounts within accounts receivable, net in the consolidated balance sheets, and the related provision for doubtful accounts is charged to general and administrative expenses. Within Diagnostic Services, we record adjustments and credit memos that represent billing adjustments subsequent to the performance of service. As such, we also record a provision for billing adjustments which is based on our historical experience rate and billing adjustments history. The provision for billing adjustments is charged against Diagnostic Services revenues. Our cardiac event monitoring services are provided primarily through an independent diagnostic testing facility model which allows us to bill Medicare, Medicaid, or one of the third-party healthcare insurers directly for services provided. Accounts receivable related to cardiac event monitoring are recorded at the time revenue is recognized, net of contractual allowances. Contractual allowances are estimated based on historical collections by Current Procedural Terminology ("CPT") code for specific payors, or class of payors. A provision for contractual allowances is charged against Services revenues. The following table summarizes our allowance for doubtful accounts, billing adjustments, and contractual allowances as of and for the years ended December 31, 2016 , 2015 , and 2014 (in thousands): Allowance for Doubtful Accounts (1) Reserve for Billing Adjustments (2) Reserve for Contractual Allowances (2) Balance at December 31, 2013 $ 270 $ 8 $ — Provision adjustment 571 99 18,675 Write-offs and recoveries, net (577 ) (100 ) (17,968 ) Balance at December 31, 2014 264 7 707 Provision adjustment 483 105 22,256 Write-offs and recoveries, net (303 ) (102 ) (22,373 ) Balance at December 31, 2015 444 10 590 Provision adjustment 740 182 24,280 Write-offs and recoveries, net (653 ) (179 ) (24,355 ) Balance at December 31, 2016 $ 531 $ 13 $ 515 (1) The provision was charged against general and administrative expenses. (2) The provision was charged against Services revenue. Inventory Our inventories are stated at the lower of cost (first-in, first-out) or market (net realizable value) and we review inventory balances for excess and obsolete inventory levels on a quarterly basis. Costs include material, labor, and manufacturing overhead costs. We rely on historical information to support our excess and obsolete reserves and utilize our business judgment with respect to estimated future demand. Per our policy, we generally reserve 100% of the cost of inventory quantities in excess of a defined period of demand. Once inventory is reserved, we do not adjust the reserve balance until the inventory is sold or disposed. The following table summarizes our reserves for excess and obsolete inventory as of and for the years ended December 31, 2016 , 2015 , and 2014 (in thousands): Reserve for Excess and Obsolete Inventories (1) Balance at December 31, 2013 $ 2,543 Provision adjustment (630 ) Write-offs and scrap — Balance at December 31, 2014 1,913 Provision adjustment (967 ) Write-offs and scrap (227 ) Balance at December 31, 2015 719 Provision adjustment (199 ) Write-offs and scrap (104 ) Balance at December 31, 2016 $ 416 (1) The provision was charged against Product and product-related cost of revenues. Long-Lived Assets including Finite Lived Purchased Intangible Assets Long-lived assets consist of property and equipment and finite lived intangible assets. We record property and equipment at cost, and record other intangible assets based on their fair values at the date of acquisition. We calculate depreciation on property and equipment using the straight-line method over the estimated useful life of the assets which range from 5 to 20 years for buildings and improvements, 3 to 10 years years for machinery and equipment, 3 to 10 years for computer hardware and software, and the lower of the estimated useful life or remaining lease term for leasehold improvements. Charges related to amortization of assets recorded under capital leases are included within depreciation expense. We calculate amortization on other intangible assets using either the accelerated or the straight-line method over the estimated useful life of the assets, based on when we expect to receive cash inflows generated by the intangible assets. Estimated useful lives for intangibles range from 3 to 15 years . Impairment losses on long-lived assets used in operations are recorded when indicators of impairment are present and the undiscounted cash flows estimated to be generated by those assets are less than the assets’ carrying amount. If such 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 estimated fair value of the assets. No impairment losses were recorded on long-lived assets to be held and used during the years ended December 31, 2016 , 2015 and 2014 . During the year ended December 31, 2015 , an impairment loss of $0.1 million was recorded related to the excess of the carrying amount above fair value of certain assets held for sale. No impairment losses were recorded on long-lived assets held for sale during the years ended December 31, 2016 , or 2014 , respectively. Valuation of Goodwill We review goodwill for impairment on an annual basis during the fourth quarter, as well as when events or changes in circumstances indicate that the carrying value may not be recoverable. We begin the process by assessing qualitative factors in determining whether it is more likely than not that the fair value of its reporting unit is less than its carrying amount. After performing the aforementioned assessment and upon review of the results of such assessment, we may begin performing step one of the two-step impairment analysis by quantitatively comparing the fair value of the reporting unit to the carrying value of the reporting unit, including goodwill. If the carrying value of the reporting unit's net assets exceeds the fair value of the reporting unit, then we must perform the second step of the impairment test, whereby the carrying value of the reporting unit’s goodwill is compared to its implied fair value. If the carrying value of the goodwill exceeds the implied fair value, an impairment loss equal to the difference would be recorded. During the year ended December 31, 2016 , we recorded a goodwill impairment loss of $0.3 million . No goodwill impairment losses were recorded December 31, 2015 , and 2014 . See Note 6 to the audited consolidated financial statements for further information. Restricted Cash We maintain certain cash amounts restricted as to withdrawal or use. Current and noncurrent restricted cash as of December 31, 2016 was $3.5 million , comprised of cash held in restricted accounts as collateral under our Credit Agreement, as well as for letters of credit for our real estate leases and insurance policies. Restructuring Restructuring costs are included in income from operations within the consolidated statements of operations and comprehensive income. Losses on property and equipment are recorded consistent with our accounting policy related to long-lived assets. One-time termination benefits are recorded at the time they are communicated to the affected employees. Losses on property lease obligations are recorded when the lease is abandoned or when the contract is terminated. During the year ended December 31, 2014, we recorded $0.7 million of restructuring costs related to initiatives that were completed in the same fiscal year. No restructuring costs were recorded during the years ended December 31, 2016 and 2015 . Debt Issuance Costs We incur debt issuance costs in connection with long-term debt financings. Such costs are recorded as a direct deduction to long-term debt and amortized over the terms of the respective debt obligations using the effective interest rate method. Debt issuance costs recorded in connection with our revolving credit facility are presented in other assets on the consolidated balance sheets and are amortized over the term of the revolving debt agreements using the straight-line method. Amortization of deferred loan costs is included in interest expense. As of December 31, 2016 , we have $0.8 million of unamortized debt issuance costs. Shipping and Handling Fees and Costs We record all shipping and handling billings to customers as revenue earned for the goods provided. Shipping and handling costs are included in cost of revenues and totaled $0.9 million , $0.6 million , and $0.5 million for the years ended December 31, 2016 , 2015 , and 2014 , respectively. Share-Based Compensation We account for share-based awards exchanged for employee services in accordance with the authoritative guidance for share-based compensation. Under this guidance, share-based compensation expense is measured at the grant date, based on the estimated fair value of the award, and is recognized as expense, net of estimated forfeitures, over the requisite service period. Warranty We generally provide a 12 -month warranty on our gamma cameras. We accrue the estimated cost of this warranty at the time revenue is recorded and charge warranty expense to Product and product-related cost of revenues. Warranty reserves are established based on historical experience with failure rates and repair costs and the number of systems covered by warranty. Warranty reserves are depleted as gamma cameras are repaired. The costs consist principally of materials, personnel, overhead, and transportation. We review warranty reserves quarterly and, if necessary, make adjustments. The activities related to our warranty reserve for the years ended December 31, 2016 , 2015 , and 2014 are as follows (in thousands): Year Ended December 31, 2016 2015 2014 Balance at beginning of year $ 213 $ 176 $ 137 Charges to cost of revenues 326 331 286 Applied to liability (343 ) (294 ) (247 ) Balance at end of year $ 196 $ 213 $ 176 Advertising Costs Advertising costs are expensed as incurred. Total advertising costs for each of the years ended December 31, 2016 , 2015 , and 2014 were $0.3 million , $0.3 million , and $0.2 million respectively. Basic and Diluted Net Income Per Share Basic earnings per share ("EPS") is calculated by dividing net income by the weighted average number of common shares and vested restricted stock units outstanding. Diluted EPS is computed by dividing net income by the weighted average number of common shares and vested restricted stock units outstanding and the weighted average number of dilutive common stock equivalents, including stock options and non-vested restricted stock units under the treasury stock method. Common stock equivalents are only included in the diluted earnings per share calculation when their effect is dilutive. Shares used to compute basic net income per share include 10,240 , and 5,063 vested restricted stock units for the years ended December 31, 2016, and 2014, respectively. There were no restricted stock units included in the shares used to compute basic net income per share for the year ended December 31, 2015. The following table sets forth the computation of basic and diluted net income per share for the periods indicated (in thousands, except per share amounts): Year Ended December 31, 2016 2015 2014 Net income $ 14,302 $ 21,640 $ 2,475 Shares used to compute basic net income per share 19,594 19,210 18,571 Dilutive potential common shares: Stock options 398 449 307 Restricted stock units 75 31 — Shares used to compute diluted net income per share 20,067 19,690 18,878 Basic net income per share $ 0.73 $ 1.13 $ 0.13 Diluted net income per share $ 0.71 $ 1.10 $ 0.13 Antidilutive common stock equivalents are excluded from the computation of diluted earnings per share. Stock options and restricted stock units are antidilutive when the assumed proceeds per share are greater than the average market price of the common shares. In addition, in periods where net losses are incurred, stock options and restricted stock units with assumed proceeds per share less than the average market price of the common shares become antidilutive as well. The number of common share equivalents that were antidilutive were 15,844 , 984 , and 66,917 for the years ended December 31, 2016 , 2015 , and 2014 , respectively. Other Comprehensive Loss Other comprehensive loss is defined as the change in equity during a period from transactions and other events and circumstances from non-owner sources. Comprehensive loss includes unrealized losses on our marketable securities. Income Taxes We provide for income taxes under the asset and liability method. This approach requires the recognition of deferred tax assets and liabilities for the expected future tax consequences of differences between the tax basis of assets or liabilities and their carrying amounts in the financial statements. We provide a valuation allowance for deferred tax assets if it is more likely than not that these items will expire before we are able to realize their benefit. We calculate the valuation allowance in accordance with the authoritative guidance relating to income taxes, which requires an assessment of both positive and negative evidence regarding the realizability of these deferred tax assets when measuring the need for a valuation allowance. Significant judgment is required in determining any valuation allowance against deferred tax assets. As of December 31, 2014, due to a history of operating losses and other key operating factors, we concluded that a full valuation allowance was necessary to offset all of our deferred tax assets. A significant piece of objective negative evidence evaluated as of December 31, 2014, was the cumulative pretax loss incurred over the three-year period ended December 31, 2014. During the year ended December 31, 2015 , we concluded that it was more likely than not that a portion of our deferred tax assets would be realized through future taxable income. This conclusion was based on our restructuring efforts in 2013 and 2014 and resulting sustained profitability for the second half of 2013, 2014, and 2015, as well as our projections of positive future earnings and other key operating factors. As of September 30, 2015, we had generated cumulative pretax income over the preceding twelve quarter period, and therefore the objective negative evidence of a history of operating losses was no longer present. The partial release of the valuation allowance associated with our deferred tax assets was the primary driver of the income tax benefit of $19.1 million for the year ended December 31, 2015 . During the year ended December 31, 2016 , as a result of the acquisition of DMS Health on January 1, 2016, we determined that it is more likely than not that additional deferred tax assets will be realized due to the increases in our forecasted taxable income. The partial release of the valuation allowance associated with our deferred tax assets was the primary driver of the income tax benefit of $12.4 million for the year ended December 31, 2016 . The release of the valuation allowance will not affect the amount of cash paid for income taxes. The authoritative guidance for income taxes defines a recognition threshold and measurement attributes for financial statement recognition and measurement of a tax provision taken or expected to be taken in a tax return. The guidance also provides direction on de-recognition, classification, interest and penalties, accounting in interim periods, disclosure, and transition. Under the guidance, the impact of an uncertain income tax position on the income tax return must be recognized at the largest amount that is more-likely-than-not to be sustained upon audit by the relevant taxing authority. An uncertain income tax position will not be recognized if it has less than a 50% likelihood of being sustained. We recognize interest and penalties related to uncertain tax positions as a component of the income tax provision. Acquisitions The assets acquired and liabilities assumed in a business combination, including identifiable intangible assets and contingent consideration, are recorded at their estimated fair values as of the acquisition date. The excess of the purchase price over the estimated fair value of the identifiable net assets acquired is recorded as goodwill. We base the fair values of identifiable intangible assets on detailed valuations that require management to make significant judgments, estimates and assumptions. Contingent purchase considerations to be settled in cash are remeasured to estimated fair value at each reporting period with the change in fair value recorded in general and administrative expense, a component of operating expenses. See Note 3 to the audited consolidated financial statements for further information regarding our acquisitions. Accounting Standards Updates In January 2017, the Financial Accounting Standards Board ("FASB") issued new guidance which simplifies the subsequent measurement of goodwill by removing the second step of the two-step impairment test. The amendment requires an entity to perform its annual, or interim goodwill impairment test by comparing the fair value of a reporting unit with its carrying amount. An impairment charge should be recognized for the amount by which the carrying amount exceeds the reporting unit's fair value; however, the loss recognized should not exceed the total amount of goodwill allocated to that reporting unit. An entity still has the option to perform the qualitative assessment for a reporting unit to determine if the quantitative impairment test is necessary. The amendment should be applied on a prospective basis. The pronouncement is effective for fiscal years beginning after December 15, 2019, including interim periods within those fiscal years. Early adoption is permitted for interim or annual goodwill impairment tests performed on testing dates after January 1, 2017. We intend to early adopt the guidance in 2017. In November 2016, the FASB issued new accounting guidance which requires amounts generally described as restricted cash and restricted cash equivalents be included with cash and cash equivalents when reconciling the total beginning and ending amounts for the periods shown on the statement of cash flows. The pronouncement is effective for fiscal years beginning after December 15, 2017, and for interim periods within those periods, using a retrospective transition method to each period presented. We do not expect the impact on our consolidated financial statements to be material. In August 2016, the FASB issued new guidance related to the classification of certain cash receipts and cash payments on the statement of cash flows. The pronouncement provides clarification guidance on eight specific cash flow presentation issues that have developed due to diversity in practice. The issues include, but are not limited to, debt prepayment or extinguishment costs, settlement of zero-coupon debt, proceeds from the settlement of insurance claims, and cash receipts from payments on beneficial interests in securitization transactions. The pronouncement is effective for fiscal years, and for interim periods within those fiscal years, beginning after December 15, 2017, with early adoption permitted. We are currently evaluating the impact, if any, of adopting this guidance on our financial statements. In February 2016, the FASB amended the existing accounting standards for the accounting for leases. The amendments are based on the principle that assets and liabilities arising from leases should be recognized within the financial statements. The Company is required to adopt the amendments beginning in 2019. Early adoption is permitted. The amendments must be applied using a modified retrospective transition approach and the FASB decided not to permit a full retrospective transition approach. We currently expect that most of our operating lease commitments will be subject to the update and recognized as operating lease liabilities and right-of-use assets upon adoption. However, we are currently evaluating the effect that implementation of this update will have upon adoption on our consolidated financial position and results of operations. In January 2016, the FASB amended the existing accounting standards for the accounting for financial instruments. The amendments require equity investments, with certain exceptions, to be measured at fair value with changes in fair value recognized in net income. The new standard is effective pro |