Provides an open-source 'teal' module and a reusable table builder for time to next intervention and related time-to-event endpoints. Kaplan-Meier summaries are produced with 'tern' and 'rtables' for both multi-arm (dose-level) and two-arm designs. Hazard ratio, Wald confidence interval, and log-rank p-value are calculated only when exactly two treatment arms are present. The builder can be called without launching 'shiny'.