Issue-#1123: Fix automatic birth date assignment for new patients

isNumeric will perform the same function