Quantifying Direct and Indirect Effects Through Joint Modeling of Terminal Events and Gap Times Between Recurrent Events | Synapse