\documentclass{bmcart}


% Load packages

\usepackage{amsthm,amsmath}
\RequirePackage{hyperref}
\usepackage[utf8]{inputenc} % unicode support
\usepackage{pdflscape}      % for landscape environment
\usepackage{tikz}           % for drawing graphics
\usepackage[]{graphicx}     % for fig
\usepackage{caption}
\usepackage{subcaption}     % for subfig
\usepackage[labelfont=bf]{caption}
\usepackage{hyperref}       % for sub ref fig 
\usepackage{natbib}
\usepackage{makecell}
\bibliographystyle{bmc-mathphys}
\usepackage{comment}
\usepackage{csquotes}
\usepackage{pifont}
\usepackage{ragged2e}
\usepackage{threeparttable}
\usepackage{booktabs}
\usepackage{multirow}
\usepackage{xcolor}
\usepackage{framed}
\usepackage{cellspace}    % Added cellspace package
\usepackage[many]{tcolorbox}
\usepackage{lipsum}       % For generating dummy text
\usepackage{changepage}
\usepackage{geometry}
\usepackage[affil-it]{authblk}


\onecolumn  
\title{Addressing Treatment Switching Bias with G-methods: Exploring the Impact of Model Specification}
\author[1,2]{Amani Al Tawil\thanks{Correspondence: altawil@ibe.med.uni-muenchen.de}}
\author[3]{Sean McGrath}
\author[4]{Robin Ristl\thanks{Equally contributed}}
\author[1,2]{Ulrich Mansmann\textsuperscript{†}}
\affil[1]{Institute for Medical Information Processing, Biometry, and Epidemiology (IBE), Faculty of Medicine, Ludwig-Maximilians-Universität München}
\affil[2]{Pettenkofer School of Public Health, Faculty of Medicine, Ludwig-Maximilians-Universität München}
\affil[3]{Department of Biostatistics, Harvard T.H. Chan School of Public Health}
\affil[4]{Center for Medical Data Science, Medical University of Vienna}

\renewcommand\Affilfont{\itshape\small}
\date{}  % remove date


\begin{document}
\newgeometry{left=2cm,right=2cm,top=2cm,bottom=2cm} % Adjust the values as needed for the title page
\maketitle
%\restoregeometry % Restore the default margins for the rest of the document
\maketitle
\begin{adjustwidth}{-1cm}{-1cm} % Adjust the values of X as needed

\vspace{-5em} % Increase the space between title and author names
\vspace{3em}  % Increase the space between author names and "Electronic Supplementary Material"
\begin{center}
\section*{\centering \LARGE Electronic Supplementary Material 1}
\vspace{1.5em} % Increase the space between "Electronic Supplementary Material 1" and "Data Dictionary"
%\large \textbf{Data Dictionary}
\end{center}
%\vspace{30pt}
\end{adjustwidth}

\begin{center}
\large \textbf{Data Dictionary}
\end{center}
\vspace{30pt}

\onecolumn

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ID                              %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{minipage}{\linewidth}
\begin{center}
\large \textbf{Data Dictionary}
\end{center}
\vspace{30pt}
\begin{tabular}{|p{5cm}|p{2.5cm}|p{2.5cm}|p{7cm}|}
\hline
\textbf{Participant Identifier} & \textbf{Variable Name} & \textbf{Variable Type}& \textbf{Coding} \\
\hline
Participant ID & id & Numerical & Unique numerical number  \\
\hline
\end{tabular}
\vspace{30pt}




%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Time                            %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{tabular}{|p{5cm}|p{2.5cm}|p{2.5cm}|p{7cm}|}
\hline
\textbf{Time} & \textbf{Variable Name} & \textbf{Variable Type}& \textbf{Coding} \\
\hline
Follow-up time & time & Discrete, numerical & Follow-up time (months since 
baseline) \\
\hline
Progression time & progtime & Continuous & Time at progression (months since 
baseline) \\
\hline
\end{tabular}
\vspace{30pt}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Baseline Covariate              %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{tabular}{|p{5cm}|p{2.5cm}|p{2.5cm}|p{7cm}|}
\hline
\textbf{Baseline Covariates} & \textbf{Variable Name} & \textbf{Variable Type}& \textbf{Coding} \\
\hline
Age  & AGE & Continuous  & Years\\
\hline
Sex & SEX & Binary & \makecell[l]{0: Male \\ 1: Female} \\
\hline
Race & RACEGR1 & Binary  & \makecell[l]{0: Non-asian\\ 1: Asian}\\
\hline
Eastern Cooperative Oncology Group score (ECOG) & ECOGGR1 & Binary & \makecell[l]{0: 0 \\ 1: 1,2,3,4 or 5}\\
\hline
Smoking history & SMKHISGR1 & Binary & \makecell[l]{0: Never \\ 1: Ever} \\
\hline
Measurable intracranial central nervous system
(CNS) disease & MICNSFL & Binary & \makecell[l]{0: No measurable intracranial disease \\ 1: Measurable intracranial disease} \\
\hline
Prior radiation therapy & PRRADYN & Binary & \makecell[l]{0: No prior radiation therapy \\ 1: Prior radiation therapy} \\
\hline
Strata at randomization (baseline brain metastases and previous chemotherapy) & STRATRAN & Categorical &  \makecell[l] {0: No iCNS metastasis/No prior chemo\\
1: iCNS metastasis/No prior chemo\\
2: No iCNS metastasis/Prior chemo\\
3: iCNS metastasis/Prior chemo}\\
\hline
Initial cancer diagnosis stage & DIAGINITGR3 & Categorical & \makecell[l] {0: IV \\ 1: IIIB \\ 2: IIIA \\ 3: IIA,IB or IA}  \\
\hline
Lung involvement at study entry & LIASE & Categorical &  \makecell[l] {0: Both \\ 1: Right\\ 2: Left \\ 3: Lung not involved} \\
\hline
\end{tabular}
\end{minipage}



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Time-Varying Covariates         %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{minipage}{\linewidth}
\begin{tabular}{|p{5cm}|p{2.5cm}|p{2.5cm}|p{7cm}|}
\hline
\textbf{Time-Varying Covariates} & \textbf{Variable Name} & \textbf{Variable Type}& \textbf{Coding} \\
\hline
Disease progression & progtd &  Binary &  \makecell[l] {0: No progression \\ 1: Progression} \\
\hline
Intracranial disease progression & icprogtd & Binary & \makecell[l] {0: No intracranial progression \\ 1: Intracranial progression} \\
\hline
\multirow{3}{*}{\raggedright ECOG} & ecogtdGR1 & Binary &  \makecell[l] {0: 0 \\ 1: 1,2,3,4 and 5} \\
& & &\\
&  ecogtdGR2 & Categorical &  \makecell[l] {0: 0 \\ 1: 1 \\ 2: 2,3,4 or 5} \\
\hline
Target-lesion size & tltd\_wins & Continuous  & mm\\
\hline
Switching status & xotd & Binary & \makecell[l] {0: No switching \\ 1: switching} \\
\hline
\end{tabular}
\vspace{30pt}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Treatment                       %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{tabular}{|p{5cm}|p{2.5cm}|p{2.5cm}|p{7cm}|}
\hline
\textbf{Treatment} & \textbf{Variable Name} & \textbf{Variable Type}& \textbf{Coding} \\
\hline
Treatment randomized & plannedtrt & Binary & \makecell[l] {0: Crizotinib \\ 1: Brigatinib} \\
\hline
Treatment received & trttd & Binary & \makecell[l] {0: Crizotinib \\ 1: Brigatinib} \\
\hline
\end{tabular}
\vspace{30pt}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Outcome                         %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{tabular}{|p{5cm}|p{2.5cm}|p{2.5cm}|p{7cm}|}
\hline
\textbf{Outcome} & \textbf{Variable Name} & \textbf{Variable Type}& \textbf{Coding}\\
\hline
Death & deathtd & Binary & \makecell[l] {0: Alive \\ 1: Died} \\
\hline
\end{tabular}
\vspace{30pt}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% loss to follow-up               %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{tabular}{|p{5cm}|p{2.5cm}|p{2.5cm}|p{7cm}|}
\hline
\textbf{Lost to follow-up} & \textbf{Variable Name} & \textbf{Variable Type}& \textbf{Coding} \\
\hline
Censoring due to loss to follow-up / administrative censoring & censoringtd\_new & Binary & \makecell[l] {0: No censoring \\ 1: Censoring} \\
\hline
\end{tabular}
\end{minipage}
\end{document}