Expands upon the assignment of `study_visit` in the export script to include pre-randomization 'visits'