Patient Portal whereto variable

I am generating the token in the patient check-in module.