checkAndFixCohortDefinitionSetDataTypes function

Check if a cohort definition set is using the proper data types