Calculate follow-up time per case until end of follow-up depending on pat_status - tidyverse version
Useful links