add changes to make redcap_transactions data driven