RT Journal Article SR Electronic T1 A Pipeline for the Automatic Identification of Randomized Controlled Oncology Trials and Assignment of Tumor Entities Using Natural Language Processing JF medRxiv FD Cold Spring Harbor Laboratory Press SP 2024.07.01.24309767 DO 10.1101/2024.07.01.24309767 A1 Windisch, Paul A1 Dennstädt, Fabio A1 Koechli, Carole A1 Förster, Robert A1 Schröder, Christina A1 Aebersold, Daniel M. A1 Zwahlen, Daniel R. YR 2024 UL http://medrxiv.org/content/early/2024/07/03/2024.07.01.24309767.abstract AB Background Most tools trying to automatically extract information from medical publications are domain agnostic and process publications from any field. However, only retrieving trials from dedicated fields could have advantages for further processing of the data.Methods We trained a transformer model to classify trials into randomized controlled trials (RCTs) vs. non-RCTs and oncology publications vs. non-oncology publications. We assessed the performance and then developed a simple set of rules to extract the tumor entity from the retrieved oncology RCTs.Results On the unseen test set consisting of 100 publications, the model achieved an F1 score of 0.96 (95% CI: 0.92 - 1.00) with a precision of 1.00 and a recall of 0.92 for predicting whether a publication was an RCT. For predicting whether a publication covered an oncology topic the F1 score was 0.84 (0.77 - 0.91) with a precision of 0.75 and a recall of 0.95. The rule-based system was able to correctly assign every oncology RCT in the test set to a tumor entity.Conclusion In conclusion, classifying publications depending on whether they were randomized controlled oncology trials or not was feasible and enabled further processing using more specialized tools such as rule-based systems and potentially dedicated machine learning models.Competing Interest StatementP.W. has a patent application titled "Method for detection of neurological abnormalities" outside of the submitted work. The remaining authors declare no conflict of interest.Funding StatementNo funding was received for this project.Author DeclarationsI confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.YesI confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.YesI understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).YesI have followed all appropriate research reporting guidelines, such as any relevant EQUATOR Network research reporting checklist(s) and other pertinent material, if applicable.YesAll data and code used to obtain this study's results have been uploaded to https://github.com/windisch-paul/oncology_pipeline. https://github.com/windisch-paul/oncology_pipeline.