cs.LGFeb 27, 2026

Inferring Chronic Treatment Onset from ePrescription Data: A Renewal Process Approach

Authors: Pavlin G. Poličar, Dalibor Stanimirović, Blaž Zupan

Organizations: Faculty of Computer and Information Science, University of Ljubljana, SI-1000 Ljubljana, Slovenia · Faculty of Public Administration, University of Ljubljana, SI-1000 Ljubljana, Slovenia

Abstract

Longitudinal electronic health record (EHR) data are often left-censored, making diagnosis records incomplete and unreliable for determining disease onset. In contrast, outpatient prescriptions form renewal-based trajectories that provide a continuous signal of disease management. We propose a probabilistic framework to infer chronic treatment onset by modeling prescription dynamics as a renewal process and detecting transitions from sporadic to sustained therapy via change-point detection between a baseline Poisson (sporadic prescribing) regime and a regime-specific Weibull (sustained therapy) renewal model. Using a nationwide ePrescription dataset of 2.4 million individuals, we show that the approach yields more temporally plausible onset estimates than naive rule-based triggering, substantially reducing implausible early detections under strong left censoring. Detection performance varies across diseases and is strongly associated with prescription density, highlighting both the strengths and limits of treatment-based onset inference.

Figures & tables

Explore similar work

CardsList
  1. Learning Continuous Patient Trajectories from Electronic Health Records

    Sep 28, 2026Silas Ruhrberg Estévez, Kara Liu, Christopher Chiu +4Longitudinal EHR ModelingFlow-Based Generative Modeling

  2. COTCAgent: Preventive Consultation via Probabilistic Chain-of-Thought Completion

    May 14, 2026Zihan Deng, Xiaozhen Zhong, Chuanzhi XuHealthcareClinical Decision Support

  3. Graph-Enhanced Disease Trajectory Discovery and Temporal Endpoint Forecasting from Longitudinal Electronic Health Records

    Oct 14, 2026Jin-Jia Zheng, Vincent S. TsengDisease Progression ModelingLongitudinal EHR Modeling