the problem is being caused by the naming convention you are using for columns in the table.
you should avoid using spaces in column names:
Patient Name
Either use the Camel Case naming convention:
PatientName
or use underscores in place of spaces:
Patient_Name