set appointmentId