small change in patient msg logic