ODK for longitudinal RCT w/ multiple visits

There are several posts on the forum that discuss randomization. Have you seen these and do they help?

For follow-up, it would be possible to use an ID code to lookup some additional details that are pulled from a form dataset and used to confirm that the ID was entered correctly.