added auto next functionality when registering a patient