Changes 'Studyvisit' to a categorical variable and adds the associated domain. Fixes #11