Skip to content

A non-destructive methodological framework for modernizing legacy clinical reporting systems for AI-driven pharmacoinformatics: a SAS case study

Sep 2026 · Frontiers in Pharmacology · Vol 17

Abstract

Legacy clinical reporting pipelines bottleneck drug development and pharmacovigilance: they encode regulatory-grade analytical logic but produce opaque output with no machine-readable intermediate layer, resisting integration with artificial intelligence (AI). Existing modernization approaches force a choice between full rewrites that abandon validated logic and incremental refactoring that preserves structural barriers to AI access. We present a non-destructive framework that achieves AI-driven pharmacoinformatics readiness without altering legacy source code. A metadata layer — a bridge map, a typed Intermediate Representation (IR), and an orchestrator — wraps existing reporting components, re-exposes their outputs as structured data consumable by large language models (LLMs), and enables optional incremental consolidation of selected components while the remainder operates unchanged. On a 558-component industrial SAS reporting library (373,000 lines of code), the framework demonstrated immediate AI readiness under coexistence mode with the legacy library unchanged. Where consolidation was elected, the modernized core achieved a 92% reduction in consolidated-core SAS lines of code (excluding the Python and YAML layers). Parity validation on 14 report types from an internal Phase III study cleared an 80% cell-level triage-admission gate on 11 of 14 reports (mean across all 14 report types 82.7%, best 99.2%); the three remaining reports differed in table-layout geometry rather than in computed values. A public benchmark on CDISC CDISCPilot01 data achieved 100% regression-consistency against frozen reference outputs across 5 reports (4,764 cells, 0 mismatches) — a reproducibility benchmark rather than independent validation. In a proof-of-concept study with a single large language model, the IR illustrated the feasibility of table summarization, adverse-event anomaly detection (a pharmacovigilance signal-detection example), and trial configuration generation — feasibility rather than validated performance. The framework offers a regulation-aware path to AI-integrated clinical trial reporting intended to reduce modernization overhead without interrupting ongoing regulatory submissions. Its regulatory-traceability features are design properties rather than validated compliance: no formal Installation/Operational/Performance Qualification (IQ/OQ/PQ) has been performed. All results derive from a single case study; the methodology is designed to be reusable across organizations and library scales, pending multi-site empirical validation.

Read PDF

Similar papers

#artificial intelligence Open access May 2023

Evaluating the Performance of Large Language Models on GAOKAO Benchmark

GAOKAO-Bench is introduced, an intuitive benchmark that employs questions from the Chinese GAOKAO examination as test samples, including both subjective and objective questions that contribute a robust evaluation benchmark for future large language models and offers valuable insights into the advantages and limitations...

Xiaotian Zhang, Chun-yan Li, Yi Zong et al. · 216 citations · ⚡17
#computer vision Open access Jun 2016

Software Development in Startup Companies: The Greenfield Startup Model

The results are packaged in the Greenfield Startup Model (GSM), which explains the priority of startups to release the product as quickly as possible, and the need to shorten time-to-market, by speeding up the development through low-precision engineering activities.

Carmine Giardino, Nicolò Paternoster, M. Unterkalmsteiner et al. · 178 citations · ⚡14
#computer vision Open access Oct 2016

Software Startups - A Research Agenda

Software startup companies develop innovative, software-intensive products within limited timeframes and with few resources, searching for sustainable and scalable business models.

M. Unterkalmsteiner, P. Abrahamsson, Xiaofeng Wang et al. · 157 citations · ⚡17
#artificial intelligence Open access Jul 2024

Gender, Race, and Intersectional Bias in Resume Screening via Language Model Retrieval

This work investigates the possibilities of using LLMs in a resume screening setting via a document retrieval framework that simulates job candidate selection and finds that the MTEs are biased, significantly favoring White-associated names in 85% of cases and female-associated names in only 11.1% of cases.

Kyra Wilson, Aylin Caliskan · 131 citations · ⚡8
#machine learning Review Open access Oct 2016

“Failures” to be celebrated: an analysis of major pivots of software startups

This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.

Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al. · 127 citations · ⚡15
#artificial intelligence Review Nov 2024

How to Build a Quantum Supercomputer: Scaling from Hundreds to Millions of Qubits

This work shows that orders of magnitude enhancement in performance could be obtained by a combination of hardware improvements and tight quantum-HPC integration and introduces high-performance architectures for quantum-probabilistic computing with custom-designed accelerators to tackle today's industry-scale classical...

Masoud Mohseni, Artur Scherer, K. Johnson et al. · 121 citations · ⚡9

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.