processLastDose function

Process and standardize extracted last dose times