dot-sample_outcome_time function

Sample the onset-to-outcome time conditional that the outcome is after a hospitalisation event