Methods
This was a retrospective study based on data drawn from the ConcertAI Oncology Research database, enriched by key variables derived from unstructured data. Line of therapy was derived from expert rules applied to structured medications data. Our cohort consisted of patients with confirmed diagnosis of solid cancers without a second malignancy. Patient follow-up period started on the date of diagnosis of metastasis and ended on the earlier of last date of activity / date of death. Random observation date was set between start and end dates to label patients. Patients administered a new treatment after the random observation date were labelled evet, else censored (no new treatment began). Label date is start of new treatment and end dates for event & censored cases respectively. The time to event (TTE) was defined as the duration between the random observation and the label dates. In the event cases, this duration is the time to next treatment (TTNT). Over 2000 features based on variables broadly grouped as tumor-specific biomarkers (PTEN, KRAS, etc.), ECOG, staging, disease status, medications, and imaging (evidence of image, not report) were employed to build multiple ML models. Temporal validation of the models was performed by setting up a simulated index date and predicting the probability of patient beginning a new treatment within 60 days of the simulated index date. Patients receiving new treatment within the 60 days were true positives.