Generated IDs and random groups
Two kinds of field in the data dictionary fill themselves in when a record is created.
Generated IDs
Add a field and choose ID as its type, then pick the format. Every participant gets their own code when their record is created, and records that already exist get one too. Use it in exports and anywhere you’d rather not use names.
- Format: a short code that is easy to read out, or a UUID.
- Prefix (optional): short codes can start with a prefix of up to 10 characters, such as
CLM-7K3Q9P.
A generated ID can’t be edited.
Random groups
Open the record type under Setup > Record types, such as Participants, and use Randomise. Pick one of its single choice fields, or list the groups for a new one. Each new record of that type is put into one of the groups by chance, for example Intervention or Control. Records that already exist without a value are assigned too.
Keep Keep the groups balanced on to assign in small shuffled blocks, so the groups stay even as people join. With pure chance, 100 people can easily end up split 56 to 44.
Once a group is assigned it can’t be changed, and every assignment is recorded in the activity log.