Summary of Significant Accounting Policies | Summary of Significant Accounting Policies Basis of Presentation. The accompanying consolidated financial statements include our accounts and those of all of our consolidated subsidiaries. All intercompany transactions and balances with or among our consolidated subsidiaries have been eliminated. Use of Estimates. Preparation of these financial statements in conformity with accounting principles generally accepted in the United States requires us to make estimates and assumptions that may affect the amounts reported in these financial statements and related notes. Some significant estimates are included in our revenue recognition, including contractual allowances, the allowance for doubtful accounts, self insurance reserves, long lived assets, and estimates concerning our provisions for income taxes. Our actual results could differ from our estimates. We periodically review estimates and assumptions and we reflect the effects of changes, if any, in the consolidated financial statements in the period that they are determined. Earnings Per Share. We calculate basic earnings per common share, or EPS, by dividing net income (loss) by the weighted average number of common shares outstanding during the year. We calculate diluted EPS using the more dilutive of the two-class method or the treasury stock method. Cash and Cash Equivalents. Cash and cash equivalents, consisting of short term, highly liquid investments and money market funds with original maturities of three months or less at the date of purchase, are carried at cost plus accrued interest, which approximates market. Equity Method Investments. As of December 31, 2018 , we and six other shareholders each owned approximately 14.3% of the outstanding equity of Affiliates Insurance Company, or AIC. Although we owned less than 20% of AIC, we use the equity method to account for this investment because we believe that we have significant influence over AIC, as all of our Directors are also directors of AIC. Under the equity method, we recorded our percentage share of net earnings from AIC in our consolidated statements of operations. If we determine there is an “other than temporary impairment” in the fair value of this investment, we would record a charge to earnings. In evaluating the fair value of this investment, we have considered, among other things, the assets and liabilities held by AIC, AIC’s overall financial condition and earning trends, and the financial condition and prospects for the insurance industry generally. As of December 31, 2018 , we have invested $6,034 in AIC. Equity and Debt Investment. On January 1, 2018, we adopted FASB ASU, No. 2016-01, Recognition and Measurement of Financial Assets and Financial Liabilities, which changes how entities measure certain equity investments and present changes in the fair value of financial liabilities measured under the fair value option that are attributable to their own credit. Prior to our adoption of this ASU, we recorded changes in the fair value of our equity investments through other comprehensive income. Pursuant to this ASU, these changes will now be recorded through earnings. We adopted this ASU using the cumulative effect adjustment method and recorded an adjustment of $1,107 on January 1, 2018 to accumulated other comprehensive income and accumulated deficit in our consolidated balance sheets. Equity investments are carried at fair value with changes in fair value recorded in earnings. At December 31, 2018, these equity investments had a fair value of $5,466 and a net unrealized holding gain of $419 . At December 31, 2017, these equity investments had a fair value of $6,438 and a net unrealized holding gain of $1,107 . Debt investments are carried at fair value, with unrealized gains and losses reported as a separate component of shareholders’ equity and “other than temporary impairment” losses recorded through earnings. Realized gains and losses on debt investments are recognized based on specific identification. Restricted debt investments are kept as security for obligations arising from our self insurance programs. At December 31, 2018 , these debt investments had a fair value of $22,785 and a net unrealized holding gain of $979 . At December 31, 2017 , these debt investments had a fair value of $26,844 and a net unrealized holding gain of $1,255 . In 2018 and 2017 , our debt and equity investments generated interest and dividend income of $818 and $762 , respectively, which is included in interest, dividend and other income in our consolidated statements of operations. The following table summarizes the fair value and gross unrealized losses related to our debt investments, aggregated by investment category and length of time that individual securities have been in a continuous unrealized loss position for the years ended: December 31, 2018 Less than 12 months Greater than 12 months Total Fair Value Unrealized Loss Fair Value Unrealized Fair Value Unrealized Debt investments $ 1,688 $ 31 $ 12,234 $ 265 $ 13,922 $ 296 December 31, 2017 Less than 12 months Greater than 12 months Total Fair Value Unrealized Fair Value Unrealized Fair Value Unrealized Debt investments $ 12,562 $ 113 $ 2,253 $ 33 $ 14,815 $ 146 We routinely evaluate our debt investments to determine if they have been impaired. If the fair value of a debt investment is less than its book or carrying value and we expect that situation to continue for a more than temporary period, we will record an “other than temporary impairment” loss in our consolidated statements of operations. We evaluate the fair value of our debt investments by reviewing each investment's current market price, the ratings of the investment, the financial condition of the issuer and our intent and ability to retain the investment during temporary market price fluctuations or until maturity. In evaluating the factors described above, we presume a decline in value to be an “other than temporary impairment” if the quoted market price of the investment is below the investment's cost basis for an extended period. However, this presumption may be overcome if there is persuasive evidence indicating the value decline is temporary in nature, such as when the operating performance of the obligor is strong or if the market price of the investment is historically volatile. Additionally, there may be instances in which impairment losses are recognized even if the decline in value does not meet the criteria described above, such as if we plan to sell the investment in the near term and the fair value is below our cost basis. When we believe that a change in fair value of a debt investment is temporary, we record a corresponding credit or charge to other comprehensive income for any unrealized gains and losses. When we determine that impairment in the fair value of a debt investment is an “other than temporary impairment”, we record a charge to earnings. We did not record such an impairment charge for the years ended December 31, 2018 and 2017 . Restricted Cash. Restricted cash as of December 31, 2018 and 2017 includes cash that we deposited as security for obligations arising from our self insurance programs and other amounts for which we are required to establish escrows including real estate taxes and capital expenditures as required by our mortgages and certain resident security deposits. 2018 2017 Current Long term Current Long term Insurance reserves $ 691 $ 923 $ 1,095 $ 1,476 Real estate taxes and capital expenditures as required by our mortgages 483 — 1,161 — Resident security deposits 612 — 655 — Workers' compensation letter of credit collateral 17,934 — 17,836 — Total $ 19,720 $ 923 $ 20,747 $ 1,476 Accounts Receivable and Allowance for Doubtful Accounts. We record accounts receivable at their estimated net realizable value. Included in accounts receivable as of December 31, 2018 and 2017 are amounts due from the Medicare program of $8,821 and $9,558 , respectively, and amounts due from various state Medicaid programs of $12,757 and $13,059 , respectively. We estimate allowances for uncollectible amounts and contractual allowances based upon factors which include, but are not limited to, the age of the receivable and the terms of the agreements, the residents’ or third party payers’ stated intent to pay, the payers’ financial capacity to pay and other factors which may include likelihood and cost of litigation. Accounts receivable allowances are estimates. We periodically review and revise these estimates based on new information and these revisions may be material. Our allowance for doubtful accounts consists of the following: Balance January 1, 2017 $ 3,191 Provision for doubtful accounts 4,697 Write-offs (4,316 ) Balance December 31, 2017 3,572 Provision for doubtful accounts 4,904 Write-offs (5,054 ) Balance December 31, 2018 $ 3,422 Deferred Finance Costs. We capitalize issuance costs related to our secured revolving credit facility, or our credit facility, and amortize the deferred costs over the term of the agreements. Our unamortized balance of deferred finance costs was $187 and $1,377 at December 31, 2018 and 2017 , respectively, of which $187 and $635 was included in other current assets on our consolidated balance sheets as of December 31, 2018 and 2017 , respectively, and $0 and $742 was included in other long term assets on our consolidated balance sheets as of December 31, 2018 and 2017 , respectively. In connection with an amendment to the agreement governing our credit facility, or our credit agreement, in December 2018, we wrote off $554 in deferred financing fees in the fourth quarter of 2018 and recorded such amount to interest and other expense in our consolidated statements of operations. See Note 8 for more information on our credit facility. At December 31, 2018 , the weighted average amortization period remaining, related to our finance costs, is less than one year. Property and Equipment. Property and equipment is stated at cost, less accumulated depreciation. We record depreciation on property and equipment on a straight line basis over estimated useful lives of up to 40 years for buildings, up to 15 years for building improvements and up to seven years for personal property. We regularly evaluate whether events or changes in circumstances have occurred that could indicate impairment in the value of our long lived assets. If there is an indication that the carrying value of an asset is not recoverable, we determine the amount of impairment loss, if any, by comparing the historical carrying value of the asset to its estimated fair value. We determine estimated fair value through an evaluation of recent financial performance, recent transactions for similar assets, market conditions and projected cash flows using standard industry valuation techniques. Legal Proceedings and Claims. We have been, are currently, and expect in the future to be involved in claims, lawsuits, and regulatory and other government audits, investigations and proceedings arising in the ordinary course of our business, some of which may involve material amounts. Also, the defense and resolution of these claims, lawsuits, and regulatory and other government audits, investigations and proceedings may require us to incur significant expense. We account for claims and litigation losses in accordance with FASB, Accounting Standards Codification ™ , or ASC, Topic 450, Contingencies . Under FASB ASC Topic 450, loss contingency provisions are recorded for probable and estimable losses at our best estimate of a loss or, when a best estimate cannot be made, at our estimate of the minimum loss. These estimates are often developed prior to knowing the amount of the ultimate loss, require the application of considerable judgment, and are refined as additional information becomes known. Accordingly, we are often initially unable to develop a best estimate of loss and therefore the estimated minimum loss amount, which could be zero , is recorded; then, as information becomes known, the minimum loss amount is updated, as appropriate. Occasionally, a minimum or best estimate amount may be increased or decreased when events result in a changed expectation. Self Insurance. We self insure up to certain limits for workers’ compensation, professional and general liability claims, automobile claims and property losses. Claims in excess of these limits are insured up to contractual limits, over which we are self insured. We fully self insure all health related claims for our covered employees. We have established an offshore captive insurance company subsidiary which participates in our workers’ compensation and professional and general liability insurance programs. Determining reserves for the casualty, liability, workers’ compensation and healthcare losses and costs that we have incurred as of the end of a reporting period involves significant judgments based upon our experience and our expectations of future events, including projected settlements for pending claims, known incidents that we expect may result in claims, estimates of incurred but not yet reported claims, expected changes in premiums for insurance provided by insurers whose policies provide for retroactive adjustments, estimated litigation costs and other factors. Since these reserves are based on estimates, the actual expenses we incur may differ from the amount reserved. We regularly adjust these estimates to reflect changes in the foregoing factors, our actual claims experience, recommendations from our professional consultants, changes in market conditions and other factors; it is possible that such adjustments may be material. Our total self insurance reserves were $67,534 and $66,945 as of the year ended December 31, 2018 and 2017 , respectively, and are included in accrued compensation and benefits, other current liabilities and accrued self insurance obligations in our consolidated balance sheets. Continuing Care Contracts. Residents at one of our communities may enter continuing care contracts with us. We offer one form of continuing care contract to new residents at this community. This form of contract provides that 10% of the resident admission fee becomes non‑refundable upon occupancy, and the remaining 90% becomes non-refundable at the rate of 1.5% per month of the original amount over the subsequent 60 months . Four other forms of continuing care contracts are in effect for existing residents but are not offered to new residents. One historical form of contract provides that the resident admission fee is 10% non-refundable upon occupancy and 90% refundable. The second historical form of contract provides that the resident admission fee is 100% refundable. The third historical form of contract provides that the resident admission fee is 1% refundable and 99% non-refundable upon admission. The fourth historical form of contract provides that 30% of the resident admission fee is non-refundable upon occupancy and 70% is refundable. In each case, we amortize the non-refundable part of these fees into revenue over the actuarially determined remaining life of the resident, which is the expected period of occupancy by the resident. We pay refunds of these admission fees to the extent refundable under the contract when residents relocate from our communities. We report the refundable amount of these admission fees as current liabilities and the non‑refundable amount as deferred revenue, a portion of which is classified as a current liability. The balance of our refundable admission fees as of December 31, 2018 and 2017 were $755 and $1,142 , respectively, and were included in security deposits and current portion of continuing care contracts on our consolidated balance sheets. The balance of non-refundable admission fees as of December 31, 2018 and 2017 were $1,119 and $1,154 , respectively, of which $863 and $898 , respectively, were included in other long term liabilities on our consolidated balance sheets. Leases. On the inception date of a lease and upon any relevant amendments to such lease, we test the classification of such lease as either a capital lease or an operating lease. None of our leases have met any of the criteria to be classified as a capital lease under FASB ASC Topic 840, Leases , or ASC Topic 840, and, therefore, we have accounted for all of our leases as operating leases. Other aspects of our lease accounting policies relate to the accounting for sale leaseback transactions, including the appropriate amortization of related deferred liabilities and any deferred gains or losses, and the accounting for lease incentives. Taxes. FASB ASC Topic 740, Income Taxes , prescribes how we should recognize, measure and present in our consolidated financial statements uncertain tax positions that have been taken or are expected to be taken in a tax return. We can recognize a tax benefit only if it is “more likely than not” that a particular tax position will be sustained upon examination or audit. To the extent the “more likely than not” standard has been satisfied, the benefit associated with a tax position is measured as the largest amount that has a greater than 50% likelihood of being realized. We pay franchise taxes in certain states in which we have operations. We have included franchise taxes in general and administrative and other senior living operating expenses in our consolidated statements of operations. We account for income taxes under the asset and liability method, which requires the recognition of deferred tax assets and liabilities for the expected future tax consequences to be included in our financial statements. Under this method, deferred tax assets and liabilities are determined on the basis of the differences between the financial statement and tax bases of assets and liabilities using enacted tax rates in effect for the year in which the differences are expected to reverse, while the effect of a change in tax rates on deferred tax assets and liabilities is recognized in income in the period that includes the enactment date. We recognize deferred tax assets to the extent that we believe these assets are more likely than not to be realized. In making such a determination, we consider all available positive and negative evidence, including future reversals of existing taxable temporary differences, projected future taxable income, tax-planning strategies and results of recent operations. In the future, if we determine that we would be able to realize our deferred tax assets in excess of their net recorded amount, we would make an adjustment to the deferred tax asset valuation allowance and record an income tax benefit. Fair Value of Financial Instruments. Our financial instruments are limited to cash and cash equivalents, accounts receivable, debt and equity investments, accounts payable and mortgage notes payable. Except for our mortgage debt, the fair value of these financial instruments was not materially different from their carrying values at December 31, 2018 and 2017 . We estimate the fair values of our mortgage debt using market quotes when available, discounted cash flow analyses and current prevailing interest rates. Revenue Recognition. On January 1, 2018, we adopted FASB ASC Topic 606, Revenue from Contracts with Customers, or ASC Topic 606, under the modified retrospective approach applied to certain contracts which were not completed as of December 31, 2017 using the practical expedient in paragraph 606-10-10-4 that allows for the use of a portfolio approach, because we determined that the effect of applying the guidance to our portfolios of contracts within the scope of ASC Topic 606 on our consolidated financial statements would not differ materially from applying the guidance to each individual contract within the respective portfolio or our performance obligations within that portfolio. This approach will also be used for future contract modifications, if any. The five step model defined by ASC Topic 606 requires us to: (1) identify our contracts with customers, (2) identify our performance obligations under those contracts, (3) determine the transaction prices of those contracts, (4) allocate the transaction prices to our performance obligations in those contracts and (5) recognize revenue when each performance obligation under those contracts is satisfied. Revenue is recognized when promised goods or services are transferred to the customer in an amount that reflects the consideration expected in exchange for those goods or services. Our adoption of ASC Topic 606 did not result in an adjustment to our retained earnings and did not have a material impact on the amount and timing of our revenue recognition for the year ended December 31, 2018 . A substantial portion of our revenue relates to contracts with residents for housing services that are generally short term in nature and fall under ASC Topic 840, which are specifically excluded from the scope of ASC Topic 606. Our contracts with residents and other customers that are within the scope of ASC Topic 606 are also generally short term in nature. We have determined that services performed under those contracts are considered one performance obligation in accordance with ASC Topic 606 as such services are regarded a series of distinct events with the same timing and pattern of transfer to the resident or customer. Revenue is recognized for those contracts when our performance obligation is satisfied by transferring control of the service provided to the resident or customer, which is generally when the services are provided over time. Senior Living Revenue. Resident fees at our independent living and assisted living communities consist of regular monthly charges for basic housing and support services and fees for additional requested services, such as assisted living services, personalized health services and ancillary services. Fees are specified in our agreements with residents, which are generally short term (30 days to one year), with regular monthly charges billed in advance. Funds received from residents in advance of services being provided are not material to our consolidated financial statements. Some of our senior living communities require payment of an entrance fee in advance of a resident moving into the community; substantially all of these community fees are non-refundable and are initially recorded as deferred revenue and included in other current liabilities in our consolidated balance sheets. These deferred amounts then are amortized on a straight line basis into revenue over the term of the resident agreement. Revenue recorded and deferred in connection with community fees is not material to our consolidated financial statements. A substantial portion of our senior living revenue related to housing services falls under ASC Topic 840, and is recorded on a straight line basis over the term of the resident agreement. Revenue for additional requested services is recognized in accordance with ASC Topic 606 and measured based on the consideration specified in the resident agreement and is recorded when the services are provided. In our SNFs and certain of our independent and assisted living communities where we provide SNF services, we are paid fixed daily rates from governmental and contracted third party payers, and we charge a predetermined fixed daily rate for private pay residents. These fixed daily rates and certain other fees are billed monthly in arrears. Although there are complex regulatory compliance rules governing fixed daily rates, we have no episodic payments or capitation arrangements. We currently use the “most likely amount” technique to estimate revenue in accordance with ASC Topic 606, although rates are generally known and considered fixed prior to services being performed, whether included in the resident agreement or contracted with governmental or third party payers. Rate adjustments from Medicare or Medicaid are recorded when known (without regard to when the assessment is paid or withheld), and subsequent adjustments to these amounts are recorded in revenues when known. Billings under certain of these programs are subject to audit and possible retroactive adjustment, and related revenue is recorded at the amount we ultimately expect to receive, which is inclusive of the estimated retroactive adjustments or refunds, if any, under reimbursement programs. Retroactive adjustments are recorded on an estimated basis in the period the related services are rendered and adjusted in future periods or as final settlements are determined. Revenue is recognized when performance obligations are satisfied by transferring control of the service provided to the resident, which is generally when services are provided over the duration of care. We derived approximately 23.3% and 22.9% of our senior living revenues for the years ended December 31, 2018 and 2017, respectively, from payments under Medicare and Medicaid programs. Management Fee Revenue and Reimbursed Costs Incurred on Behalf of Managed Communities. We manage senior living communities for the account of Senior Housing Properties Trust, or, together with its subsidiaries, SNH, pursuant to long term management agreements which provide for periodic management fee payments to us and reimbursement for our direct costs and expenses related to such communities. Management fees are determined by an agreed upon percentage of gross revenues (as defined) and recognized in accordance with ASC Topic 606 in the same period that we provide the management services to SNH, generally monthly. FASB ASU No. 2016-08, Revenue from Contracts with Customers (Topic 606): Principal versus Agent Considerations (Reporting Revenue Gross versus Net) , which we adopted effective January 1, 2018, clarifies how an entity should identify the unit of accounting for the principal versus agent evaluation and how it should apply the control principle to certain types of arrangements, such as service transactions. Where we are the primary obligor and therefore control the transfer of the goods and services with respect to any such operating expenses incurred in connection with the management of these communities, we recognize revenue when the goods have been delivered or the service has been rendered and we are due to be reimbursed from SNH. Such revenue is included in reimbursed costs incurred on behalf of managed communities in our consolidated statements of operations. The related costs are included in costs incurred on behalf of managed communities in our consolidated statements of operations. Amounts due from SNH related to management fees and reimbursed costs incurred on behalf of managed communities are included in due from related persons in our consolidated balance sheets. The following table presents revenue disaggregated by type of contract and payer: Year Ended December 31, 2018 Leasing revenue (1) 649,493 Revenue from contracts with customers: Medicare and Medicaid programs (1) 255,032 Additional requested services, and private pay and other third party payer SNF services (1) 189,879 Management fee revenue 15,145 Reimbursed costs incurred on behalf of managed communities 280,845 740,901 Total revenues 1,390,394 (1) Included in senior living revenue in our consolidated statements of operations. One-time Employee Termination Benefits. FASB ASC Topic 420, Exit or Disposal Cost Obligations , or ASC Topic 420, specifies the criteria for recognizing a one-time employee termination arrangement. In connection with the resignation of Bruce J. Mackey Jr. as our president and chief executive officer, we and The RMR Group LLC, or RMR LLC, entered into a separation agreement with Bruce Mackey on December 11, 2018. Pursuant to this separation agreement, Bruce Mackey will remain an employee of us and RMR LLC until December 31, 2019, or such earlier date as he may elect, he received a cash payment from us in January 2019 in the amount of $600 and will receive release payments in the aggregate amount of $550 , paid in four equal quarterly installments starting in March 2019 and ending in December 2019, transition payments at the rate of $10 per month from January 1, 2019 until December 31, 2019, and certain other employee benefits, subject to him signing a customary release. RMR LLC has agreed to pay 20.0% and we have agreed to pay 80.0% of the transition payments and release payments payable to Bruce Mackey pursuant to this separation agreement. Our arrangement with Bruce Mackey meets the criteria in ASC Topic 420, and, as a result, we recorded the full severance cost of $1,160 in the year ended December 31, 2018, which is included in general and administrative expenses in our consolidated statements of operations. In addition, all of our unvested common stock previously awarded to Bruce Mackey will vest in full upon the date of his separation from us, subject to conditions. In connection with the termination, effective December 12, 2018, of the employment of our former senior vice president of senior living operations with us, we entered into a letter agreement with him on December 27, 2018. Pursuant to the letter agreement, we made a cash payment to him in the amount of $510 on January 11, 2019. Our arrangement with our former senior vice president, senior living operations meets the criteria in ASC Topic 420, and, as a result, we recorded the full severance cost of $510 in the year ended December 31, 2018, which are included in general and administrative expenses in our consolidated statements of operations. Reclassifications. We have made reclassifications to the prior years’ financial statements to conform to the current year’s presentation. These reclassifications had no effect on net loss or shareholders’ equity. Recent Accounting Pronouncements. On January 1, 2018, we adopted FASB ASU No. 2016-01, Recognition and Measurement of Financial Assets and Financial Liabilities, which changes how entities measure certain equity investments and present changes in the fair value of financial liabilities measured under the fair value option that are attributable to their own credit. AIC, a private company in which we have an equity investment, chose to early adopt this ASU during the second quarter of 2018, and therefore we recorded a cumulative effect adjustment of $840 to accumulated other comprehensive income and accumulated deficit in our consolidated balance sheets to reflect our share of AIC's adjustment to its equity investments. See the discussion above under “Equity and Debt Investments” for more information regarding the impact of these ASUs on our consolidated financial statements. See Note 14 for more information regarding our arrangements with AIC. In May 2014, the FASB issued ASU No. 2014-09, Revenue from Contracts with Customers (Topic 606) , which outlines a comprehensive model for entities to use in accounting for revenue arising from contracts with customers. In March 2016, the FASB issued ASU No. 2016-08, Revenue from Contracts with Customers (Topic 606): Principal versus Agent Considerations (Reporting Revenue Gross versus Net) , which clarifies how an entity should identify the unit of accounting for the principal versus agent evaluation and how it should apply the control principle to certain types of arrangements, such as service transactions. Additionally, real estate sales are within the scope of ASU No. 2014-09, as amended by ASU No. 2017-05, Other Income - Gains and Losses from the Derecognition of Nonfinancial Assets . Under these ASUs, income recognition for real estate sales is primarily based on the transfer of control of the real estate rather than the continuing involvement in the real estate under the current guidance. As a result, more of our transactions may qualify as real estate sales and we may be required to recognize gains or losses sooner. We adopted these ASUs on January 1, 2018 using the modified retrospective approach. The adoption of these ASUs did not result in any adjustment to our initial retained earnings and did not result in any significant change to the amount and timing of our revenue recognition. The adoption of these ASUs did result in expanded disclosures related to the nature, amount, timing and uncertainty of our revenue and cash flows arising from our contracts with customers that are included within the scope of these ASUs. See also the discussion above under “Revenue Recognition” for more information regarding the impact of these ASUs on our consolidated financial statements. On January 1, 2018, we adopted FASB ASU No. 2016-15, Statement of Cash Flows (Topic 230): Classification of Certain Cash Receipts and Cash Payments , which clarif |