Related Experiment Video
Updated: Jan 18, 2026

Asthma Detection Research Based on Voice Signal Processing and Machine Learning
Published on: July 22, 2025
Artificial intelligence for detecting anaphylaxis in electronic medical records
Luis Felipe Ensina1, Matheus Matos Machado2, Joice B Machado Marques3
1Department of Allergy and Clinical Immunology, Hospital Sírio-Libanês, São Paulo, Brazil.
Artificial intelligence, specifically large language models (LLMs), shows high accuracy in automatically diagnosing anaphylaxis from electronic medical records. This technology can significantly improve patient safety by ensuring timely and correct identification of allergic reactions.
Area of Science:
- Medical Informatics
- Artificial Intelligence in Healthcare
- Allergy and Immunology
Background:
- Diagnosing anaphylaxis is challenging due to clinical complexity and underrecording in electronic medical records (EMRs).
- Inaccurate or delayed diagnosis increases the risk of recurrent, potentially fatal allergic reactions.
- Automated systems, like large language models (LLMs), offer a promising solution for improving diagnostic accuracy and patient safety.
Purpose of the Study:
- To evaluate the effectiveness of LLMs in autonomously identifying anaphylaxis diagnoses from EMR text.
- To enhance patient safety and optimize care delivery through AI-driven diagnostic support.
- To compare the diagnostic performance of different LLM configurations in detecting anaphylaxis.
Main Methods:
- LLMs (GPT 3.5, 4, and 4 Turbo) analyzed 969 medical texts in Brazilian Portuguese.
- Texts were annotated by expert physicians as either anaphylaxis-positive or negative.
- LLM diagnostic suggestions were compared against physician diagnoses using precision, sensitivity, specificity, and accuracy metrics.
Main Results:
- GPT 4 Turbo achieved 90.6% precision, 100% sensitivity, 99.5% specificity, and 99.5% accuracy using a primary prompt.
- Incorporating World Allergy Organization (WAO) criteria slightly improved older LLM models but did not enhance GPT 4 Turbo's precision.
- The LLM demonstrated a high Cohen kappa coefficient of 0.95, indicating strong agreement with expert diagnoses.
Conclusions:
- LLMs show significant potential for automating anaphylaxis diagnosis from EMR data.
- AI-powered tools can effectively support healthcare professionals in identifying critical allergic reactions.
- Automated diagnosis can lead to improved patient safety and more efficient healthcare delivery.
Related Concept Videos
Allergic Reactions
Allergic Drug Reactions
Antibody Structure
Antibodies, also known as immunoglobulins (Ig), are essential players of the adaptive immune system. These antigen-binding proteins are produced by B cells and make up 20 percent of the total blood plasma by weight. In mammals, antibodies fall into five different classes, which each elicits a different biological response upon antigen binding.
The Y-Shaped Structure of Antibodies Consists of Four Polypeptide Chains
Antibodies consist of four polypeptide chains: two identical heavy...
Pharmacovigilance
This process, termed pharmacovigilance, aims to detect, evaluate, and minimize harmful effects related to medication use. The data collection for pharmacovigilance depends on spontaneous reporting systems, where healthcare professionals or patients voluntarily report suspected ADRs.
In some cases, there...
Methods of Documentation VII: EMR
Issues And Trends In Healthcare Delivery System
Cost Containment
Payment for healthcare services has historically promoted adoption of costly and often unnecessary or inefficient...

