Debt | Debt Long-term Debt and Capital and Financing Lease Obligations Long-term debt and capital and financing lease obligations consist of the following: December 31, (in thousands) 2017 2016 Mortgage notes payable due 2018 through 2047; weighted average interest rate of 4.59% in 2017, less debt discount and deferred financing costs of $16.6 million and $4.5 million in 2017 and 2016, respectively (weighted average interest rate of 4.50% in 2016) $ 3,497,762 $ 3,184,229 Capital and financing lease obligations payable through 2032; weighted average interest rate of 6.75% in 2017 (weighted average interest rate of 8.08% in 2016) 1,271,554 2,485,520 Convertible notes payable in aggregate principal amount of $316.3 million, less debt discount and deferred financing costs of $6.4 million and $20.9 million in 2017 and 2016, respectively, interest at 2.75% per annum, due June 15, 2018 309,853 295,397 Construction financing (weighted average interest rate of 8.00% in 2016) — 3,644 Other notes payable, weighted average interest rate of 5.98% in 2017 (weighted average interest rate of 5.33% in 2016) and maturity dates ranging from 2020 to 2021 63,122 76,377 Total long-term debt and capital and financing lease obligations 5,142,291 6,045,167 Less current portion 602,501 215,255 Total long-term debt and capital and financing lease obligations, less current portion $ 4,539,790 $ 5,829,912 As of December 31, 2017 and 2016 , the current portion of long-term debt within the Company's consolidated financial statements includes $30.1 million and $60.5 million , respectively, of mortgage notes payable secured by assets held for sale. This debt will either be assumed by the prospective purchasers or be repaid with the proceeds from the sales. Refer to Note 4 for more information about the Company's assets held for sale. The annual aggregate scheduled maturities of long-term debt and capital and financing lease obligations outstanding as of December 31, 2017 are as follows (in thousands): Year Ending December 31, Long-term Capital and Total 2018 $ 501,622 $ 576,388 $ 1,078,010 2019 328,515 137,047 465,562 2020 488,311 78,288 566,599 2021 338,632 61,841 400,473 2022 343,859 62,590 406,449 Thereafter 1,892,752 1,059,106 2,951,858 Total obligations 3,893,691 1,975,260 5,868,951 Less amount representing debt discount and deferred financing costs, net (22,954 ) — (22,954 ) Less amount representing interest (weighted average interest rate of 6.75%) — (703,706 ) (703,706 ) Total $ 3,870,737 $ 1,271,554 $ 5,142,291 The aggregate scheduled maturities of capital and financing lease obligations for the year ending December 31, 2018 include the $374.5 million carrying value of the financing lease obligations for 20 communities which were previously subject to sale-leaseback transactions in which the Company was deemed to have continuing involvement for accounting purposes. As described in Note 4, the leases for these communities have been amended to expire on or before November 1, 2018. Credit Facilities On December 19, 2014, the Company entered into a Fourth Amended and Restated Credit Agreement with General Electric Capital Corporation (which has since assigned its interest to Capital One Financial Corporation), as administrative agent, lender and swingline lender, and the other lenders from time to time parties thereto. The agreement currently provides for a total commitment amount of $400.0 million , comprised of a $400.0 million revolving credit facility (with a $50.0 million sublimit for letters of credit and a $50.0 million swingline feature to permit same day borrowing) and an option to increase the revolving credit facility by an additional $250.0 million , subject to obtaining commitments for the amount of such increase from acceptable lenders. The maturity date is January 3, 2020 , and amounts drawn under the facility bear interest at 90-day LIBOR plus an applicable margin from a range of 2.50% to 3.50% . The applicable margin varies based on the percentage of the total commitment drawn, with a 2.50% margin at utilization equal to or lower than 35% , a 3.25% margin at utilization greater than 35% but less than or equal to 50% , and a 3.50% margin at utilization greater than 50% . The quarterly commitment fee on the unused portion of the facility is 0.25% per annum when the outstanding amount of obligations (including revolving credit, swingline and term loans and letter of credit obligations) is greater than or equal to 50% of the total commitment amount or 0.35% per annum when such outstanding amount is less than 50% of the total commitment amount. Amounts drawn on the facility may be used to finance acquisitions, fund working capital and capital expenditures and for other general corporate purposes. The facility is secured by a first priority mortgage on certain of the Company's communities. In addition, the agreement permits the Company to pledge the equity interests in subsidiaries that own other communities (rather than mortgaging such communities), provided that loan availability from pledged assets cannot exceed 10% of loan availability from mortgaged assets. The availability under the line will vary from time to time as it is based on borrowing base calculations related to the appraised value and performance of the communities securing the facility. The agreement contains typical affirmative and negative covenants, including financial covenants with respect to minimum consolidated fixed charge coverage and minimum consolidated tangible net worth. A violation of any of these covenants could result in a default under the credit agreement, which would result in termination of all commitments under the agreement and all amounts owing under the agreement becoming immediately due and payable and could trigger cross default provisions in our other outstanding debt and lease agreements. As of December 31, 2017 , no borrowings were outstanding on the revolving credit facility and $41.8 million of letters of credit were outstanding under this credit facility. The Company also had separate unsecured letter of credit facilities of up to $64.5 million in the aggregate as of December 31, 2017 . Letters of credit totaling $64.4 million had been issued under these separate facilities as of December 31, 2017 . 2017 Financings In June 2017, the Company obtained a $54.7 million non-recourse addition and borrow-up loan, secured by first mortgages on seven communities. The loan bears interest at a fixed rate of 4.69% and matures on March 1, 2022 . Proceeds from the loan added to the Company's liquidity. In July 2017, the Company completed the refinancing of two existing loan portfolios secured by the non-recourse first mortgages on 22 communities. The $221.3 million of proceeds from the refinancing were primarily utilized to repay $188.1 million and $13.6 million of mortgage debt maturing in April 2018 and January 2021 , respectively. The mortgage facility has a 10 year term, and 70% of the principal amount bears interest at a fixed rate of 4.81% and the remaining 30% of the principal amount bears interest at a variable rate of 30-day LIBOR plus a margin of 244 basis points. In August 2017, the Company obtained $ 975.0 million of debt secured by the non-recourse first mortgages on 51 communities. Sixty percent of the principal amount bears interest at a fixed rate, with one half of such amount bearing interest at 4.43% and maturing in 2024 and the other one half bearing interest at 4.47% and maturing in 2027 . Forty percent of the principal amount bears interest at a variable rate equal to the 30-day LIBOR plus a margin of 241.5 basis points and matures in 2027 . The $ 975.0 million of proceeds from the refinancing were primarily utilized to repay $ 389.9 million and $228.9 million of outstanding mortgage debt scheduled to mature in August 2018 and May 2023 , respectively. The net proceeds from the refinancing activity added to the Company's liquidity. During the year ended December 31, 2017, the Company recorded $12.4 million of debt modification and extinguishment costs on the consolidated statement of operations for that period, primarily related to third party fees directly related to debt modifications. During 2017, the Company repaid $78.9 million of outstanding principal balance on four existing loan portfolios secured by the non-recourse first mortgages on 13 communities and the Nurse on Call business. The Company plans to repay debt maturing in the upcoming year, including the $316.3 million outstanding principal amount of convertible senior notes due June 15, 2018 , through current liquidity, future operating cash flows, and normal-course refinancings. 2016 Financings In March 2016, the Company obtained a $100.0 million supplemental loan, secured by first mortgages on ten communities. The loan bears interest at a fixed rate of 4.20% and matures on January 1, 2023. Proceeds from the loan were utilized to pay down a portion of the outstanding balance of the secured credit facility. In December 2016, the Company entered into a $105.0 million note, which bears interest at a fixed rate of 4.65% , and a $69.6 million note, which bears interest at a variable rate of 1-month LIBOR plus a margin of 258 basis points. The notes are secured by first mortgages on six communities and mature on January 1, 2027. Proceeds from the loan were primarily utilized to repay $164.4 million of mortgage debt. During the year ended December 31, 2016 , the Company recorded $9.2 million of debt modification and extinguishment costs on the consolidated statement of operations for that period, primarily related to prepayment penalties for debt extinguishments. Convertible Debt In June 2011, the Company completed a registered offering of $316.3 million aggregate principal amount of 2.75% convertible senior notes due June 15, 2018 (the "Notes"). As of December 31, 2017 , the $309.9 million carrying value of the Notes was included in the current portion of long-term debt within the consolidated balance sheet. It is the Company's current intent and policy to settle the principal amount of the Notes (or, if less, the amount of the conversion obligation) in cash upon conversion. The Company received net proceeds of approximately $308.2 million after the deduction of underwriting commissions and offering expenses. The Company used a portion of the net proceeds to pay the Company's cost of the convertible note hedge transactions described below, taking into account the proceeds to the Company of the warrant transactions described below, and used the balance of the net proceeds to repay existing outstanding debt. The Notes are senior unsecured obligations and rank equally in right of payment to all of the Company's other senior unsecured debt, if any. The Notes will be senior in right of payment to any of the Company's debt which is subordinated by its terms to the Notes (if any). The Notes are also structurally subordinated to all debt and other liabilities and commitments (including trade payables) of the Company's subsidiaries. The Notes are also effectively subordinated to the Company's secured debt to the extent of the assets securing the debt. The Notes bear interest at 2.75% per annum, payable semi-annually in cash. The Notes are convertible at an initial conversion rate of 34.1006 shares of Company common stock per $1,000 principal amount of Notes (equivalent to an initial conversion price of approximately $29.325 per share), subject to adjustment. On and after March 15, 2018, until the close of business on the second scheduled trading day immediately preceding the maturity date, holders may convert their Notes at any time. In addition, Holders may convert their Notes at their option under the following circumstances: (i) during any fiscal quarter if the last reported sale price of the Company's common stock for at least 20 trading days (whether or not consecutive) during a period of 30 consecutive trading days ending on the last trading day of the preceding fiscal quarter is greater than or equal to 130% of the applicable conversion price on the last day of such preceding fiscal quarter; (ii) during the five business day period after any five consecutive trading day period (the "measurement period"), in which the trading price per $1,000 principal amount of notes for each trading day of that measurement period was less than 98% of the product of the last reported sale price of the Company's common stock and the applicable conversion rate on each such day; or (iii) upon the occurrence of specified corporate events. As of December 31, 2017 , the Notes are not convertible. Unconverted Notes mature at par on June 15, 2018 . In addition, following certain corporate transactions, the Company will increase the conversion rate for a holder who elects to convert in connection with such transaction by a number of additional shares of common stock as set forth in the supplemental indenture governing the Notes. The Notes were issued in an offering registered under the Securities Act of 1933, as amended (Securities Act). In accordance with FASB guidance regarding the accounting for convertible debt instruments that may be settled in cash upon conversion (including partial settlement), the liability and equity components of the convertible debt are separated in a manner that will reflect the Company's non-convertible debt borrowing rate when interest expense is recognized in subsequent periods. The Company is accreting the carrying value to the principal amount at maturity using an imputed interest rate of 7.5% (the estimated effective borrowing rate for nonconvertible debt at the time of issuance, Level 2) over its expected life of seven years . As of December 31, 2017 , the "if converted" value of the Notes does not exceed their principal amount. The interest expense associated with the Notes (excluding amortization of the associated deferred financing costs) was as follows: For the Years Ended December 31, (in thousands) 2017 2016 2015 Coupon interest $ 8,697 $ 8,697 $ 8,697 Amortization of discount 13,586 12,625 11,732 Interest expense related to convertible notes $ 22,283 $ 21,322 $ 20,429 In connection with the offering of the Notes, in June 2011, the Company entered into convertible note hedge transactions (the "Convertible Note Hedges") with certain financial institutions (the "Hedge Counterparties"). The Convertible Note Hedges cover, subject to customary anti-dilution adjustments, 10,784,315 shares of common stock. The Company also entered into warrant transactions with the Hedge Counterparties whereby the Company sold to the Hedge Counterparties warrants to acquire, subject to customary anti-dilution adjustments, up to 10,784,315 shares of common stock (the "Sold Warrant Transactions"). The warrants have a strike price of $40.25 per share, subject to customary anti-dilution adjustments. The Convertible Note Hedges are expected to reduce the potential dilution with respect to common stock upon conversion of the Notes in the event that the price per share of common stock at the time of exercise is greater than the strike price of the Convertible Note Hedges, which corresponds to the initial conversion price of the Notes and is similarly subject to customary anti-dilution adjustments. If, however, the price per share of common stock exceeds the strike price of the Sold Warrant Transactions when they expire, there would be additional dilution from the issuance of common stock pursuant to the warrants. The Convertible Note Hedges and Sold Warrant Transactions are separate transactions (in each case entered into by the Company and Hedge Counterparties), are not part of the terms of the Notes and will not affect the holders' rights under the Notes. Holders of the Notes do not have any rights with respect to the Convertible Note Hedges or the Sold Warrant Transactions. These hedging transactions had a net cost of approximately $31.9 million , which was paid from the proceeds of the Notes and recorded as a reduction of additional paid-in capital. The Company has contractual rights, and, at execution of the related agreements, had the ability to settle its obligations under the conversion features of the Notes, the Convertible Note Hedges and Sold Warrant Transactions, with the Company's common stock. Accordingly, these transactions are accounted for as equity, with no subsequent adjustment for changes in the value of these obligations. Financial Covenants Certain of the Company’s debt documents contain restrictions and financial covenants, such as those requiring the Company to maintain prescribed minimum net worth and stockholders’ equity levels and debt service ratios, and requiring the Company not to exceed prescribed leverage ratios, in each case on a consolidated, portfolio-wide, multi-community, single-community and/or entity basis. In addition, the Company’s debt documents generally contain non-financial covenants, such as those requiring the Company to comply with Medicare or Medicaid provider requirements. The Company’s failure to comply with applicable covenants could constitute an event of default under the applicable debt documents. Many of the Company’s debt and lease documents contain cross-default provisions so that a default under one of these instruments could cause a default under other debt and lease documents (including documents with other lenders or lessors). Furthermore, the Company’s debt is secured by its communities and, in certain cases, a guaranty by the Company and/or one or more of its subsidiaries. As of December 31, 2017, the Company is in compliance with the financial covenants of its outstanding debt agreements. |