CoChat

Criteria2Query: a natural language interface to clinical databases for cohort definition

Open access
Yuan, Chi, Ryan, Patrick B, Ta, Casey, Guo, Yixuan, Li, Ziran, Hardin, Jill, Makadia, Rupa, Jin, Peng, Shang, Ning, Kang, Tian, Weng, Chunhua · 2019 · Journal of the American Medical Informatics Association

The 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.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1093/jamia/ocy178

Cites

25 of 25 references verified0 citation errors · 0 not checkable

Statistics

Figures

Figure 1. System architecture and data flow of Criteria2Query.
Figure 1. System architecture and data flow of Criteria2Query.CC BY-NC · PubMed Central
Figure 2. An example of one criterion on ATLAS.
Figure 2. An example of one criterion on ATLAS.CC BY-NC · PubMed Central
Figure 3. Concept set autogeneration process. AD: Alzheimer’s disease; ICD10 : International Classification of Diseases–Tenth Revision; ICD9CM: International Classification of Diseases–Ninth Revision–Clinical Modification; N: no; Y: yes.
Figure 3. Concept set autogeneration process. AD: Alzheimer’s disease; ICD10 : International Classification of Diseases–Tenth Revision; ICD9CM: International Classification of Diseases–Ninth Revision–Clinical Modification; N: no; Y: yes.CC BY-NC · PubMed Central
Figure 4. User workflow of Criteria2Query.
Figure 4. User workflow of Criteria2Query.CC BY-NC · PubMed Central
Figure 5. The user interface of the Criteria2Query system.
Figure 5. The user interface of the Criteria2Query system.CC BY-NC · PubMed Central
Figure 6. Automatically generated cohort query presented by ATLAS to allow query review, refinement, and execution for patient cohort generation using clinical databases.
Figure 6. Automatically generated cohort query presented by ATLAS to allow query review, refinement, and execution for patient cohort generation using clinical databases.CC BY-NC · PubMed Central

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.

A few free checks a day · papers already verified open instantly · results are public

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?

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

Show all 25 references

Research works printed but not linked: 5

  1. 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.
  2. Chandra Y, Mihalcea R. Natural language interfaces to databases. Master of Science thesis, University of North Texas, 2006.
  3. 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.
  4. 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.
  5. 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

See all 175

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
Venue
Journal of the American Medical Informatics Association
Published
2019-02-07
Volume
26
Issue
4
Pages
294-305
ISSN
  • 1067-5027 (ISSN-L)
  • 1527-974X
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
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

How to cite

Cite CoChat for the checks on this page, and the paper for its own findings.

This page
CoChat. (2026). Citation check: Criteria2Query: a natural language interface to clinical databases for cohort definition. https://app.cochat.ai/papers/10.1093/jamia/ocy178
The paper
Yuan, C., Ryan, P. B., Ta, C., Guo, Y., Li, Z., Hardin, J., Makadia, R., Jin, P., Shang, N., Kang, T., & Weng, C. (2019). Criteria2Query: a natural language interface to clinical databases for cohort definition. Journal of the American Medical Informatics Association. https://doi.org/10.1093/jamia/ocy178

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.