Criteria2Query: a natural language interface to clinical databases for cohort definition
Open accessThe DOI matches its Crossref record; 25 of the 27 references it cites were found in a registry or an index.
Abstract
Objective: Cohort definition is a bottleneck for conducting clinical research and depends on subjective decisions by domain experts. Data-driven cohort definition is appealing but requires substantial knowledge of terminologies and clinical data models. Criteria2Query is a natural language interface that facilitates human-computer collaboration for cohort definition and execution using clinical databases. Materials and Methods: Criteria2Query uses a hybrid information extraction pipeline combining machine learning and rule-based methods to systematically parse eligibility criteria text, transforms it first into a structured criteria representation and next into sharable and executable clinical data queries represented as SQL queries conforming to the OMOP Common Data Model. Users can interactively review, refine, and execute queries in the ATLAS web application. To test effectiveness, we evaluated 125 criteria across different disease domains from ClinicalTrials.gov and 52 user-entered criteria. We evaluated F1 score and accuracy against 2 domain experts and calculated the average computation time for fully automated query formulation. We conducted an anonymous survey evaluating usability. Results: Criteria2Query achieved 0.795 and 0.805 F1 score for entity recognition and relation extraction, respectively. Accuracies for negation detection, logic detection, entity normalization, and attribute normalization were 0.984, 0.864, 0.514 and 0.793, respectively. Fully automatic query formulation took 1.22 seconds/criterion. More than 80% (11+ of 13) of users would use Criteria2Query in their future cohort definition tasks. Conclusions: We contribute a novel natural language interface to clinical databases. It is open source and supports fully automated and interactive modes for autonomous data-driven cohort definition by researchers with minimal human effort. We demonstrate its promising user friendliness and usability.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Figures






Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
The cited source says what the claim attributes to it.
In the citing paper
“Even when dealing with structured EHRs, creating queries using the trial criteria often proves challenging in interpretation and scaling14,15.”
From PRISM: Patient Records Interpretation for Semantic clinical trial Matching system using large language models (2024) · cites this paper as [15]
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
The unified medical language system (UMLS): integrating biomedical terminology
Bodenreider, O. (2004) · Nucleic Acids Research · doi:10.1093/nar/gkh061 · Cited by 4,356
George, H., Duke Jon, D., Shah Nigam, H., Reich Christian, G., Vojtech, H., Schuemie Martijn, J., Suchard Marc, A., Woong, P. R., Kei, W. I. C., Rijnbeek Peter, R., et al. (2015) · Studies in Health Technology and Informatics · doi:10.3233/978-1-61499-564-7-574 · Cited by 1,542
Self-citationHAYRINEN, K., SARANTO, K., & NYKANEN, P. (2008) · International Journal of Medical Informatics · doi:10.1016/j.ijmedinf.2007.09.001 · Cited by 1,297
A Simple Algorithm for Identifying Negated Findings and Diseases in Discharge Summaries
Chapman, W. W., Bridewell, W., Hanbury, P., Cooper, G. F., & Buchanan, B. G. (2001) · Journal of Biomedical Informatics · doi:10.1006/jbin.2001.1029 · Cited by 1,118
Natural language interfaces to databases – an introduction
Androutsopoulos, I., Ritchie, G. D., & Thanisch, P. (1995) · Natural Language Engineering · doi:10.1017/s135132490000005x · Cited by 768 · cited 1×
“The primary technology is a natural language interface (NLI) to databases (NLIDBs), 20 which allows users to access information stored in relational databases by typing requests expressed in natural language (eg, English).”
BackgroundA "Fundamental Theorem" of Biomedical Informatics
Friedman, C. P. (2009) · Journal of the American Medical Informatics Association · doi:10.1197/jamia.m3092 · Cited by 201
Formal representation of eligibility criteria: A literature review
Weng, C., Tu, S. W., Sim, I., & Richesson, R. (2010) · Journal of Biomedical Informatics · doi:10.1016/j.jbi.2009.12.004 · Cited by 187
Self-citationNatural language interfaces to databases
Copestake, A., & Jones, K. S. (1990) · The Knowledge Engineering Review · doi:10.1017/s0269888900005476 · Cited by 145
A practical method for transforming free-text eligibility criteria into computable criteria
Tu, S. W., Peleg, M., Carini, S., Bobak, M., Ross, J., Rubin, D., & Sim, I. (2011) · Journal of Biomedical Informatics · doi:10.1016/j.jbi.2010.09.007 · Cited by 144
EliXR: an approach to eligibility criteria extraction and representation
Weng, C., Wu, X., Luo, Z., Boland, M. R., Theodoratos, D., & Johnson, S. B. (2011) · Journal of the American Medical Informatics Association · doi:10.1136/amiajnl-2011-000321 · Cited by 143
Self-citation
Research works printed but not linked: 5
- Woods WA. Progress in natural language understanding: an application to lunar geology. In: Proceedings of the June 4-8, 1973, National Computer Conference and Exposition. New York, NY: ACM; 1973:441–50.
- Chandra Y, Mihalcea R. Natural language interfaces to databases. Master of Science thesis, University of North Texas, 2006.
- Manning C, Surdeanu M, Bauer J, et al The Stanford CoreNLP natural language processing toolkit. In: Proceedings of 52nd Annual Meeting of the Association for Computational Linguistics: System Demonstrations. Baltimore, MD: Association for Computational Linguistics; 2014:55–60. http://www.aclweb.org/anthology/P14-5010. Accessed July 18, 2018.
- Chang AX, Manning CD. Sutime: a library for recognizing and normalizing time expressions In: Proceedings of the Eighth International Conference on Language Resources and Evaluation (LREC-2012). Istanbul, Turkey: ELRA; 2012: 3735– 740. https://pdfs.semanticscholar.org/fe80/746646f6ee819205ca9a8476292ea6b83e66.pdf. Accessed July 5, 2017.
- Dogan RI, Lu Z. An inference method for disease name normalization. Paper presented at: AAAI Fall Symposium: Information Retrieval and Knowledge Discovery in Biomedical Text; November 2–4, 2012; Arlington, VA.
Cited by
Evaluating eligibility criteria of oncology trials using real-world data and AI
Liu, R., Rizzo, S., Whipple, S., Pal, N., Pineda, A. L., Lu, M., Arnieri, B., Lu, Y., Capra, W., Copping, R., et al. (2021) · Nature · doi:10.1038/s41586-021-03430-5 · Cited by 322
Matching patients to clinical trials with large language models
Jin, Q., Wang, Z., Floudas, C. S., Chen, F., Gong, C., Bracken-Clarke, D., Xue, E., Yang, Y., Sun, J., & Lu, Z. (2024) · Nature Communications · doi:10.1038/s41467-024-53081-z · Cited by 287
“The proposed method, namely TrialGPT, consists of three key components: TrialGPT-Retrieval, TrialGPT-Matching, and TrialGPT-Ranking.”
Matching Patients to Clinical Trials with Large Language Models
Jin, Q., Wang, Z., Floudas, C. S., Chen, F., Gong, C., Bracken-Clarke, D., Xue, E., Yang, Y., Sun, J., & Lu, Z. (2023) · arXiv · doi:10.48550/arxiv.2307.15051 · Cited by 287
Neural Natural Language Processing for unstructured data in electronic health records: A review
Li, I., Pan, J., Goldwasser, J., Verma, N., Wong, W. P., Nuzumlalı, M. Y., Rosand, B., Li, Y., Zhang, M., Chang, D., et al. (2022) · Computer Science Review · doi:10.1016/j.cosrev.2022.100511 · Cited by 254
Natural language processing in medicine: A review
Locke, S., Bashall, A., Al-Adely, S., Moore, J., Wilson, A., & Kitchen, G. B. (2021) · Trends in Anaesthesia and Critical Care · doi:10.1016/j.tacc.2021.02.007 · Cited by 250
Metadata
- Authors
- Yuan, C., Ryan, P. B., Ta, C., Guo, Y., Li, Z., Hardin, J., Makadia, R., Jin, P., Shang, N., Kang, T., & Weng, C.
- Affiliations
- Nanjing University of Science and Technology (CN)
- Columbia University (US)
- Epidemiology Analytics, Janssen Research and Development, Titusville, New Jersey, USA
- Corresponding author
- Weng, Chunhua
- ORCID
- Venue
- Journal of the American Medical Informatics Association
- Publisher
- Oxford University Press (OUP)
- Published
- 2019-02-07
- Volume
- 26
- Issue
- 4
- Pages
- 294-305
- ISSN
- 1067-5027 (ISSN-L)
- 1527-974X
- PMC
- PMC6402359
- OpenAlex
- W2911661483
- Cited by
- 170
- References
- 27
- Citations by year
- 2026: 23 · 2025: 18 · 2024: 36 · 2023: 25 · 2022: 21 · 2021: 25 · 2020: 15 · 2019: 7
- FWCI
- 4.18
- Type
- journal article
- Language
- en
- Open access
- hybrid
- doi.org
- Licence
- Locations
- Journal of the American Medical Informatics Association (publishedVersion, cc-by-nc)
- Europe PMC (PubMed Central) (publishedVersion, cc-by-nc)
- PubMed Central (publishedVersion, cc-by-nc)
- PubMed (publishedVersion)
- Funders
- National Library of Medicine (R01LM009886, CU15-2317)
- National Center for Advancing Translational Science (3OT3TR002027-01S1, UL1TR001873)
- Topics
- Health Sciences › Medicine › Health Informatics › Biomedical Text Mining and Ontologies
- Health Sciences › Health Professions › Health Information Management › Electronic Health Records Systems
- Physical Sciences › Computer Science › Artificial Intelligence › Machine Learning in Healthcare
- Keywords
- natural language interfaces, medical databases, cohort definition, eligibility criteria, information extraction, negation detection, entity recognition, relation extraction, OMOP Common Data Model, text-to-SQL, ATLAS, clinical research data, usability
- MeSH terms
- Machine Learning, Clinical Trials as Topic, Eligibility Determination, Humans, Natural Language Processing, User-Computer Interface, Information Storage and Retrieval, Patient Selection, Databases as Topic
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.