Related Experiment Video
Updated: Oct 10, 2025

Evidence-based Knowledge Synthesis and Hypothesis Validation: Navigating Biomedical Knowledge Bases via Explainable AI and Agentic Systems
Published on: June 13, 2025
A BERT-Based Generation Model to Transform Medical Texts to SQL Queries for Electronic Medical Records: Model
Youcheng Pan1, Chenghao Wang1, Baotian Hu1
1Intelligent Computing Research Center, Harbin Institute of Technology, Shenzhen, China.
A new model, MedTS, translates medical text into SQL queries for electronic medical records (EMRs). This advanced text-to-SQL system significantly improves data retrieval accuracy in healthcare.
Area of Science:
- Medical Informatics
- Natural Language Processing
- Database Management
Background:
- Electronic medical records (EMRs) are stored in relational databases, necessitating SQL queries for data retrieval.
- Medical experts face challenges in formulating SQL queries due to specialized knowledge requirements.
- Current text-to-SQL generation methods have limited adoption within the medical domain.
Purpose of the Study:
- To develop a neural generation model for automatic transformation of medical text into SQL queries for EMRs.
- To create a model that integrates medical text characteristics with SQL structure for improved query generation.
Main Methods:
- Proposed MedTS (Medical Text-to-SQL) model using a pretrained Bidirectional Encoder Representations From Transformers (BERT) encoder.
- Employed a grammar-based long short-term memory network decoder to predict an intermediate syntax tree representation.
- Utilized syntax trees as intermediate representations to align with SQL's structure and reduce generation search space.
Main Results:
- MedTS achieved 0.784 accuracy in logic form and 0.899 in execution on the MIMICSQL dataset.
- The model significantly outperformed existing state-of-the-art text-to-SQL methods.
- Performance across generated SQL components was balanced and showed substantial improvements.
Conclusions:
- The MedTS model demonstrates effectiveness and robustness in medical text-to-SQL generation.
- The system shows strong potential for practical application in real-world medical scenarios.
- This advancement can enhance data accessibility and utilization within EMR systems.
More Related Videos
03:14Augmenting Large Language Models via Vector Embeddings to Improve Domain-Specific Responsiveness
Published on: December 6, 2024
07:26Executing Complexity-Increasing Queries in Relational MySQL and NoSQL MongoDB and EXist Size-Growing ISO/EN 13606 Standardized EHR Databases
Published on: March 19, 2018
Related Concept Videos
Health Information Technology and Healthcare Information System
Health Information Technology, commonly called HIT, integrates advanced information systems and technology in healthcare settings. Its primary functions include:
Data Validation
Nursing assessment guides are generally based on holistic models rather than medical...
Model Approaches for Pharmacokinetic Data: Distributed Parameter Models
The distributed parameter models are specifically designed to account for variations and differences in some drug classes. This model is particularly useful for assessing regional concentrations of anticancer or...
Issues And Trends In Healthcare Delivery System
Cost Containment
Payment for healthcare services has historically promoted adoption of costly and often unnecessary or inefficient...
Methods of Documentation VII: EMR