Year Ended December 31,
Year Ended December 31,
Year Ended December 31,
Year Ended December 31,
Year Ended December 31,
(In thousands)
2019
2018
2017
2019 $ Change from 2018
2018 $ Change from 2017
Net (loss) income
$ (182,602)
$ 407,807
$ (154,175)
$ (590,409)
$ 561,982
Less: Loss from discontinued operations
0
395,138
30,348
(395,138)
364,790
(Loss) income from continuing operations
(182,602)
12,669
(184,523)
(195,271)
197,192
Non-cash adjustments to net (loss) income
277,217
136,651
351,835
140,566
(215,184)
Cash impact of changes in operating assets and liabilities
(18,361)
(60,086)
57,746
41,725
(117,832)
Net cash provided by operating activities - continuing operations
76,254
89,234
225,058
(12,980)
(135,824)
Net cash (used in) provided by operating activities - discontinued operations
(30,000)
(21,343)
54,357
(8,657)
(75,700)
Net cash provided by operating activities
$ 46,254
$ 67,891
$ 279,415
$ (21,637)
$ (211,524)
operating cash flow activities .
year ended december 31 2019 compared with the year ended december 31 2018 .
net cash provided by operating activities – continuing operations decreased during the year ended december 31 2019 compared with prior year .
the decrease in income from operations and the increase in non-cash adjustments to net income in 2019 partially related to the absence in the gains on sale of divestitures such as onecontent in 2018 .
the increase in non-cash adjustments to net loss in 2019 also related to higher depreciation and the amortization of right-to-use assets .
the net loss and the cash impact of changes in operating assets and liabilities during 2019 reflects the $ 145 million settlement with the doj in connection with the practice fusion investigations .
net cash used in operating activities – discontinued operations during the year ended december 31 2019 reflects an advance income tax payment related to the gain realized on the sale of our investment in netsmart on december 31 2018 .
year ended december 31 2018 compared with the year ended december 31 2017 .
net cash provided by operating activities – continuing operations decreased during the year ended december 31 2018 compared with the prior year primarily due to working capital changes and higher costs during the year ended december 31 2018 compared with the prior year which primarily included higher interest expense transaction-related and legal expenses and incentive-based compensation payments .
the decrease in non-cash adjustments to net loss was primarily driven by lower non-cash impairment charges associated with long-term investments intangibles and goodwill during the year ended december 31 2018 compared with the prior year .
net cash provided by operating activities – discontinued operations decreased during the year ended december 31 2018 compared with the prior year primarily driven by the additional tax provision relating to the gain from the sale of our investment in netsmart on december 31 2018 .
netsmart generated cash from operations during both 2018 and 2017 .
during 2018 netsmart ’ s cash provided by operations decreased by approximately $ 16 million primarily driven by higher interest expenses paid attributable to netsmart ’ s credit facilities .

Question: What led to decreased Net cash provided by operating activities – continuing operations during the year ended December 31, 2018 compared to the prior year?
Answer: due to working capital changes and higher costs during the year ended December 31, 2018 compared with the prior year, which primarily included higher interest expense, transaction-related and legal expenses, and incentive-based compensation payments.