TLDR: Researchers developed MedText, a hybrid NLP tool combining rule-based and deep learning methods, to accurately extract and determine the presence of Post-Acute Sequelae of COVID-19 (PASC) symptoms from clinical notes. Tested across 11 health systems, the tool achieved strong performance in identifying symptoms like pain and headache, demonstrating its efficiency and potential to improve Long COVID diagnosis and research by leveraging unstructured electronic health record data.
Diagnosing Post-Acute Sequelae of COVID-19 (PASC), commonly known as Long COVID, has been a significant challenge for healthcare professionals. This complex condition presents with a wide array of symptoms that can appear and evolve over varying timeframes, making accurate identification difficult. Traditional diagnostic methods, often relying on structured data like billing codes, have proven to be insufficient, frequently missing the true prevalence of symptoms or exhibiting demographic biases.
To address these critical issues, a team of researchers has developed an innovative solution: a hybrid natural language processing (NLP) pipeline called MedText. This advanced system is designed to extract and verify PASC symptoms directly from unstructured clinical notes within electronic health records (EHRs), which contain rich, detailed accounts of a patient’s health journey.
The MedText Approach: Combining Rules and Deep Learning
MedText stands out by integrating two powerful NLP techniques: rule-based named entity recognition (NER) and deep learning-based assertion detection. The first component, the rule-based NER, uses a comprehensive PASC lexicon. This lexicon, developed in collaboration with clinical specialists, is a vast collection of 25 symptom categories and 798 finer-grained medical concepts and their synonyms. It allows MedText to precisely identify mentions of PASC symptoms within the free-form text of clinical notes.
Once symptoms are identified, the second component, a BERT-based assertion detection module, comes into play. This module is crucial for determining the “assertion status” of a symptom – whether it is truly present, absent, uncertain, or a historical mention. This distinction is vital for accurate diagnosis and understanding a patient’s current condition.
Robust Validation and Real-World Application
The researchers rigorously tested MedText using a large and diverse dataset from the RECOVER Initiative network, encompassing 11 health systems across the U.S. For model development and evaluation, 160 intake progress notes were carefully curated. The system’s assertion detection performance was impressive, achieving an average F1 score of 0.82 in internal validation at one site and 0.76 in external validation across 10 different sites. This demonstrates the model’s reliability and its ability to generalize across various clinical documentation styles.
Beyond accuracy, MedText also proved to be highly efficient. It processed each clinical note at an average speed of approximately 2.45 seconds, making it suitable for large-scale population studies. In one such study, MedText analyzed 47,654 progress notes, providing valuable insights into the prevalence of PASC symptoms. The analysis revealed that “pain” was the most frequently mentioned positive symptom, followed by headache, digestive issues, depression, anxiety, respiratory symptoms, and fatigue. The consistency of symptom-mentioning patterns across different sites was also high, with Spearman correlation tests showing strong agreement.
Also Read:
- Boosting Information Extraction: A New AI Workflow Combines Language Models with Logic
- AI’s Role in Understanding and Detecting Depression: A Comprehensive Review
A Step Forward for PASC Understanding and Care
The development of MedText represents a significant advancement in leveraging unstructured clinical data for PASC diagnosis and research. By accurately and efficiently extracting symptoms and their assertion status, this hybrid NLP pipeline can unlock rich clinical information that was previously difficult to access. This capability holds immense potential for assisting clinicians in making more precise diagnoses, stratifying patient risk, evaluating the impact of treatments, and facilitating diverse recruitment for clinical research studies.
While large language models like GPT-4 show promise in assertion detection, the study highlighted that a domain-specific, rule-based approach, like MedText’s NER module, remains superior for comprehensive symptom extraction in specialized medical contexts like PASC. The researchers acknowledge ongoing efforts to further enhance the pipeline, including expanding annotated datasets and integrating structured EHR data.
Ultimately, MedText offers a powerful tool to improve our understanding and management of Long COVID, paving the way for better patient care and more effective public health strategies. For more detailed information, you can refer to the full research paper here.


