| Literature DB >> 32165648 |
Sharath Chandra Guntuku1, H Andrew Schwartz2, Adarsh Kashyap2, Jessica S Gaulton3,4, Daniel C Stokes3, David A Asch3,5, Lyle H Ungar3, Raina M Merchant3.
Abstract
Forecasting healthcare utilization has the potential to anticipate care needs, either accelerating needed care or redirecting patients toward care most appropriate to their needs. While prior research has utilized clinical information to forecast readmissions, analyzing digital footprints from social media can inform our understanding of individuals' behaviors, thoughts, and motivations preceding a healthcare visit. We evaluate how language patterns on social media change prior to emergency department (ED) visits and inpatient hospital admissions in this case-crossover study of adult patients visiting a large urban academic hospital system who consented to share access to their history of Facebook statuses and electronic medical records. An ensemble machine learning model forecasted ED visits and inpatient admissions with out-of-sample cross-validated AUCs of 0.64 and 0.70 respectively. Prior to an ED visit, there was a significant increase in depressed language (Cohen's d = 0.238), and a decrease in informal language (d = 0.345). Facebook posts prior to an inpatient admission showed significant increase in expressions of somatic pain (d = 0.267) and decrease in extraverted/social language (d = 0.357). These results are a first step in developing methods to utilize user-generated content to characterize patient care-seeking context which could ultimately enable better allocation of resources and potentially early interventions to reduce unplanned visits.Entities:
Mesh:
Year: 2020 PMID: 32165648 PMCID: PMC7067847 DOI: 10.1038/s41598-020-60750-8
Source DB: PubMed Journal: Sci Rep ISSN: 2045-2322 Impact factor: 4.379
Figure 1Defining time periods prior true (hospital visits) and null (random time point) events. Figure shows the time periods before a hospital visit and random time points from which changes in linguistic features were calculated. Dark blue points are hospital visits (true event). Red point is a random time point (null event). Grey and Orange windows are 30 day periods, separated by a 15 day window, prior to true and null events.
Demographic characteristics of patients included in emergency and inpatient visit analysis. Every patient is their own control.
| Emergency | |
|---|---|
| N | |
| 419 | |
| African American | 352 (84%) |
| White | 53 (13%) |
| Other | 14 (3%) |
| 374 (89%) | |
| [19–81] | |
| 28 | |
| 167 | |
| African American | 143 (86%) |
| White | 21 (13%) |
| Other | 3 (1%) |
| 152 (91%) | |
| [19–81] | |
| 30 | |
Figure 2Area Under the Receiver Operating Curves of linear ensemble models forecasting emergency (ED) and inpatient visits. Black dots indicate sensitivity at specific false positive rates (10%, 50% and 90%). Black dashed line represents AUC of 0.5. Blue line indicates Inpatient visits and red line indicates emergency visits.
Statistical insights on differential language expression prior to an emergency visit*.
| Feature | Cohen’s d | p-value (corrected) | Mean diff-of-diff | 95% CI |
|---|---|---|---|---|
| Anxious | 0.241 | <0.001 | 0.070 | [0.1, 0.38] |
| Depressed | 0.238 | <0.001 | 0.066 | [0.1, 0.37] |
| Arousal (how exciting the post is) | 0.191 | 0.011 | 0.051 | [0.06, 0.33] |
| Valence (positive affect) | 0.168 | 0.017 | 0.079 | [0.03, 0.3] |
| #posts b/w 9am-12pm | 0.160 | 0.020 | 0.016 | [0.02, 0.3] |
| #posts b/w 12-3 pm | 0.144 | 0.047 | 0.013 | [0.01, 0.28] |
| Netspeak (‘u’, ‘da’, ‘smh’) | −0.374 | <0.001 | −0.01 | [−0.51, −0.24] |
| 1st person singular (‘I’, ‘my’, ‘me’, ‘I’m’) | −0.345 | <0.001 | −0.012 | [−0.48, −0.21] |
| Informal Speech (‘lol’, ‘:)’, ‘b’) | −0.345 | <0.001 | −0.012 | [−0.48, −0.21] |
| Leisure (‘family’, ‘fun’, ‘play’, ‘nap’) | −0.225 | 0.001 | −0.002 | [−0.36, −0.09] |
| hospital, pain, surgery, blood, doctor, nurse | 0.230 | 0.001 | 0.001 | [0.09, 0.37] |
| kids, child, their, children, mother, father | 0.165 | 0.021 | <0.001 | [0.03,0.3] |
| even, still, tho, though, yet, blah | 0.165 | 0.021 | <0.001 | [0.03,0.3] |
| thankful, very, amazing, most, blessed, wonderful | 0.142 | 0.013 | <0.001 | [0.01,0.28] |
| luv, nite, sum, 2day, kidz, doin | −0.315 | <0.001 | −0.001 | [−0.45, −0.18] |
| <3, tht, lovin, bt, missin, ima | −0.308 | <0.001 | <0.001 | [−0.44, −0.17] |
| nite, fb, bed, gn, sleep, night | −0.295 | <0.001 | −0.001 | [−0.43, −0.15] |
| jus, bored, crib, house, chilin, hmu | −0.287 | <0.001 | −0.001 | [−0.42, −0.14] |
*Positive cohen’s d indicates an increase in the given style, while a negative score indicates decrease. Effect sizes of individual linguistic features (diff-of-diff b/w true and null events) for emergency visits. Significance was measured using paired, two-tailed t-test with Benjamini-Hochberg p-correction.
Statistical insights on differential language expression prior to an inpatient visit*.
| Feature | Cohen’s d | p-value (corrected) | Mean diff-of-diff | 95% CI |
|---|---|---|---|---|
| Categories that increase in usage before inpatient visit | ||||
| Depressive | 0.306 | 0.001 | 0.089 | [0.09, 0.52] |
| Anxious | 0.286 | 0.001 | 0.084 | [0.07, 0.50] |
| Family (‘baby’, ‘ma’,‘son’, ‘family’) | 0.306 | 0.001 | 0.003 | [0.09, 0.52] |
| Health (‘tired’, ‘pain’, ‘sick’, ‘ill’) | 0.255 | 0.032 | 0.001 | [0.04, 0.48] |
| Categories that decrease in usage before inpatient visit | ||||
| 1st person singular (‘lol’, ‘:)’, ‘b’) | −0.392 | <0.001 | −0.014 | [−0.61, −0.17] |
| Informal Speech (‘lol’, ‘:)’, ‘b’) | −0.392 | <0.001 | −0.014 | [−0.61, −0.17] |
| Hear (‘say’, ‘hear’, ‘listen’, ‘heard’) | −0.365 | 0.003 | −0.001 | [−0.58, −0.15] |
| Affiliation (‘we’, ‘our’, ‘friends’) | −0.361 | 0.001 | −0.003 | [−0.58, −0.14] |
| Extraverted | −0.357 | <0.001 | −0.080 | [−0.57, −0.14] |
| Drives (‘up’, ‘get’, ‘love’) | −0.354 | <0.001 | −0.006 | [−0.57, −0.14] |
| Netspeak (‘u’, ‘lol’, ‘da’, ‘smh’) | −0.35 | <0.001 | −0.01 | [−0.57, −0.13] |
| Nonfluencies (‘ugg’, ‘well’, ‘oh’, ‘er’) | −0.335 | 0.001 | −0.001 | [−0.55, −0.12] |
| Leisure (‘fun’, ‘play’, ‘nap’) | −0.321 | 0.006 | −0.002 | [−0.54, −0.1] |
| Reward (‘get’, ‘take’, ‘best’, ‘win’) | −0.314 | 0.001 | −0.002 | [−0.53, −0.1] |
| Affective Processes (‘:)’, ‘ugh’, ‘happy’) | −0.242 | 0.023 | −0.004 | [−0.46, −0.03] |
| Positive Emotion (‘love’, ‘good’, ‘lol’, ‘better’) | −0.228 | 0.013 | −0.004 | [−0.44, −0.01] |
| Swear Words (‘a**’, ‘f**k’, ‘hell’, ‘wtf’) | −0.209 | 0.023 | −0.002 | [−0.43, 0.00] |
| check, yes, doctors, office, waiting, appointment | 0.504 | <0.001 | 0.001 | [0.29, 0.72] |
| hospital, pain, surgery, blood, meds, nurse | 0.380 | <0.001 | 0.001 | [0.16, 0.6] |
| baby, mommy, girl, son, boy, daughter | 0.377 | <0.001 | 0.001 | [0.16, 0.59] |
| days, more, two, weeks, until, couple | 0.301 | 0.014 | 0.001 | [0.08,0.52] |
| even, still, tho, yet, blah, mad | 0.275 | 0.006 | 0.001 | [0.06, 0.49] |
| kids, child, their, children, mother, father | 0.275 | 0.006 | 0.001 | [0.06,0.49] |
| hurt, head, bad, body, stomach,:(, ugh | 0.267 | 0.026 | 0.001 | [0.05, 0.48] |
| calling, phone, answer, hear, ooo, talking | −0.488 | <0.001 | −0.001 | [−0.71, −0.27] |
| better, feeling, little, hope, bit, type | −0.429 | <0.001 | −0.001 | [−0.65, −0.21] |
| lol, ha, ctfu, lmao, funny, haha | −0.429 | <0.001 | −0.001 | [−0.65, −0.21] |
| cool, funny, tho, used, remember, seem | −0.395 | <0.001 | <0.001 | [−0.61, −0.18] |
| no, what, matter, how, always, end | −0.381 | <0.001 | <0.001 | [−0.6, −0.16] |
| :), show, crew, awesome, fashion, guys | −0.381 | <0.001 | <0.001 | [−0.6, −0.16] |
*Effect sizes of individual linguistic features (diff-of-diff b/w true and null events) for inpatient visits. Significance was measured using paired, two-tailed t-test with Benjamini-Hochberg p-correction.
Sample social media posts in the month prior to an inpatient or ED visit.
| Encounter diagnosis | #days prior to encounter | Example post (redacted) |
|---|---|---|
| Delivery complicated by asthma with acute exacerbation | 1 | just…had a major asthma attack…been like this for 3 days n today was the worst |
| Heart failure exacerbation | 1 | …cant sleep:(…as soon as I get to lay on my stomach I gotta deal wit this |
| Angina in the setting of heart failure | 25 | At Wendy’s for dinner…to make it healthy, ordered water instead of coke to go with my cheeseburger and fries |
| Unipolar major depression with psychotic features | 1 | GOIN IN CIRCLES…ROUND AND ROUND…I FEEL SO STUPID FOOLISH LOVING U THIS WAY……the tears…the hurt…i wish that u would just appear |
| Hysterectomy | 1 | …I gotta go all day without food….So pissed off…I know I’m scheduled to have the surgery…tomorrow |
| Pelvic inflammatory disease | 1 | I’m so sick…I’m ready to go to the emergency room…it took me an hour to get up and pee… |
| Spider bite | 1 | I was bit by something…my [arm] is purple and sore…I think it was a [bug]… I feel weak…if I’m here tomorrow I’ll go to [the ED]. I pray I don’t have [Lyme disease]… |
| Urinary tract infection | 6 | Woke up in…my own blood…totally anemic…I write this for 3 reasons: 1. awake and drinking [cranberry juice]….2….the past [4] months taught me that problematic…bladder and GI tract are unbelievably annoying….3….I love [worrying], attention, and lists |
| Breast pain (etiology unclear) | 3 | My heart is so heavy right now….R.I.P grandpa… |
| Nausea with vomiting (etiology unclear) | 3 | …juice: please stay in my body…I don’t want to reexperience it |
| Nausea with vomiting (etiology unclear) | 2 | So sick ughh cant take this. Im so bored and not feeln good at all |
| Panic attack | 1 | I stick my hand out for you…but you don’t give me a hand back… |