No. Token is basically a arrival time stamp, it changes for a patient every time he comes for his OPD / OT Visit.

Patient Id are patient codes, which are fixed for the life time of the patient whenever he comes to the clinic