Debt | 7. Debt The Company's debt, net of unamortized deferred loan costs, consisted of the following at December 31 , (In thousands) December 31, 2017 December 31, 2016 Cash Convertible Notes, net of unamortized discount $ 145,861 $ 137,859 Prior Credit Agreement: Term Loan — 60,000 Revolver — 13,500 Capital lease obligations and other 549 1,270 146,410 212,629 Less: deferred loan costs (451 ) (2,286 ) Total debt 145,959 210,343 Less: current portion (145,959 ) (46,046 ) Long-term debt $ — $ 164,297 Credit Facility On June 8, 2012, we entered into the Fifth Amended and Restated Revolving Credit and Term Loan Agreement (as amended, the "Prior Credit Agreement"). The Prior Credit Agreement provided us with a $125 million revolving credit facility that included a swingline sub facility of $20 million and a $75 million sub facility for letters of credit. The Prior Credit Agreement also provided a $200 million term loan facility and an uncommitted incremental accordion facility of $100 million. Borrowings under the Prior Credit Agreement generally bore interest at variable rates based on a margin or spread in excess of either (1) the one-month, two-month, three-month or six-month rate (or with the approval of affected lenders, nine-month or twelve-month rate) for Eurodollar deposits ("LIBOR", which may not be less than zero), or (2) the greatest of (a) the SunTrust Bank prime lending rate, (b) the federal funds rate plus 0.50% and (c) one-month LIBOR plus 1.00% (the "Base Rate"), as selected by the Company. The LIBOR margin varied between 1.75% and 3.00%, and the Base Rate margin varied between 0.75% and 2.00%, depending on our leverage ratio. The Prior Credit Agreement also provided for an annual fee ranging between 0.30% and 0.50% of the unused commitments under the revolving credit facility. On April 21, 2017, we entered into a new Revolving Credit and Term Loan Agreement (the "Credit Agreement") with a group of lenders, which replaced the Prior Credit Agreement. The Credit Agreement provides us with (1) a $100 million revolving credit facility that includes a $25 million sublimit for swingline loans and a $75 million sublimit for letters of credit, (2) a $70 million term loan A facility, (3) a $150 million delayed draw term loan facility, and (4) an uncommitted incremental accordion facility of $100 million. We used the proceeds of the term loan A and cash on hand to repay all of the outstanding indebtedness under the Prior Credit Agreement and to pay transaction costs and expenses. Proceeds of revolving loans and delayed draw term loans may be used to repay outstanding indebtedness (including amounts payable upon or in respect of any conversion of the Cash Convertible Notes discussed below and the repayment of any revolving loans borrowed for such purposes), to finance working capital needs, to finance acquisitions, to finance the repurchase of our common stock, to finance capital expenditures and for other general corporate purposes of the Company and its subsidiaries. Delayed draw term loans may not be borrowed after July 2, 2018. We are required to repay the term loan A and any outstanding revolving loans in full on April 21, 2022. The term loan A was repaid in full as of December 31, 2017. If we elect to borrow the delayed draw term loans, we will be required to repay the delayed draw term loans in quarterly principal installments calculated as follows: (1) for each of the first 12 quarters following the time of borrowing, 1.250% of the aggregate principal amount of the delayed draw term loans funded as of the last day of the immediately preceding quarter; and (2) for each of the remaining quarters prior to maturity on April 21, 2022, 1.875% of the aggregate principal amount of the delayed draw term loans funded as of the last day of the immediately preceding quarter. At maturity on April 21, 2022, the entire unpaid principal balances of the delayed draw term loans are due and payable. As of December 31, 2017, we had not borrowed any amounts under the delayed draw term loan, and availability under the revolving credit facility totaled $92.6 million. Borrowings under the Credit Agreement generally bear interest at variable rates based on a margin or spread in excess of either (1) the one-month, two-month, three-month or six-month LIBOR rate (or with the approval of affected lenders, the 12-month LIBOR rate), which may not be less than zero, or (2) the greatest of (a) the SunTrust Bank prime lending rate, (b) the federal funds rate plus 0.50%, and (c) one-month LIBOR plus 1.00% (the "Base Rate"), as selected by the Company. The LIBOR margin varies between 1.50% and 2.75%, and the Base Rate margin varies between 0.50% and 1.75%, depending on our net leverage ratio. The Credit Agreement also provides for annual fees ranging between 0.20% and 0.50% of the unused commitments under the revolving credit facility and the delayed draw term loan facility. Extensions of credit under the Credit Agreement are secured by guarantees from all of the Company's active material subsidiaries and by security interests in substantially all of the Company's and such subsidiaries' assets. The Credit Agreement contains financial covenants that require us to maintain, as defined, specified ratios or levels of (1) funded debt to EBITDA and (2) fixed charge coverage. The Credit Agreement also contains various other affirmative and negative covenants that are typical for financings of this type. Among other things, they limit repurchases of our common stock and the amount of dividends that we can pay to holders of our common stock. 1.50% Cash Convertible Senior Notes Due 2018 On July 16, 2013, we completed the issuance of $150.0 million aggregate principal amount of cash convertible senior notes due 2018 (the "Cash Convertible Notes"), which bear interest at a rate of 1.50% per year, payable semiannually in arrears on January 1 and July 1 of each year, beginning on January 1, 2014. The Cash Convertible Notes will mature on July 1, 2018, unless earlier repurchased or converted into cash in accordance with their terms prior to such date. Accordingly, we have classified the Cash Convertible Notes, net of the unamortized discount, and related deferred loan costs as a current liability at December 31, 2017 and as long-term debt at December 31, 2016 At the option of the holders, the Cash Convertible Notes are convertible into cash based on the conversion rate set forth below only upon occurrence of certain triggering events as defined in the indenture dated as of July 8, 2013 by and between the Company and U.S. Bank National Association, none of which had o ccurred as of December 31, 2016 and one of which had occurred as of December 31, 2017, as further detailed below. Pursuant to the indenture under which we issued the Cash Convertible Notes, the Cash Convertible Notes became convertible into cash (at the option of the holder) during the period that began on January 1, 2018 and ends on June 28, 2018. The cash conversion rate (subject to adjustment, as set forth in the indenture) is 51.3769 shares of the Company's common stock per $1,000 principal amount of the Cash Convertible Notes (equivalent to an initial conversion price of $19.4640 per share of common stock). The settlement of any Cash Convertible Notes surrendered for conversion during this period will occur on July 2, 2018, which is the third business day following the end of the applicable observation period with respect to such conversion (i.e., the 80 consecutive trading day period beginning on the 82nd scheduled trading day immediately preceding the maturity date, which 82nd scheduled trading day is March 6, 2018). The indenture requires the Company to satisfy the entire settlement amount for any conversions (determined in accordance with the provisions of the indenture) in cash, and the notes are not convertible into the Company's common stock or any other securities under any circumstances. The Cash Convertible Notes are our senior unsecured obligations and rank senior in right of payment to any of our indebtedness that is expressly subordinated in right of payment to the Cash Convertible Notes. As a result of this transaction, we recognized deferred loan costs of approximately $3.9 million, which are being amortized over the term of the Cash Convertible Notes using the effective interest method. The cash conversion feature of the Cash Convertible Notes is a derivative liability (the "Cash Conversion Derivative") that requires bifurcation from the Cash Convertible Notes in accordance with FASB ASC Topic 815, "Derivatives and Hedging" ("ASC Topic 815"), and is carried at fair value. At December 31, 2016, because the Cash Convertible Notes were classified as long-term debt, the Cash Conversion Derivative was classified as a long-term liability. Due to the classification of the Cash Convertible Notes as a current liability at December 31, 2017, the Cash Conversion Derivative is recorded in current liabilities at December 31, 2017. The fair value of the Cash Conversion Derivative at the time of issuance of the Cash Convertible Notes was $36.8 million, which was recorded as a debt discount for purposes of accounting for the debt component of the Cash Convertible Notes. The debt discount is being amortized over the term of the Cash Convertible Notes using the effective interest method. For the years ended December 31, 2017 and 2016, we recorded $8.0 million and $7.6 million, respectively, of interest expense related to the amortization of the debt discount based upon an effective interest rate of 5.7%. We also recognized $2.3 million of interest expense for each of the years ended December 31, 2017 and 2016 related to the contractual interest rate of 1.50% per year. The net carrying amount of the Cash Convertible Notes at December 31, 2017 and December 31, 2016 was $145.9 million and $137.9 million, respectively, net of the unamortized discount of $4.1 million and $12.1 million, respectively. In connection with the issuance of the Cash Convertible Notes, we entered into privately negotiated convertible note hedge transactions (the "Cash Convertible Notes Hedges"), which are cash-settled and are intended to reduce our exposure to potential cash payments that we would be required to make if holders elect to convert the Cash Convertible Notes at a time when our stock price exceeds the conversion price. The initial cost of the Cash Convertible Notes Hedges was $36.8 million. At December 31, 2016, because the Cash Convertible Notes were classified as long-term debt, the Cash Convertible Notes Hedges were classified as long-term assets. Due to the classification of the Cash Convertible Notes as a current liability at December 31, 2017, the Cash Convertible Notes Hedges are classified in current assets at December 31, 2017. The Cash Convertible Notes Hedges are recorded as a derivative asset under ASC Topic 815 and are carried at fair value. See Note 9 for additional information regarding the Cash Convertible Notes Hedges and the Cash Conversion Derivative and their fair values. In July 2013, we also sold separate privately negotiated warrants (the "Warrants") initially relating, in the aggregate, to a notional number of shares of our common stock underlying the Cash Convertible Notes Hedges. The Warrants have an initial strike price of approximately $25.95 per share. The Warrants will be net share settled by issuing a number of shares of our common stock per Warrant corresponding to the excess of the market price per share of our common stock (as measured on each warrant exercise date under the terms of the Warrants) over the applicable strike price of the Warrants. The Warrants meet the definition of derivatives under the guidance in ASC Topic 815; however, because these instruments have been determined to be indexed to our own stock and meet the criteria for equity classification under ASC Topic 815, the Warrants have been accounted for as an adjustment to our additional paid-in-capital. When the market value per share of our common stock exceeds the strike price of the Warrants, the Warrants have a dilutive effect on net income per share, and the "treasury stock" method is used in calculating the dilutive effect on earnings per share. See Note 10 for additional information on such dilutive effect. CareFirst Convertible Note and CareFirst Warrants On October 1, 2013, we entered into an Investment Agreement (the "Investment Agreement") with CareFirst"), which was in addition to certain commercial agreements between us and CareFirst relating to, among other things, disease management and care coordination services (the "Commercial Agreements"). Pursuant to the Investment Agreement, we issued to CareFirst a convertible subordinated promissory note in the aggregate original principal amount of $20 million (the "CareFirst Convertible Note") for a purchase price of $20 million. The CareFirst Convertible Note was convertible into shares of our common stock at the conversion rate determined by dividing (a) the sum of the portion of the principal to be converted and accrued and unpaid interest with respect to such principal by (b) the conversion price equal to $22.41 per share of our common stock. In October 2016, CareFirst elected to convert the full amount of the CareFirst Convertible Note into 892,458 shares of our common stock with a conversion price equal to $22.41 per share. In addition, CareFirst had an opportunity to earn warrants to purchase shares of our common stock ("CareFirst Warrants") based on achievement of certain quarterly thresholds for revenue derived from both the Commercial Agreements and from new business to us from third parties as a result of an introduction or referral to us by CareFirst. As discussed in Note 3, The following table summarizes the minimum annual principal payments and repayments of the revolving advances under the Credit Agreement and the Cash Convertible Notes for each of the next five years and thereafter : (In thousands) Year ending December 31, 2018 $ 150,000 2019 — 2020 — 2021 — 2022 — 2023 and thereafter — Total $ 150,000 |