Study table
The study table contains recordings, including MRI series and physiology studies.
| Type | Null Allowed? | Â | Â | Comment |
---|---|---|---|---|---|
'study_id' 'int(11)' 'NO' 'PRI' '' 'auto_increment' | Â | Â | Â | Â | Â |
'modified' 'timestamp' 'NO' '' 'CURRENT_TIMESTAMP' 'on update CURREN...' | Â | Â | Â | Â | Â |
'project_id' 'smallint(6)' 'NO' '' '0' '' | Â | Â | Â | Â | Â |
'subject_id' 'int(11)' 'NO' '' '0' '' | Â | Â | Â | Â | Â |
'name' 'varchar(255)' 'NO' '' '' '' | Â | Â | Â | Â | Â |
'date' 'date' 'YES' '' '' '' | Â | Â | Â | Â | Â |
'datatype' 'enum('MRI','opti...' 'NO' '' 'MRI' '' | Â | Â | Â | Â | Â |
'datapath' 'varchar(255)' 'YES' '' '' '' | Â | Â | Â | Â | This should be the raw data; in phys it is currently the standard-format data |
'series' 'int(11)' 'YES' '' '' '' | Â | Â | Â | Â | might need to use this for phys, in case have two studies on same day (or should examno be different?) |
'description' 'text' 'YES' '' '' '' | Â | Â | Â | Â | Â |
'examno' 'bigint(20)' 'YES' '' '' '' | Â | Â | Â | Â | Â |
'duration' 'int(11)' 'YES' '' '' '' | Â | Â | Â | Â | Â |
'loaded' 'tinyint(4)' 'NO' '' '0' '' | Â | Â | Â | Â | for hd2000 |
'datafile' 'varchar(255)' 'YES' '' '' '' | Â | Â | Â | Â | Â |
'datetime' 'datetime(3)' 'YES' '' '' '' | Â | Â | Â | Â | Â |
 |  |  |  |  |  |
 |  |  |  |  |  |
 |  |  |  |  |  |
 |  |  |  |  |  |
Â
Â