- Open Access
Social media posts and online search behaviour as early-warning system for MRSA outbreaks
Antimicrobial Resistance & Infection Control volume 7, Article number: 69 (2018)
Despite many preventive measures, outbreaks with multi-drug resistant micro-organisms (MDROs) still occur. Moreover, current alert systems from healthcare organizations have shortcomings due to delayed or incomplete notifications, which may amplify the spread of MDROs by introducing infected patients into a new healthcare setting and institutions. Additional sources of information about upcoming and current outbreaks, may help to prevent further spread of MDROs.
The study objective was to evaluate whether methicillin-resistant Staphylococcus aureus (MRSA) outbreaks could be detected via social media posts or online search behaviour; if so, this might allow earlier detection than the official notifications by healthcare organizations.
We conducted an exploratory study in which we compared information about MRSA outbreaks in the Netherlands derived from two online sources, Coosto for Social Media, and Google Trends for search behaviour, to the mandatory Dutch outbreak notification system (SO-ZI/AMR). The latter provides information on MDRO outbreaks including the date of the outbreak, micro-organism involved, the region/location, and the type of health care organization.
During the research period of 15 months (455 days), 49 notifications of outbreaks were recorded in SO-ZI/AMR. For Coosto, the number of unique potential outbreaks was 37 and for Google Trends 24. The use of social media and online search behaviour missed many of the hospital outbreaks that were reported to SO-ZI/AMR, but detected additional outbreaks in long-term care facilities.
Despite several limitations, using information from social media and online search behaviour allows rapid identification of potential MRSA outbreaks, especially in healthcare settings with a low notification compliance. When combined in an automated system with real-time updates, this approach might increase early discovery and subsequent implementation of preventive measures.
The Dutch healthcare system applies strict infection control guidelines regarding multi-drug resistant micro-organisms (MDROs), including the “Search & Destroy” guideline for methicillin-resistant Staphylococcus aureus (MRSA), which was extended to other MDROs in 2011 [1, 2]. Despite the implementation of these guidelines, outbreaks with MDROs still occur. Reasons may be a temporary lack of compliance with existing guidelines, human error, or spread from infected patients not falling into a high-risk category that would warrant screening and isolation on admission. One of the defined high-risk-categories of the Dutch MRSA/MDRO guideline, are patients originating from a healthcare setting with an ongoing MRSA/MDRO outbreak. In the past, hospitals were supposed to inform each other about outbreaks and possible colonized or infected patients they exchange, but the report itself as well as the way of communication were non-standardized and voluntarily. As of 2012, all hospitals report their MDRO outbreaks to a central point (SO-ZI/AMR), which was initiated and established by the Dutch Society of Clinical Microbiology (NVMM) after the first carbapenem-resistant Enterobacteriaceae (CRE)-outbreak in the Netherlands . SO-ZI/AMR contains a database with information about the outbreak such as date and duration of the outbreak, organization name affected location(s) and the micro-organism in question. Outbreaks that need to be reported to SO-ZI/AMR are defined as: Outbreaks which influence, or have the potential to negatively influence, access to care, such as in case of (possible) closure of a department or part of it, and/or outbreaks with continuous transmission despite (infection) control measures .
When reporting outbreaks became part of the professional guidelines, it became essentially mandatory. However, reporting outbreaks is currently only mandatory for hospitals, and not for nursing homes or other health care institutions. Once reported, an outbreak is, with a short delay, immediately visible for all users. The task of SO-ZI/AMR is not only to collect reports and report outbreaks to professionals, but also to monitor the development of the outbreak, and, if needed, to support the control efforts. Still, the alert messages from some hospitals seem to come late or not at all, with the risk of introducing patients infected with an MDRO into a new healthcare setting without warning and increasing the probability of spreading the outbreak. Therefore, there is a need for additional sources of information about current and potentially upcoming outbreaks, to increase outbreak preparedness.
Since an increasing number of people use social media, such as Facebook and Twitter, to share information and the Internet as source for news, social media posts and online search behaviour (e.g., via search engines) could be a valuable source of information about potential MDRO outbreaks. Interestingly, online search behaviour has already successfully been used to detect influenza outbreaks based on search entries , and disease outbreaks in general . Moreover, social media have been used to monitor the quality of healthcare institutions on, for example, hygiene and expertise . The aim of the current study was to evaluate whether Dutch MRSA outbreaks could be detected via social media posts or online search behaviour; and if so, whether these data sources might allow earlier detection than the official notification to SO-ZI/AMR by the hospital. In addition, as reporting outbreaks in nursing homes is still voluntary, we also evaluated whether screening of social media posts and/or online search behaviour would help to identify outbreaks in these healthcare institutions. In this study, we focused on MRSA.
Design and Setting
We conducted an exploratory study in which we compared information about MRSA outbreaks derived from social media and online search behaviour to the official Dutch reference standard. MRSA specific searches were performed for the time period between January 1st, 2015 and March 31st, 2017. As reference standard for MRSA outbreaks, SO-ZI/AMR was used . It provides information on official outbreaks including the date of the outbreak and the region and type of health care facility (e.g. hospital or nursing home). The geographical scope of the study was The Netherlands; therefore, we only searched using the Dutch language.
Social media sources and online search behaviour
To capture social media posts about MRSA (all publicly shared social media posts by individuals or organizations), we used Coosto, a social media monitoring tool . This tool has proven to be a valuable source of social media information and is currently in use by the Dutch government to monitor the quality of healthcare organizations . It provides the exact time and, if available, the location of the message in various social media sources, including Facebook and Twitter. Presently, its database includes posts in the Dutch language.
In addition, Google Trends was used to assess online search behaviour . This tool provides insight into the search behaviour based on specific searches performed in Google Search. It provides the relative frequency of searches for different countries and regions. Google Trends has been used for early detection of influenza outbreaks . Although multiple search engines are being used in The Netherlands, we limited our searches to Google Trends since Google covers over 80% of Internet searches, capturing the overall majority of Internet searches .
We searched Coosto for publicly available social media posts about MRSA with the following search query: (“mrsa” OR “methicillin-resistant Staphylococcus aureus” OR “methicillin resistant Staphylococcus aureus” OR “meticilline-resistente Staphylococcus aureus” OR “meticilline resistente Staphylococcus aureus”). Several preliminary searches revealed that both Dutch and English names had to be included, since English terminology was sometimes used in Dutch social media posts and the combination maximized the number of hits. Furthermore, the word ‘outbreak’ was not included in the search query, since the preliminary searches showed that searching for ‘outbreak’ resulted in a large number of irrelevant hits, and that combining ‘outbreak’ with MRSA via Boolean search (“AND”) negatively affected the sensitivity of the search. Based on the results of the preliminary searches, we performed manual inspections of results with 25, 15 and 10 hits per day. In general, the lowest number of hits per day would result the highest number of potential outbreaks. However, from the above comparison, we concluded found that 10 posts per day was the minimum number of hits, or ‘critical mass’  to identify a potential MRSA outbreak, Consequently, we set (≥10 hits) as criterion for a potential outbreak. For all posts on a specific day, that met this criterion, we identified whether a potential outbreak was discussed, meaning that MRSA was mentioned in relation to a Dutch healthcare institution and indicating a present or potential outbreak. The latter could consist of (but not limited to) patients, relatives or employees found or suspected with MRSA, hospital wards closed due to MRSA, any other information about a present or expected MRSA outbreak shared by the institution, its employees, government, or other any other individual (e.g., patients or relatives). Days meeting all criteria were marked as ‘representing a potential MRSA outbreak’ and all other days as ‘not representing a potential MRSA outbreak’. Dates, number of hits, institution and geographical area and outbreak (YES/NO) were subsequently stored in a research database.
Regarding the searches in Google Trends, we used similar terms, but with individual searches for each term. Google Trends presents search interest of topics on a scale from 0 to 100 per day instead of the absolute number of searches, thus every search will have at least one day with the maximum score of 100, even when absolute search numbers are low during a particular time period (e.g., a time period without any outbreaks). This system characteristic required a different way of defining days with potential outbreaks. Assuming that a Dutch MRSA outbreak occurred at least once every 3 months, we used the mean search interest of 3 months in our analyses. We extracted search interest per day, as well as geographical information (province) for days with potential outbreaks.
All statistical analyses were done in SPSS version 22. The database with search results from Coosto and Google Trends was compared to data from the official SO-ZI/AMR database. In case of consecutive days with the same potential outbreak, we defined this as a single outbreak, both for Coosto and Google Trends. To assess the validity of Coosto to detect potential MRSA outbreaks, we calculated the overall sensitivity, specificity, positive predictive value (PPV), and negative predictive value (NPV) with 95% confidence intervals (CIs). Furthermore, we stratified the analyses by type of healthcare institution affected.
For the Google Trends data, a search score was calculated for each day:
Google Trends Score = (relative search volume - mean relative search volume) / standard deviation.
with the mean relative search volume and standard deviation based on the preceding 3 months. Using SO-ZI/AMR as the reference standard, we calculated the area under the curve (AUC) for 7 days before until 7 days after an outbreak. Furthermore, as the optimal cut-off value to detect an outbreak based on online search behaviour is unknown, we determined the Google Trends Score that maximized the sum of sensitivity and specificity. For the present study, we used a cut-off value of 2*SD to detect a potential outbreak with Google Trends. Finally, we calculated the Pearson correlation coefficient to assess the association between the number of posts related to MRSA detected with Coosto and the Google Trends Score.
During the research period of 15 months (455 days), 49 outbreaks were reported to SO-ZI/AMR (Table 1). Using Coosto, 37 potential outbreaks were detected based on social media posts, of which 1 referred to an academic hospital, 17 to a general hospital, 16 to a nursing home, and 3 to other types of institutions. Google Trends resulted in 24 potential outbreaks.
Figures 1, 2, 3, 4, 5, 6, 7, 8, and 9 show the information on MRSA outbreaks originating from the three data sources in each quarter of a year. In only 4 outbreaks did all three sources show a (potential) outbreak, with in general the online sources detecting the outbreak 1–2 days before the official notification date in SO-ZI/AMR. In 48 cases, Coosto and/or Google Trends indicated a (potential) outbreak without notification in SO-ZI/AMR, whereas in 41 cases, MRSA outbreaks were notified to SO-ZI/AMR that went unnoticed by the online data sources. In 4 cases, a (potential) outbreak was detected by both SO-ZI-AMR and Coosto, and not by Google Trends. Correlation between the number of posts related to MRSA detected with Coosto and the Google Trends Score was 0.42, p < 0.001).
Validity comparisons for Coosto-detected MRSA outbreaks showed an overall sensitivity of 0.20 (95% CI 0.10–0.34) and an overall specificity of 0.96 (95% CI 0.95–0.98), whereas the PPV and NPV were 0.27 (95% CI 0.16–0.42) and 0.95 (95% CI 0.92–0.96), respectively (Table 2). After stratification for type of healthcare institution, sensitivity ranged between 0 for other and unknown locations to 0.23 (95% CI 0.08–0.45) for general hospitals. Specificity was ≥0.98 for all types of institutions.
The validity comparisons for Google Trends to detect MRSA outbreaks compared with SO-ZI/AMR as the reference standard are shown in Table 3. On the exact date the outbreak was notified to SO-ZI/AMR, the AUC was 0.59 (95% CI 0.51–0.67) for any MRSA outbreak and 0.63 (95% CI 0.54–0.73) for MRSA outbreaks in hospitals. With the optimal cut-off for the Google Trends Score, sensitivity was higher for any outbreak compared with hospital outbreaks only (0.90 vs. 0.43), whereas specificity was higher for hospital outbreaks (0.28 vs. 0.79). The AUC based on the Google Trends Score 1 day before the official notification was similar to the AUC on the day of notification. On the other days relative to the notification of the outbreaks, the AUC was decreased.
In this study, we compared information about potential MRSA outbreaks retrieved from social media posts and online search behaviour in The Netherlands to the national notification reference standard. We found that simple online (social media) searches do provide additional information about potential MRSA outbreaks in The Netherlands compared to the reference standard. These promising findings suggest that supervisory bodies such as SO-ZI/AMR may enrich their palette of data sources with more dynamic information from social media and other online sources such as search engine data. However, the validity of the online sources Coosto and Google trends needs further investigation. Some things need to be discussed.
The sensitivity of the social media monitoring tool Coosto to detect MRSA outbreaks was low and therefore a substantial number of true outbreaks will be missed when relying on this data source. However, its specificity was high, indicating a relatively small number of false positive outbreaks detected by Coosto. Interestingly, the opposite was observed for Google Trends, with a higher sensitivity and lower specificity, indicating that Google Trends detects more potential MRSA outbreaks but that many of these represent false positive signals. This difference between the two online data sources may be explained by their nature: social media posts provide more detailed information on MRSA outbreaks than online searches, but the patients and healthcare workers involved in MRSA outbreaks may be more reluctant to post a message about the outbreak on social media than to search for information online. In addition, it is impossible to distinguish between online searches for actual outbreaks and searches for random issues related to MRSA using Google Trends.
To the best of our knowledge, this was the first study using online search engines for social media posts and internet search behaviour on MRSA outbreak detection. A study by Lui et al. used search terms from the social media platform Baidu to identify Noro virus epidemics . They concluded that several limitations exist to using Internet to monitor epidemics but that it still might have value as additional tool, particularly when other monitoring systems are lacking. Also, the importance of social media as an early warning system in addition to traditional slow reporting mechanisms has been emphasized . In general, this might be the case for all outbreaks as notification is only done after firm confirmation of the outbreak. Consequently, the notification date in SO-ZI/AMR is “delayed” by several days.
Additional potential outbreaks were found via social media, which were not in the SO-ZI/AMR database. Most of these outbreaks occurred in nursing homes for which notification is not mandatory, but on occasion even hospitals were shown as non-compliant in reporting outbreaks. The fact that more dynamic data sources could have value compared to traditional slow reporting mechanisms has also been recognized in public health, where social media are used as an early warning system for disease outbreaks .
Strengths and limitations
The main strength of this study is the use of dynamic online content from social media and search engine behaviour in combination with an official reference (SO-ZI/AMR). Using predefined selection criteria, this allowed us to efficiently study the value of social media and online search behaviour via both Coosto and Google Trends. Coosto on occasion is limited by the fact that it may not always be possible to determine whether a potential outbreak is actually a true outbreak. Google Trends has even more difficulty in this determination, for using this data source, it is hard to link potential outbreaks to specific organizations, since it does not provide specific names or locations. A refinement of search mechanism of the freely available default Google Trends software might allow an increase of its sensitivity and specificity.
The extent of information patients and caregivers get when confronted with an outbreak may influence their search behaviour. If the information is complete and offered right away, as it is customary in many Dutch hospitals, it may become more difficult to detect the outbreak using social media and search engine behaviour.
Despite several limitations including limited validity, using information from social media and online search behaviour results to detect MRSA outbreaks could be an additional source of information for supervising bodies, particularly when combined in an automated system with real-time updates.
WIP-guideline MRSA. https://www.rivm.nl/dsresource?objectid=3f054354-ff4a-43ef-91f9-7c6f0417be95. Accessed 30 Aug 2017.
WIP-guideline BRMO (Bijzonder Resistente Micro-Organismen). https://www.rivm.nl/dsresource?objectid=b6b99580-44e2-4b9c-8183-52871e61764f&type=org&disposition=inline. Accessed 30 Aug 2017.
Van der Bij AK, van Dijk K, Muilwijk J, Thijsen SFT, Notermans DW, de Greeff S. Van de Sande-Bruinsma N. Clinical breakpoint changes and their impact on surveillance of antimicrobial resistance in Escherichia coli causing bacteraemia. Clin Microbiol Infect. 2012;18:E466–74.
RNVWS.nl Criteria uitbraak. https://www.nvmm.nl/zorg/uitbraakmeldingen/. Accessed 30 Aug 2017.
Ginsberg J, Mohebbi MH, Patel RS, Brammer L, Smolinski MS, Brilliant L. Detecting influenza epidemics using search engine query data. Nature. 2009;457:1012–4.
Carneiro HA, Mylonakis E. Google trends: a web-based tool for real-time surveillance of disease outbreaks. Clin Infect Dis. 2009;49:1557–64.
van de Belt TH, Engelen LJ, Verhoef LM, van der Weide MJ, Schoonhoven L, Kool RB. Using patient experiences on Dutch social media to supervise health care services: exploratory study. J Med Internet Res. 2015;17(1):e7.
van der Bij AK, Kardamanidis K, Frakking FN, Bonten MJ. Signaleringsoverleg Ziekenhuisinfecties en Antimicrobiële Resistentie. Nosocomial outbreaks and resistant microorganisms. Ned Tijdschr Geneeskd. 2015;159:A8585.
Coosto, Social Media Monitoring, Webcare & Publishing. Coosto B.V. Eindhoven, The Netherlands. Version 2017 Coosto http://www.coosto.nl. Accessed 30 Aug 2017.
Google Trends. Google. http://google.com/trends. Accessed 30 Aug 2017.
Nationale Search Engine Monitor (2014) (iProspect en RMI) https://www.iprospect.com/nl/nl/onze-blog/nationale-search-engine-monitor-2014/. Accessed 30 Aug 2017.
Liu K, Huang S, Miao ZP, Chen B, Jiang T, Cai G, Jiang Z, Chen Y, Wang Z, Gu H, Chai C. Jiang J identifying potential norovirus epidemics in China via internet surveillance. J Med Internet Res. 2017;19(8):e282.
Denecke K, Dolog P, Smrz P. Making use of social media data in public health. In: Proceedings of the 21st international conference on world wide web. Mountain View: ACM. p. 243–6.
Denecke K. Health web science, health information science, chapter 11, social media for health monitoring p 101–108. Switzerland: Springer International Publishing; 2015. https://doi.org/10.1007/978-3-319-20582-3_11.
This research was supported by the EPI-Net COMBACTE-MAGNET project. We thank the Innovative Medicines Initiative Joint Undertaking for supporting the EPI-Net COMBACTE-MAGNET project (grant agreement number 115737), resources of which include financial contribution from the European Union Seventh Framework Programme (FP7/2007–2013) and European Federation of Pharmaceutical Industries and Associations companies in-kind contribution. The funder had no role in the study design, data collection, analysis, interpretation of data or writing the manuscript.
Availability of data and materials
The dataset used during the current study are available from the corresponding author on reasonable request.
Ethics approval and consent to participate
Since the anonymous data used in this study were derived from the public social media domain without patient involvement, no medical ethical review was needed in the Netherlands. SO-ZI/AMR allowed us to use anonymous (not linked to specific hospital organizations) information from their database.
AV is Editor-in-Chief of ARIC. All other authors declare that they have no competing interests.
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
About this article
Cite this article
van de Belt, T.H., van Stockum, P.T., Engelen, L.J.L.P.G. et al. Social media posts and online search behaviour as early-warning system for MRSA outbreaks. Antimicrob Resist Infect Control 7, 69 (2018). https://doi.org/10.1186/s13756-018-0359-4
- Methicillin-resistant Staphylococcus aureus
- Social media monitoring
- Google trends