AI-powered Chatbot integration for enhanced accessibility of electronic health records in a pediatric hospital

Navigating electronic health records (EHRs) remains a time-consuming task for clinicians, especially in resource-constrained healthcare settings. This study aimed to assess whether a lightweight chatbot, built using LangChain and GPT-3.5, could reduce search time and improve retrieval accuracy for CSV-based pediatric EHRs in a district hospital. A prototype EHR system was developed using Flask and Angular and integrated with a LangChain CSV agent capable of generating Python code dynamically to query anonymized data. The dataset consisted of 1,200 pediatric encounters, each comprising 160 variables. Forty clinicians performed 240 standardized information-seeking tasks both with and without the chatbot. The hospital's legacy EHR system, which relied on basic keyword search, served as the baseline for comparison. Search time and retrieval accuracy-measured using precision and recall-were evaluated using two-tailed paired t-tests with a significance threshold of α = 0.05. The chatbot reduced the median search time from 64 s to 38 s, representing a 40.6% improvement (p < 0.001). It also increased F1 retrieval accuracy from 0.71 to 0.89, a 25.4% gain (p < 0.01). These results demonstrate that low-cost conversational AI can significantly accelerate and improve access to structured pediatric EHR data while maintaining data privacy by avoiding the exposure of raw patient records to external models.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-03-12
DOI
https://doi.org/10.1038/s41598-026-42475-2
Primary Topic
Artificial Intelligence in Healthcare and Education
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

AI-powered Chatbot integration for enhanced accessibility of electronic health records in a pediatric hospital

Mohamed Rahamathulla, Mohamed Ghouse, Premasudha Basavaiah Gowramma, Ismail Pasha et al.
Scientific Reports
Artificial Intelligence in Healthcare and Education
article

AI-powered Chatbot integration for enhanced accessibility of electronic health records in a pediatric hospital

Mohamed Rahamathulla, Mohamed Ghouse, Premasudha Basavaiah Gowramma, Ismail Pasha, Monish Shiva Prema, Mohammed Muqtader Ahmed, Shivaprakash Virupakshaiah, Kiran Kumar
article en

Abstract

Navigating electronic health records (EHRs) remains a time-consuming task for clinicians, especially in resource-constrained healthcare settings. This study aimed to assess whether a lightweight chatbot, built using LangChain and GPT-3.5, could reduce search time and improve retrieval accuracy for CSV-based pediatric EHRs in a district hospital. A prototype EHR system was developed using Flask and Angular and integrated with a LangChain CSV agent capable of generating Python code dynamically to query anonymized data. The dataset consisted of 1,200 pediatric encounters, each comprising 160 variables. Forty clinicians performed 240 standardized information-seeking tasks both with and without the chatbot. The hospital's legacy EHR system, which relied on basic keyword search, served as the baseline for comparison. Search time and retrieval accuracy-measured using precision and recall-were evaluated using two-tailed paired t-tests with a significance threshold of α = 0.05. The chatbot reduced the median search time from 64 s to 38 s, representing a 40.6% improvement (p < 0.001). It also increased F1 retrieval accuracy from 0.71 to 0.89, a 25.4% gain (p < 0.01). These results demonstrate that low-cost conversational AI can significantly accelerate and improve access to structured pediatric EHR data while maintaining data privacy by avoiding the exposure of raw patient records to external models.

Scientific Reports
Prince Sattam Bin Abdulaziz University (SA), Tumkur University (IN), King Khalid University (SA), University of Asmara (ER), Bangalore Medical College and Research Institute (IN)
Openalex Percentile: Top 26%
Artificial Intelligence in Healthcare and Education
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.