Abstract
Ambiguity and misunderstanding of free-text clinical trial eligibility can affect the accuracy of translating trial investigators' mental model of the study population to the correct cohort identification queries. In this pilot study, to eliminate the ambiguity when parsing eligibility criteria, we built ontology-based representations to standardize clinical trial eligibility criteria. We analyzed 10 Alzheimer's disease (AD) trials' eligibility criteria and categorized them into general query patterns using an annotation schema borrowed from the literature on constructing knowledge graphs. Then, for each pattern, we built the corresponding ontological representations, linked them to real-word electronic health record (EHR) data, and constructed cohort identification queries using the neo4j graph database. Our evaluation results of these cohort queries verified the accuracy of our ontology representation; and interestingly, we found that graph-queries achieved better runtime performance for complex study traits. These results indicated that our approach is feasible and potentially beneficial; nevertheless, more systematic and comprehensive investigations are warranted.
Introduction
Clinical trials rely heavily on eligibility criteria to define participant populations. However, these criteria are typically documented in unstructured natural language, such as "Patient who had Parkinson’s disease within the prior 5 years." This format creates a significant "translation gap" between the trial investigators' mental models and the technical database queries required for recruitment. Ambiguity in this translation can lead to improper enrollment or the exclusion of eligible candidates, ultimately hindering trial accrual. This research introduces a framework to transform messy, free-text criteria into formal, computable knowledge graphs, bridging the gap between human language and machine-readable data.
Methodology
The researchers developed a multi-step pipeline to formalize eligibility criteria:
- Annotation & Decomposition: Criteria from 10 Phase III/IV Alzheimer’s disease (AD) trials (sourced from ClinicalTrials.gov) were decomposed into "study traits."
- Tuple Representation: Each trait was split into Fact tuples (e.g., "patient diagnosed with AD") and Condition tuples (e.g., "within the last 5 years").
- Ontology Construction: The Computable Eligibility Criteria Ontology (CECO) was built using the Basic Formal Ontology (BFO) as an upper-level structure, integrating existing standards like the Human Phenotype Ontology (HP) and the Time Event Ontology (TEO).
- Graph Implementation: The CECO framework was implemented in a Neo4j graph database, mapping real-world Electronic Health Record (EHR) data from the OneFlorida Clinical Research Consortium to these ontological classes.
- Evaluation: Graph-based queries were compared against traditional Python/Pandas-based relational data manipulation for accuracy and performance.
Key Insights and Results
Temporal Logic and the Fact-Condition Split
A core innovation of this work is the separation of clinical states (Facts) from their temporal or dosage constraints (Conditions). This distinction allows for precise modeling of complex temporal requirements, such as events occurring "prior to baseline."
Modeling Diagnosis as a Process
The study emphasizes that a "diagnosis" in an EHR is not a static attribute but the result of a diagnostic process. By representing diagnoses as events within healthcare encounters, the framework captures the necessary context for accurate temporal modeling.
Performance and Accuracy
The evaluation confirmed that graph-based queries achieved 100% accuracy compared to manual curation. Furthermore, while traditional methods were faster for simple queries (e.g., age thresholds), graph queries demonstrated superior performance for complex, multi-variable traits. For instance, querying for hospitalization or treatment for suicidal behavior in the past 5 years was over twice as fast using the graph database (0.106s vs. 0.2452s).
Conclusion and Future Directions
This pilot study demonstrates the feasibility of using ontology-based knowledge graphs to standardize clinical trial recruitment. While limited by a small sample size focused on AD, the results suggest that graph-based representations can improve both the accuracy and efficiency of cohort identification. Future work will focus on automating the initial translation from free-text to tuples using advanced Natural Language Processing (NLP) to create a fully end-to-end automated pipeline.
Summary updated