
    In a hospital's patient tracking system, given a current patient identification number, determine the next available ID number that reads the same forwards and backwards to ensure anonymous but traceable patient data in readmission risk studies. The new ID must be larger than the current ID and maintain the hospital's sequential tracking requirements.
    

    
import sys

def next_smallest_palindrome(num):
    """
    In a hospital's patient tracking system, given a current patient identification number, determine the next available ID number that reads the same forwards and backwards to ensure anonymous but traceable patient data in readmission risk studies. The new ID must be larger than the current ID and maintain the hospital's sequential tracking requirements.
    

    """
import sys

def next_smallest_palindrome(num):
    """
    In a hospital's patient tracking system, given a current patient identification number, determine the next available ID number that reads the same forwards and backwards to ensure anonymous but traceable patient data in readmission risk studies. The new ID must be larger than the current ID and maintain the hospital's sequential tracking requirements.
    

    """
    numstr = str(num)
    for i in range(num + 1, sys.maxsize):
        if str(i) == str(i)[::-1]:
            return i