I have a similar problem as rxpsych even bigger as i have multiple such columns of patients data . But i dont know how to apply the code given here. can somebody explain the method of applying the code. Screenshots will be more helpful. Thanks in advance.