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 years ended December 31, 2017 and 2016 include the financial results of DMS Health. See Note 3 to the consolidated financial statements for more information related to the acquisition of DMS Health. Use of Estimates The preparation of financial statements in conformity with GAAP 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, self-insurance, inventory valuation, and income taxes. Actual results could materially 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 which was terminated effective December 31, 2017. 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 As of December 31, 2017 , securities available-for-sale consist of investments in equity securities that are publicly traded. These investments include shares held in Birner Dental Management Services ("Birner Dental"), a publicly traded company whose board of directors include a current Director of the Company. We classify all debt securities and a portion of equity 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. One of our equity securities, Perma-Fix Medical S.A. ("Perma-Fix Medical"), is 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. 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. We review various factors in making this determination, including the duration and severity of the decline in relation to our cost basis. During the years ended December 31, 2017 , 2016 , and 2015 the Company recognized other-than-temporary impairment charges of $0.3 million , $0.4 million , and $0.2 million , respectively. The following table sets forth the composition of securities available-for-sale as of December 31, 2017 and 2016 (in thousands): As of December 31, 2017 Maturity in Cost Unrealized Fair Value Gains Losses Corporate debt securities Less than 1 year $ — $ — $ — $ — Corporate debt securities 1-3 years — — — — Equity securities - 191 17 — 208 $ 191 $ 17 $ — $ 208 As of December 31, 2016 Maturity in Cost Unrealized Fair Value Gains Losses Corporate debt securities Less than 1 year $ 917 $ — $ — $ 917 Corporate debt securities 1-3 years — — — — Equity securities - $ 308 $ — $ (53 ) $ 255 $ 1,225 $ — $ (53 ) $ 1,172 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, 2017 , 2016 , and 2015 (in thousands): Allowance for Doubtful Accounts (1) Reserve for Billing Adjustments (2) Reserve for Contractual Allowances (2) 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 Provision adjustment 453 133 19,307 Write-offs and recoveries, net (431 ) (137 ) (19,375 ) Balance at December 31, 2017 $ 553 $ 9 $ 447 (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, 2017 , 2016 , and 2015 (in thousands): Reserve for Excess and Obsolete Inventories (1) 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 Provision adjustment 81 Write-offs and scrap (44 ) Balance at December 31, 2017 $ 453 (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 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 years 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, 2017 , 2016 and 2015 . 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, 2017, or 2016, 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. The Company recorded an impairment loss of $2.6 million associated with the impairment assessment of the MDSS reporting unit during the year ended December 31, 2017 . The Company also recorded an impairment loss of $0.2 million and $0.3 million during the years ended December 31, 2017 and 2016 , respectively, associated with the impairment assessment of the Telerhythmics reporting unit. No goodwill impairment losses were recorded December 31, 2015 . See Note 6 to the consolidated financial statements for further information. Self-Insured Health Insurance Benefits Effective January 1, 2017, the Company provided health care benefits to its employees through a self-insured plan with "stop loss" coverage. The Company records a liability that represents our estimated cost of claims incurred and unpaid as of the balance sheet date. Our estimated reserve is based on historical experience and trends related to both health insurance claims and payments. The ultimate cost of health care benefits will depend on actual costs incurred to settle the claims and may differ from the amounts reserved by the Company for those claims. As of December 31, 2017 , the reserve for estimated claims incurred and unpaid was $1.0 million . Restricted Cash We maintain certain cash amounts restricted as to withdrawal or use. As of December 31, 2017 , current and noncurrent restricted cash was $0.3 million , comprised of cash held for letters of credit for our real estate leases and certain minimum balance requirements on our banking arrangements. As of December 31, 2016, current and noncurrent restricted cash was $3.5 million , which included $3.1 million held as cash collateral under our former Wells Fargo Credit Facility, terminated effective June 21, 2017 (See Note 7). Debt Issuance Costs We incur debt issuance costs in connection with long-term debt financings. Debt issuance costs recorded in connection with our Comerica 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 debt issuance costs are included in interest expense. As of December 31, 2017 , we have $0.2 million of unamortized debt issuance costs. Upon changes to our debt structure, we evaluate debt issuance costs in accordance with the Debt topic of the Codification. We adjust debt issuance costs as necessary based on the results of this evaluation, as discussed in Note 7 to the consolidated financial statements. 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.9 million , and $0.6 million , for the years ended December 31, 2017 , 2016 , and 2015 , 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, 2017 , 2016 , and 2015 are as follows (in thousands): Year Ended December 31, 2017 2016 2015 Balance at beginning of year $ 196 $ 213 $ 176 Charges to cost of revenues 351 326 331 Applied to liability (343 ) (343 ) (294 ) Balance at end of year $ 204 $ 196 $ 213 Advertising Costs Advertising costs are expensed as incurred. Total advertising costs for each of the years ended December 31, 2017 , 2016 , and 2015 were $0.3 million , $0.3 million , and $0.3 million , respectively. Basic and Diluted Net (Loss) Income Per Share Basic earnings per share ("EPS") is calculated by dividing net (loss) income by the weighted average number of common shares and vested restricted stock units outstanding. Diluted EPS is computed by dividing net (loss) 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 (loss) income per share include 5,499 , and 10,240 vested restricted stock units for the years ended December 31, 2017, and 2016, 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 (loss) income per share for the periods indicated (in thousands, except per share amounts): Year Ended December 31, 2017 2016 2015 Net (loss) income $ (35,730 ) $ 14,302 $ 21,640 Shares used to compute basic net (loss) income per share 19,995 19,594 19,210 Dilutive potential common shares: Stock options — 398 449 Restricted stock units — 75 31 Shares used to compute diluted net (loss) income per share 19,995 20,067 19,690 Basic net (loss) income per share $ (1.79 ) $ 0.73 $ 1.13 Diluted net (loss) income per share $ (1.79 ) $ 0.71 $ 1.10 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 following weighted average outstanding common stock equivalents were not included in the calculation of diluted net (loss) income per share because their effect was antidilutive: Year Ended December 31, (shares in thousands) 2017 2016 2015 Stock options 220 16 1 Restricted stock units 33 — — Total 253 16 1 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. 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. During the year ended December 31, 2017, as a result of a three-year cumulative loss and recent events such as the unanticipated termination of the Philips distribution agreement and its effect on our near term forecasted income, we concluded that a full valuation allowance was necessary to offset our deferred tax assets. A significant piece of objective negative evidence evaluated as of December 31, 2017, was the cumulative pretax loss incurred over the three-year period ended December 31, 2017. The increase of the valuation allowance associated with our deferred tax assets resulted in $18.1 million of income tax expense for the year ended December 31, 2017. 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 consolidated financial statements for further information regarding our acquisitions. Recently Adopted Accounting Standards In March 2016, the Financial Accounting Standards Board ("FASB") issued Accounting Standards Update (ASU) 2016-09, Improvements to Employee Share-Based Payment Accounting, which simplifies the accounting for employee share-based payments. The new standard requires the immediate recognition of all excess tax benefits and deficiencies in the income statement, and requires classification of excess tax benefits as an operating activity as opposed to a financing activity in the statements of cash flows. This guidance will be applied either prospectively, retrospectively, or using a modified retrospective transition method, depending on the area covered in this update. We adopted this guidance during the first quarter of 2017. The primary impact of this guidance is the requirement to recognize all excess tax benefits and deficiencies on share-based payments in income tax expense. Upon the adoption of this requirement on a modified-retrospective basis, the previously unrecognized excess tax benefits on share-based compensation of $0.5 million were recorded through accumulated deficit and deferred tax assets as of January 1, 2017. Recently Issued Accounting Standards In January 2017, the Financial Accounting Standards Board ("FASB") issued ASU 2017-04, Intangibles - Goodwill and Other (Topic 350): Simplifying the Test for Goodwill Impairment, 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 are currently evaluating the impact that implementation of this guidance will have on our financial statements. In November 2016, the FASB issued ASU 2016-18, Statement of Cash Flows (Topic 230): Restricted Cash, 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. Upon adoption, our consolidated statement of cash flows will present our restricted cash balance as part of cash and cash equivalents. In August 2016, the FASB issued ASU 2016-15, Statement of Cash Flows (Topic 230): Classification of Certain Cash Receipts and Cash Payments, 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 do not expect the impact on our consolidated financial statements t |