COVID-19 SignSym: a fast adaptation of a general clinical NLP tool to identify and normalize COVID-19 signs and symptoms to OMOP common data model.
The COVID-19 pandemic swept across the world, rapidly infecting millions of people. An efficient tool that can accurately recognize important clinical concepts of COVID-19 from free text in electronic health records (EHRs) will be significantly valuable to accelerating various applications of COVID-19 research. To this end, the existing clinical NLP tool CLAMP is quickly adapted to COVID-19 information. An automated tool called COVID-19 SignSym is built, which can extract signs/symptoms and their eight attributes (body location, severity, temporal expression, subject, condition, uncertainty, negation, and course) from clinical text. The extracted information is also mapped to standard clinical concepts in the common data model of OHDSI OMOP. Evaluations of clinical notes and medical dialogues demonstrate promising results. This tool is freely accessible to the community as a downloadable package of APIs (https://clamp.uth.edu/covid/nlp.php). We believe COVID-19 SignSym will provide fundamental support to the secondary use of EHRs, thus accelerating the global research of COVID-19.
The COVID-19 pandemic 1 swept across the world, rapidly infecting more than two million people in the US and resulting in the death of almost 120,000 at a mortality rate of about 6%.2 Scientists and researchers from multiple organizations worldwide have been working collaboratively to target effective prevention and treatment strategies.3 Research findings, data resources, informatics tools, and technologies are being openly shared, aiming to speed up the fight against such an emerging pandemic.4,5
For example, the COVID-19 Open Research Dataset (CORD-19) has already accumulated over 75,000 full-text articles.6 Based on such resources, many tools have been developed using natural language processing (NLP) techniques to unlock COVID-19 information from literature, including tools of search engines, information extraction, and knowledge graph building.7,8 As another important data source for COVID-19 research, Electronic Health Records (EHRs) store the clinical data of COVID-19 patients, which are critical for various applications, such as clinical decision support, predictive modeling, and phenotyping-based cohort stratification.9,10 An efficient tool that can accurately recognize important clinical concepts of COVID-19 from clinical notes will be significantly valuable in saving time and accelerating the chart-review workflow.
Despite that, several large consortia have been formed to construct large clinical data networks for COVID-19 research, such as The National COVID Cohort Collaborative (N3C)11 and the international EHR-derived COVID-19 Clinical Course Profiles (4CE)12, very few informatics tools have been developed for clinical notes of COVID-19. As far as the authors know, the only tool available to the public is MedTagger.13 Based on a pre-collected list of symptoms and synonyms, MedTagger recently provided a rule-based tool, which mainly extracts COVID-19 signs/symptoms and their three attributes of certainty, status (i.e., History of or Present) and experiencer (i.e., Patient or others).14 However, limited sign/symptom lists may not be sufficient to recognize or normalize the varying expressions in the clinical text; other important attributes critical to unfold the clinical course and prognosis of patients are also not recognized in this tool, including the onset time, severity, course, and body location. On the other hand, some existing clinical NLP tools can already recognize signs/symptoms and a more comprehensive set of attributes with good performances. Given that COVID-19 signs/symptoms are a subset of a more general scope of clinical problems, existing tools can be leveraged and quickly adapted for COVID-19 information extraction.
Therefore, in this study, we built an automatic NLP tool named COVID-19 SignSym, to extract COVID-19 signs/symptoms and their eight attributes (body location, severity, temporal expression, subject, condition, uncertainty, negation, and course), by adapting existing pipelines in the CLAMP software (Clinical Language Annotation, Modeling, and Processing Toolkit).15,16
The extracted entities will also be normalized to standard terms in OHDSI OMOP CDM (Observational Medical Outcomes Partnership, Common Data model)17 automatically. The set of signs and symptoms of COVID-19 is collected from four resources, including the case record form of WHO (World Health Organization), the National COVID Cohort Collaborative, dictionaries in MedTagger, and in-house dictionaries from John Hopkins. In total, 55 signs and symptoms are collected from these sources. UMLS CUIs of these signs and symptoms are assigned manually, and their synonyms in UMLS are also extracted to extend the dictionary. A hybrid method combining deep learning models, lexicons and pattern-based rules is used to build COVID-19 SignSym. We believe this tool will provide fundamental support to the secondary use of EHRs, thus accelerating the global research of COVID-19.
COVID-19 SignSym is built by following a 4-step workflow illustrated in Figure 1:
Information model design: to define the information scope of COVID-19, i.e., semantic types of clinical concepts and relations to be extracted;
Sign/symptom collection: to gather COVID-19 signs/symptoms from multiple sources;
Information extraction and normalization: to extract and normalize COVID-19 signs/symptoms and eight types of attributes, including body location, severity, temporal expression, subject, condition, uncertainty, negation, and course. Hybrid approaches are used to adapt existing NLP pipelines in CLAMP for COVID-19 information extraction. Lexicons of COVID-19 signs/symptoms and pattern-based rules are integrated with CLAMP to optimize the performance. All signs/symptoms in the free text are extracted first, which are filtered by lexicons and UMLS CUIs to maintain COVID-19 signs/symptoms.
OMOP mapping: to convert the output information into the format of OMOP CMD.
4 clinical datasets were used for building and evaluating the pipeline:
MIMIC-III: this data set contains clinical notes from intensive patient care. 200 discharge summaries are randomly selected, with 50% for model tuning and 50% for open test. In total, the selected dataset contains 17, 208 sentences and 329, 044 tokens.
Medical dialogues: this data set contains medical dialogues related to COVID-19 collected from an online website between patients and doctors.18 Fifty dialogues were randomly selected for external evaluation of COVID-19 SignSym. In total, the selected dataset contains 1,162 sentences and 22,324 tokens.
Clinical notes from Johns Hopkins: This dataset contains 334 clinical notes of 40 patients and includes relevant note types such as H&P, Critical Care Notes, Progress Notes, and ED Notes, focusing specifically on the notes created within 48 hours before and after hospital admission. Notes are pre-processed by Hopkins in-house section identification tools, and only the relevant narrative parts, particularly the chief complaint and history of the present illness sections are extracted. For each of the 40 patients, each symptom was labeled as present or not-present, resulting in over 467 manually annotated symptoms. These gold standard labels are then used to validate COVID-19 SignSym. In total, the clinical notes in this dataset contain 13,397 sentences and 121,802 tokens.
The information model followed by the COVID-19 SignSym is illustrated in Figure 2. In addition to mentions of signs and symptoms, eight important attributes and their relations are also recognized: (1) Severity: indicates the severity degree of a sign/symptom; (2) Negation: indicates a sign/symptom was negated; (3) Temporal information: indicates the time period or specific time the sign/symptom started; (4) Subject: indicates who experienced the sign/symptom; (5) Uncertainty: indicates a measure of doubt into a statement about a sign/symptom; (6) Condition: indicates conditional existence of sign/symptoms under certain circumstances; (7) Body location: represent an anatomical location of the sign/symptom; (8) Course: indicates progress or decline of a sign/symptom. Examples of attribute values are illustrated in Figure 2. * indicates their default values.
Lexicon Building for COVID-19 Signs & Symptoms
Leveraging the community efforts, COVID-19 signs and symptoms are collected from four sources:
MedTagger Lexicon: 17 signs and symptoms together with their 136 synonyms were collected from the lexicon in MedTagger.14
Lexicon from Johns Hopkins: 14 signs and symptoms, and 337 synonyms were collected from an in-house lexicon of Johns Hopkins.
UMLS CUIs of these signs and symptoms (in total 124) were also assigned manually, with their UMLS synonyms collected. After removing redundancy, 55 signs and symptoms and 2 022 synonyms were collected from these four sources.
Table 1 below illustrates ten signs/symptoms of COVID-19, together with their CUIs and example synonyms. A comprehensive list is included in Supplementary Table 1.
Disease-attributes pipeline in CLAMP: The disease-attribute pipeline in CLAMP was adapted for COVID-19 information extraction in this study. This pipeline is built to automatically extract mentions of problems and their eight attributes from clinical text. The definition of problems follows that used in the i2b2 2010 shared task, which consists of eleven semantic types in UMLS (e.g., sign or symptom, pathologic functions, disease or syndrome, etc.).20 Besides, the definitions of attributes follows that used in the SemEval 2015 Shared Task 14.21
Adapting CLAMP for COVID-19 Sign/Sym: Besides, the lexicons collected previously are also used in an additional step of dictionary-lookup, to improve the coverage of recognized COVID-19 signs and symptoms. Furthermore, regular expressions and rules are also applied in a postprocessing step to boost the performance of attribute recognition.
Concept normalization: Mentions of problems and attributes are normalized to standard concepts using the UMLS encoder module of CLAMP, which are also built on a hybrid method of semantic similarity based ranking and rules of concept-prevalence in UMLS.22 Both CUIs and preferred terms in UMLS will be output for each recognized entity.
Filtering of COVID-19 Signs/Symptoms: Once medical problems are automatically recognized and normalized to UMLS CUIs, they will be filtered by the pre-collected lexicons and CUIs of COVID-19 signs and symptoms.
OMOP Mapping: The remaining signs/symptoms and their attributes will also be mapped to standard concepts in OMOP CDM. The OMOP encoder module of CLAMP is used for this purpose, which applies a similar approach as in the UMLS encoder module, with a different scope of standard concepts and identifiers.
The performances of NER and relation extraction are evaluated using precision, recall and F-measure (F1);
The performance of concept normalization is evaluated using accuracy;
The performance of patient-level COVID-10 diagnosis is evaluated using precision, recall and F-measure.
200 discharge summaries are randomly selected from MIMICIII; 100 of them are used for error analysis and optimize the SignSym pipeline. After that, the information extraction performance of COVID-19 SignSym are evaluated on another 100 discharge summaries from MIMICIII as the open test. In addition, it is evaluated on fifty posts of COVID-19 related dialogues between patients and doctors online as an external test.
Besides, 1, 000 output CUIs are randomly selected from the 100 discharge summaries and manually reviewed to evaluate the performance of clinical concept normalization.
Moreover, a use case of identifying patients symptoms at presentation from notes generated within 48 hours before and after hospital admission is used to validate the effectiveness of COVID-19 SignSym. Specifically, positive and negative signs and symptoms in 334 clinical notes of 40 patients from Johns Hopkins Hospitals are extracted, and then aggregated into patient-level scores to determine all presenting symptoms for each patient. In total, 467 unique signs and symptoms are manually annotated and normalized for the 40 patients.
Performances of COVID-19 SignSym for information extraction are illustrated in Table 2; both performances on clinical text and medical dialogues are reported. The 95% confidence intervals (CIs) are also reported in Table 2, by considering each clinical note or each post of medical dialogues as a sample. Promising results were achieved on sign/symptom extraction, with a F-measure of 0.992 ± 0.008 on clinical text and 0.99 ± 0.01 on medical dialogue. As for recognizing attributes of signs/symptoms, the tool yielded better performances on clinical text than on medical dialogue (e.g., F-measure: Has_Body location 0.986 ± 0.014 vs. 0.964 ± 0.036, Has_Temporal 0.984 ± 0.016 vs. 0.926 ± 0.074). Some semantic types have low frequencies in the test datasets, thus have large CIs. For example, there are only six instances of Subject (F-measure: 0.771 ± 0.229) in clinical notes and 3 instances of Course in the medical dialogues (F-measure: 0.579 ± 0.421), leading to large CIs.
Table 2. Information extraction performances of COVID-19 SignSym on clinical text and medical dialogues. 95% confidence interval is reported for each result.
Concept Normalization: Based on manual check of 1, 000 gold standard entities and their automatically assigned CUIs, COVID SignSym obtained an accuracy of 95% for concept normalization.
COVID-19 Signs/Symptoms presentation of patients: In comparison with manually assigned signs/symptoms of each patients, the tool yielded a precision of 0.928, a recall of 0.957, and a F-measure of 0.942.
There is an urgent demand of automatic tools that can extract COVID-19 information from clinical text. This paper presents our preliminary work to quickly adapt an existing high-performance clinical NLP tool for COVID-19 sign/symptom extraction and normalization, leveraging COVID-19 lexicons provided from multiple resources. The tool of COVID-19 SignSym is evaluated on clinical notes and medical dialogues. Experimental results demonstrate that it achieves promising results in practical settings. The workflow of this study can be generalized to other use cases, where existing clinical NLP tools need to be customized for specific information needs within a short time.
Errors present in the outputs of COVID-19 SignSym are analyzed carefully for further improvement. One type of common errors is partial recognition of named entities. For example, “cough” is recognized, instead of “cough productive of yellow sputum”. More patterns of signs and symptoms are needed to improve the coverage. Another type of common errors is related to cross sentence relations. For example, many temporal expressions are not in the same sentence with the relevant signs/symptoms. Besides, some attributes such as conditions are modifying signs/symptoms in a list of multiple items. Document structure and intra sentence relations need to be handled in the next step. This work has several limitations and future works are needed:
First, performances on two COVID-19 datasets are evaluated and reported, additional evaluations are needed to further refine the tool and increase its generalizability.
Currently, only signs/symptoms and their attributes are extracted, additional works will be conducted for more related information such as co-morbidities and medications.
The output information will also be mapped to other clinical data standards such as FHIR in the near future, to facilitate clinical operations and other applications.
The white paper presents an automatic tool, named COVID-19 SignSym, to extract and signs/symptoms and their eight attributes from clinical text using NLP techniques. COVID-19 SignSym achieved promising results on clinical notes and medical dialogues. It is freely accessible to the community via a downloadable package of APIs. So far, COVID-19 SignSym has been applied by eight different institutions in academia and industry, which we believe will fundamentally support to the secondary use of EHRs for COVID-19 research upon dissemination.
Acknowledgment This study is partially supported by the National Center for Advancing Translational Sciences (R44TR003254). References 1. WHO Coronavirus Disease (COVID-19) Dashboard. https://covid19.who.int/. 2. Wu J., McCann A., Katz J. & Peltier E. 120,000 Missing Deaths: Tracking the True Toll of the Coronavirus Outbreak The New York Times. [Google Scholar] 3. Kupferschmidt K., CohenMar 22, J., 2020. & Pm, 3:28 WHO launches global megatrial of the four most promising coronavirus treatments. Science | AAAS https://www.sciencemag.org/news/2020/03/who-launches-global-megatrial-four-most-promising-coronavirus-treatments (2020). [Google Scholar] 4. Open science initiatives related to the COVID-1… |OECD. https://community.oecd.org/docs/DOC-172520. 5. covid19 Datasets and Machine Learning Projects. https://www.kaggle.com/tags/covid19/. 6. COVID-19 Open Research Dataset Challenge (CORD-19). https://kaggle.com/allen-institute-for-ai/CORD-19-research-challenge. 7. Wang L. L. et al. CORD-19: The Covid-19 Open Research Dataset. ArXiv200410706 Cs (2020). [Google Scholar] 8. LitCovid - NCBI - NLM - NIH. https://www.ncbi.nlm.nih.gov/research/coronavirus/. 9. AlRahman AlMomani A. & Bollt E. Informative Ranking of Stand Out Collections of Symptoms: A New Data-Driven Approach to Identify the Strong Warning Signs of COVID 19. arXiv arXiv–2004 (2020). [Google Scholar] 10. Wagner T. et al. Augmented Curation of Clinical Notes from a Massive EHR System Reveals Symptoms of Impending COVID-19 Diagnosis. http://medrxiv.org/lookup/doi/10.1101/2020.04.19.20067660 (2020) doi:10.1101/2020.04.19.20067660 [PMC free article] [PubMed] [CrossRef] [Google Scholar] 11. National COVID Cohort Collaborative (N3C). National Center for Advancing Translational Sciences https://ncats.nih.gov/n3c (2020). 12. International Electronic Health Record-Derived COVID-19 Clinical Course Profiles: The 4CE Consortium | medRxiv. https://www.medrxiv.org/content/10.1101/2020.04.13.20059691v5. [PMC free article] [PubMed] 13. Wen A. et al. Desiderata for delivering NLP to accelerate healthcare AI advancement and a Mayo Clinic NLP-as-a-service implementation. NPJ Digit. Med. 2, 1–7 (2019). [PMC free article] [PubMed] [Google Scholar] 14. OHNLP/MedTagger. GitHub https://github.com/OHNLP/MedTagger. 15. Soysal E. et al. CLAMP – a toolkit for efficiently building customized clinical natural language processing pipelines. J. Am. Med. Inform. Assoc. 25, 331–336 (2018). [PMC free article] [PubMed] [Google Scholar] 16. Team, C. D. CLAMP | Natural Language Processing (NLP) Software. https://clamp.uth.edu/. 17. OMOP Common Data Model – OHDSI. https://www.ohdsi.org/data-standardization/the-common-data-model/. 18. Common ‘Covid-19’ queries answered by top doctors | iCliniq. https://www.icliniq.com/qa/covid-19. 19. Case management. https://www.who.int/emergencies/diseases/novel-coronavirus-2019/technical-guidance/patient-management. 20. Uzuner Ö., South B. R., Shen S. & DuVall S. L. 2010 i2b2/VA challenge on concepts, assertions, and relations in clinical text. J. Am. Med. Inform. Assoc. JAMIA 18, 552–556 (2011). [PMC free article] [PubMed] [Google Scholar] 21. Elhadad N. et al. SemEval-2015 task 14: Analysis of clinical text in proceedings of the 9th International Workshop on Semantic Evaluation (SemEval 2015) 303–310 (2015). [Google Scholar] 22. Zhang Y. et al. UTH_CCB: A report for SemEval 2014 – Task 7 Analysis of Clinical Text in Proceedings of the 8th International Workshop on Semantic Evaluation (SemEval 2014) 802–806 (Association for Computational Linguistics, 2014). doi:10.3115/v1/S14-2142 [CrossRef] [Google Scholar]