{'fraction_non_alphanumeric': 0.03200646787463737, 'fraction_numerical': 0.01759642364578875, 'mean_word_length': 5.307138572285543, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 1, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Case-control study of neuropsychiatric symptoms in electronic health records following COVID-19 hospitalization in 2 academic health systems

Neuropsychiatric symptoms may persist following acute COVID-19 illness, but the extent to which these symptoms are specific to COVID-19 has not been established. We utilized electronic health records across 6 hospitals in Massachusetts to characterize cohorts of individuals discharged following admission for COVID-19 between March 2020 and May 2021, and compared them to individuals hospitalized for other indications during this period. Natural language processing was applied to narrative clinical notes to identify neuropsychiatric symptom domains up to 150 days following hospitalization, in addition to those reflected in diagnostic codes as measured in prior studies. Among 6619 individuals hospitalized for COVID-19 drawn from a total of 42,961 hospital discharges, the most commonly-documented symptom domains between 31 and 90 days after initial positive test were fatigue (13.4%), mood and anxiety symptoms (11.2%), and impaired cognition (8.0%). In regression models adjusted for sociodemographic features and hospital course, none of these were significantly more common among COVID-19 patients; indeed, mood and anxiety symptoms were less frequent (adjusted OR 0.72 95% CI 0.64–0.92). Between 91 and 150 days after positivity, most commonly-detected symptoms were fatigue (10.9%), mood and anxiety symptoms (8.2%), and sleep disruption (6.8%), with impaired cognition in 5.8%. Frequency was again similar among non-COVID-19 post-hospital patients, with mood and anxiety symptoms less common (aOR 0.63, 95% CI 0.52–0.75). Propensity-score matched analyses yielded similar results. Overall, neuropsychiatric symptoms were common up to 150 days after initial hospitalization, but occurred at generally similar rates among individuals hospitalized for other indications during the same period. Post-acute sequelae of COVID-19 may benefit from standard if less-specific treatments developed for rehabilitation after hospitalization.


INTRODUCTION
For a subset of individuals infected with SARS-CoV-2, symptoms may persist from 30 days to 6 months or more following acute COVID-19 illness. While nearly every organ system may be impacted by such symptoms, symptoms arising from central nervous system pathology may be particularly prominent, even in the absence of evidence of direct SARS-CoV-2 involvement of the nervous system [1]. In the largest study to date, among more than 73,000 individuals diagnosed with but not initially hospitalized for COVID-19 in the Veterans Administration health system, rates of psychiatric and neurocognitive diagnoses, as well as pharmacotherapies used to treat them, were markedly elevated compared to a control cohort of >5 million not diagnosed with COVID-19 [2], effects recently shown to persist at 12 months [3]. A complementary study utilizing claims data for~27,000 individuals age 18-65 with a COVID-19 diagnosis in the US similarly found elevated rates of memory complaints, anxiety, and fatigue compared to matched controls [4], as did another US claims data set among more than 200 000 COVID survivors which found elevated rates of anxiety, dementia, and psychotic disorders [5]. These results comport with patient-driven self-reports, such as an app-based study of~4000 individuals in whom fatigue and headaches were the most common symptoms among the 13% with symptoms persisting beyond 28 days [6]. Smaller-scale follow-up studies with systematic assessments have also started to emerge, with one such study showing cognitive and psychiatric sequelae to be common at 1 year [7]. And, most recently, a large imaging study indicated brain changes in COVID survivors, including regional volume losses that may be consistent with neurodegeneration [8].
Consideration of hospitalized cohorts may facilitate estimates of risk among individuals with more severe illness. In the first such study, a 6-months follow-up of~1700 COVID-19-hospitalized patients in Wuhan, China, found rates of sleep disruption, anxiety, and depression to be markedly elevated, along with fatigue and dyspnea [9]. Elevated rates of brain-related sequelae were also observed in a VA cohort of more than 13,000 individuals hospitalized for COVID-19, matched 1:1 to those hospitalized for influenza [2].
While these and other studies indicate that neuropsychiatric post-acute sequelae of COVID-19 (PASC) are common, what is less clear is how specific such symptoms may be. That is, to what extent might they reflect the consequences of any acute and highly morbid illness, rather than COVID-19 in particular. This distinction is more than semantic: if they are specific to COVID-19, efforts to dissect pathophysiology may be particularly important in understanding how to treat them. On the other hand, if they are not, such efforts may be less useful than simply applying standard approaches to rehabilitation following hospitalization. For example, a small study suggested that the pattern of neuropsychiatric deficits immediately following hospitalization was non-specific and resembled that observed in individuals without COVID-19 [10]. A large claims study found association between greater COVID-19 severity and risk of sequelae-but did not examine specificity of this effect [5].
In understanding specificity, derivation of appropriate comparator groups is critical. While methods such as propensityscore matching are powerful, they rely on availability of a sufficient number of patients on-support-i.e., similar enoughto enable matching. Moreover, convergent evidence using other health systems and designs can increase confidence in the robustness of prior results, even when earlier studies conducted abundant sensitivity analysis [2]. Therefore, we utilized data from 6 Massachusetts hospitals across 2 academic medical centers to examine post-hospitalization neuropsychiatric symptoms. Our work differs from most prior work in two key ways. First, we sought to capture symptoms, not solely diagnostic codes, recognizing that symptoms may be present even if not associated with a formal diagnosis. In the case of COVID-19 sequelae, a formal ICD-10 code was not authorized by the National Center for Health Statistics for use until 18 months into the pandemic [11], and individual symptoms may not be wellcaptured with existing codes. To address this gap, we applied natural language processing (NLP) to capture individual symptoms, and examined the overlap between such symptoms and corresponding diagnostic codes. Second, we considered all individuals hospitalized at the same time as COVID-19, adjusting for sociodemographic and clinical features, rather than matching on specific diagnoses such as influenza. This allows us to answer the question, 'are post-acute sequelae of COVID-19 different from post-hospital sequelae in general?' In both respects, we leveraged electronic health records to investigate post-acute neuropsychiatric sequelae of COVID-19 in a manner that complements and extends recent large claims or diagnostic code-based studies.

Study design and cohort derivation
We utilized a retrospective cohort design that included any individual age 18-99 with documented polymerase chain reaction (PCR) test result, positive or negative, who was admitted emergently from any of 6 Eastern Massachusetts hospitals between March 1, 2020 and May 15, 2021. Labor and delivery and other elective admissions were not included in the analysis. We further required that patients are discharged alive within 30 days of test-positivity, to yield a more homogeneous follow-up cohort. Narrative clinical notes from any in-or outpatient provider, ICD10 diagnostic codes and sociodemographic features were extracted from the Mass General Brigham Research Patient Data Registry (RPDR) [12] and used to generate a datamart [13]. As an aggregate measure of illness burden prior to admission, we calculated a comorbidity index using methods previously described [14]. To characterize inpatient course, intensive care unit admission and use of mechanical ventilation were determined from the enterprise data warehouse.
The Human Research Committee of Mass General-Brigham approved this research protocol, granting a waiver of requirement for informed consent as detailed by 45 CFR 46.116, because only secondary use of data generated by routine clinical care was required.

Phenotype generation
To generate symptom domains, we applied a simple natural language processing (NLP) strategy that we have successfully applied in abundant prior work examining clinical and biological associations with neuropsychiatric symptoms (see, e.g., McCoy and Barroilhet [15,16]). NLP refers to using computational methods to extract concepts from text (i.e., natural language) rather than relying solely on coded data such as ICD-10 diagnoses. Two of the authors (RP, VC) manually and iteratively curated token lists (i.e., lists of terms that may represent individual symptoms) using terms expanded from a large self-report survey [6,17] to include common synonyms (Supplementary Table 1), reviewing randomly-selected concept-positive and concept-negative notes to refine the token list. This strategy yields a list of words that represent the likely presence of a given symptom. Presence of at least one such term, without negation (e.g., "not depressed", "no evidence of depression") and exclusive of the family history or patient instruction sections of notes, was considered as presence of a documented symptom or sign. To maximize sensitivity to symptoms, we also identified ICD-10 symptom codes (ICD10: R*) corresponding to each symptom domain and combined them with the NLP data (Supplementary Table 2). Thus, presence of a symptom could reflect either documentation or presence of a code. Full token lists and ICD-10 codes used are provided in Supplementary Materials. For 3 symptoms (anosmia, headache, and fatigue) for which ICD-10 codes are available that correspond to symptoms, we compared sensitivity and specificity of the NLP tokens and ICD-10 codes to "gold standard" admissions (Supplementary Table 3) based on consensus of two of the authors (RP, VC).

Analysis
We examined frequency of at least one symptom in a given domain among SARS-CoV-2 PCR test-positive and negative individuals, and then compared these frequencies using logistic regression, without and then with adjustment for sociodemographic features and characteristics of hospital course. Specifically, models were adjusted for hospital type, age at admission, race, Hispanic ethnicity, public insurance, Charlson comorbidity index, ICU admission and mechanical ventilation. (We do not report coefficients for covariates as our intention was not to estimate risk factors for subsequent symptoms per se). These data were not missing for any individuals. For each neuropsychiatric symptom domain, we examined acute (14 days prior to testing through 30 days after testing), 31-90 day, and 91-150 day presence; individuals were only included in analysis if at least one note or diagnostic code was available in that interval and there was sufficient follow-up for each time period. For each symptom we excluded patients with a prior history of that symptom (occurring 18 months to 14 days prior to COVID index date) so that symptoms reported are incident-i.e., not previously documented. So, for example, an individual with anxiety documented prior to 14 days before COVID test date would not be included in analyses of anxiety, in order to examine new symptom onset. As a sensitivity analysis we used propensity score matching as an alternate means of controlling for covariates. COVID positive admissions were matched 3 to 1 to COVID negative admission using nearest neighbor matching based on a propensity score computed on age at admission, gender, race, ethnicity, insurance type, Charlson comorbidity index, hospital type, admission to ICU, requiring mechanical ventilation, and having a primary care provider in the health system [18].

DISCUSSION
In this investigation of more than 40,000 hospitalized individuals over 12 months, including 6619 individuals positive for SARS-CoV-2, we found that new-onset neuropsychiatric symptoms persisting at 30+ days occurred frequently but were not significantly more common among COVID-19 patients than individuals previously hospitalized for other reasons. Both language disturbance and affective symptoms were in fact significantly less common among those with prior COVID-19.
In general, the most commonly-observed symptoms in both follow-up periods are consistent with those estimated in a recent large meta-analysis incorporating data from 51 studies of variable follow-up duration [20]. The symptom prevalence we observe is approximately half of that reported in that meta-analysis; however, we report only new-onset symptoms, excluding those documented for a given individual prior to COVID-19, whereas nearly all prior reports focus on overall rates inclusive of preexisting diagnoses. Notably, in the meta-analysis only 2 of 51 studies included control subjects, underscoring the need for more such comparisons.
On the other hand, our results are not fully consistent with those of a prior large study of post-acute sequelae among previously-hospitalized patients in the VA system [2]. In that study, greater rates of multiple neurologic and psychiatric diagnoses were identified compared to individuals hospitalized for influenza. Sensitivity analysis comparing that cohort of~13,000 to 900,000 hospitalized patients, using high-dimensionality matching, also found elevated rates of neuropsychiatric diagnoses among post-COVID-19 patients. A subsequent follow-up study examining outcomes at 12 months further suggested persistence of such diagnoses [3]. Similarly, a claims-based study in~27,000 individuals diagnosed with COVID-19, utilizing multiple matched cohorts [4], identified elevated rates of amnesia, anxiety, and fatigue, among other symptoms. A more recent, large, diagnostic code-based study of similar design [5] likewise found elevated rates of anxiety, dementia, and psychotic disorders following acute illness compared to individuals diagnosed with influenza. (For further discussion of these complementary code-based studies, see Weich [21]).
We note multiple important distinctions with the present work that may help explain this discordance. First, our study offers a more direct comparison to individuals hospitalized at the same time and in the same setting, avoiding the possibility that secular trends (for example, lesser acuity among hospitalized patients outside of COVID-19) could impact results. Second, we utilize natural language processing to examine symptoms rather than diagnostic codes alone, such that individual neurologic and psychiatric features may be captured even if not reflected in codes. In so doing, we may avoid Berkson's bias [22], a form of collider bias in which post-COVID-19 individuals may, by receiving closer follow-up, be more likely to be given additional diagnoses; we would expect such bias to be less likely in the context of symptom documentation. Indeed, a comparison of NLP and claims-based symptom descriptions with manual annotation of 3 sets of symptoms (Supplementary Table 3) indicates the extent to which claims codes alone may not adequately capture neuropsychiatric symptoms-in particular, sensitivity for a given concept using NLP was substantially greater than for diagnostic codes. An earlier study of COVID-19 patients in Wuhan, China also found elevated rates of psychiatric symptoms at 6 months following hospitalization [9]. A key strength of that study was use of standardized rating scales and consistent follow-up interval, both limitations in interpreting our results. However, while that study supports the prevalence of such symptoms, it does not allow comparison to similar patients with difficult hospital courses attributable to other causes. That is, that study demonstrates that post-hospital course may be chronic in individuals with COVID-19, but not necessarily that this outcome is specific to COVID-19. Our results suggest that they may not be.
Among the more notable findings in the present study is the relative decrease in prevalence of mood and anxiety symptoms relative to non-COVID-19 patients. Among outpatients, these rates have been suggested to be elevated [2,5], and in some cases to persist with up to a year of follow-up [3], consistent with a large survey-based study that also suggested differences in symptomatology [23]. The effects we observe may be specific to more severely ill individuals, such as those previously hospitalized. Some prior work may also reflect characteristics of particular subgroups, such as US military veterans (with likelihood of greater comorbidity [2]) or commercially-insured [5]; a strength of this study is the inclusion of the full spectrum of payers. Our discordant results also reflect the capture and documentation of symptoms, rather than diagnoses per se, in the present study-i.e., we are quantifying a different phenotype. At minimum, further investigation is needed to better understand these highly prevalent sequelae.
The strengths of the present study-namely, its use of natural language processing applied to large-scale electronic health records-also contribute to its limitations. First, follow-up is naturalistic, which may avoid the selection bias inherent in COVID-19 cohort studies, but also increases the risk that all participants are not uniformly observed. We attempted to minimize this risk by only including individuals with at least one observation during the follow-up period. We recognize that survival approaches could also be applied in this context, but elected to avoid this strategy as it would introduce a competing risk problem (i.e., individuals who die before entering a particular risk period could not experience a given symptom) and complicate interpretation of results and comparison to other studies. Similarly, we limited analysis to individuals with a hospital course of 30 days or less, recognizing that this will lead to undersampling of more severe illness course for both COVID positive and negative individuals. Second, we utilized natural language processing (as well as coded data reflecting symptoms) to identify individual neuropsychiatric characteristics, not diagnoses per se. This approach should be more sensitive to disease sequelae even if they do not rise to the level of a diagnosis (see, e.g., Supplementary Table 3); however, it is still less sensitive than systematic prospective assessment at a fixed interval using standard measures. Importantly, for the 3 symptoms that we are able to validate against gold standard, we show that the NLPbased approach differs in terms of sensitivity and specificity of the code-based approach, suggesting that neither approach alone is likely to be sufficient. Notably, numerous terms were omitted because of a lack of specificity (e.g., "flat", as it relates to mood)training classifiers for each individual symptom, if feasible, would undoubtedly improve symptom detection, at the cost of poorer generalizability. As with analyses using coded data alone, the failure to document a given diagnosis or symptom does not necessarily exclude the presence of that diagnosis, such that we cannot be certain that symptoms we identify as 'incident' are truly new in onset. Finally, as we rely on two academic health systems in a single US region, the extent to which our results generalize to other regions or nations remains to be determined.
In aggregate, our results do not diminish the importance of further investigation of PASC as it relates to neuropsychiatric phenotypes. In such studies, the use of systematic, prospective assessment using standardized measures will be particularly valuable. However, the present findings suggest that strategies developed for rehabilitation of individuals with such symptoms following hospitalization, regardless of etiology, merit investigation in COVID-19. Undoubtedly the consequences of acute SARS-CoV-2 infection persist for a subset of individuals and have great capacity to diminish quality of life. Systematic investigations, including planned meta-cohorts in the US and elsewhere, will be critical in better defining these consequences. The recent reports that objective findings on neuroimaging are common in large cohorts of individuals following COVID-19 may shed light on the potential mechanisms by which infection may contribute to such sequelae [8], consistent with other end-organ complications [24]. Our observation that they may not be specific to COVID-19 in no way detracts from the need to develop targeted interventions to address such symptomsindeed, it highlights the potential utility of investigating a broad range of neuropsychiatric interventions [25] to address persistent cognitive and psychiatric symptoms [26].