Check previous visit value of a patient in TrueDoc