defined global name rc for get_fields(record_class)

in order to add studyID-specific time field ('date' for 'meditrain' and 'timeStamp' for all other rec classes)