...
This tool can import the UCRex csv files without problem (Database => Import Data).
DEMOGRAPHICS => Patient
The STUDY_ID field is the key, so edit the type to set to primary key. However, it is in hex format. The type should be changed to VARCHAR with length 32. The default type is BLOB, but this can't be used as a primary key (see why).
...