Flexible parametric estimation of duration and competing risk models | Synapse