retrieving patient ID in adding appt

retrieving patient ID in adding appt