Introduction
In medical research, a "phenotype" is a clinical definition used to identify specific patient groups within Electronic Health Records (EHR). Identifying these groups requires complex "phenotyping algorithms"—sets of rules involving diagnoses, lab results, and prescriptions. Currently, these algorithms are often shared as human-readable flowcharts or text, requiring manual translation into site-specific code (e.g., SQL). This lack of standardization hinders research reproducibility and cross-institutional collaboration. This study evaluates whether openEHR, an international standard for health data interoperability, can serve as a machine-readable repository for these clinical "recipes."
Methodology
The researchers tested openEHR using a validated diabetes phenotyping algorithm from the CALIBER resource, which utilizes UK primary care (CPRD), hospital (HES), and mortality data.
The algorithm classifies patients into four categories: Type 1, Type 2, Unspecified, or Not Diabetic based on Read or ICD-10 codes. Since no pre-existing diabetes "archetypes" (openEHR’s structural building blocks) were available, the authors developed custom archetypes and templates to map clinical terms to these categories. The implementation was then evaluated against eight "desiderata" for computable phenotypes established by the eMERGE consortium, including support for temporal logic and relational algebra.
Key Findings: The Logic Gap
The evaluation revealed a fundamental mismatch between openEHR's design and research needs. While openEHR excels at data capture (clinical entry forms) and standardized nomenclature (mapping to SNOMED-CT or ICD-10), it struggles with the retrospective logic required for querying.
The study found that openEHR does not natively support relational algebra (e.g., set operations like Union or Intersection) or structured rules. To implement the diabetes algorithm, researchers had to use templates to simulate inclusion/exclusion logic—a workaround that is difficult to scale for more complex conditions.
Results and Evaluation
The performance of openEHR against the desiderata is summarized in the table below:
As shown, openEHR provides full support for human-readable representations and backward compatibility. However, it only partially supports temporal relations (recording time points but not the logic between them) and lacks native support for the set operations essential for complex phenotyping.
Conclusion
While openEHR is a robust framework for structured data representation, it is not yet a "one-stop shop" for computable phenotyping algorithms. Its primary strength lies in its terminology binding and data modeling. For it to become a standard for research "recipes," future development must focus on integrating native relational algebra and improving "upstream" software layers that can translate archetypes into executable research queries.
Summary updated