Clinical trials play a crucial role in advancing and assessing novel medical therapies and interventions. However, analyzing and interpreting clinical trial data can be challenging due to the complexity and heterogeneity of the data. Electronic health records (EHRs) and eligibility criteria (EC) are two critical sources of information that offer important insights into patient data, such as demographics, medical history, diagnoses, and treatments. EC outlines the inclusion and exclusion criteria for clinical trials, defining the eligible patient population for clinical trials.