Skip to content

Commit

Permalink
Added data for the raisin bread DB.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasbrossard committed Jan 7, 2020
1 parent aa7d767 commit 60fdd06
Show file tree
Hide file tree
Showing 8 changed files with 351 additions and 327 deletions.
14 changes: 7 additions & 7 deletions raisinbread/RB_files/RB_mri_protocol.sql
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
SET FOREIGN_KEY_CHECKS=0;
TRUNCATE TABLE `mri_protocol`;
LOCK TABLES `mri_protocol` WRITE;
INSERT INTO `mri_protocol` (`ID`, `Center_name`, `ScannerID`, `Scan_type`, `TR_min`, `TR_max`, `TE_min`, `TE_max`, `TI_min`, `TI_max`, `slice_thickness_min`, `slice_thickness_max`, `xspace_min`, `xspace_max`, `yspace_min`, `yspace_max`, `zspace_min`, `zspace_max`, `xstep_min`, `xstep_max`, `ystep_min`, `ystep_max`, `zstep_min`, `zstep_max`, `time_min`, `time_max`, `image_type`, `series_description_regex`) VALUES (1004,'ZZZZ',0,63,347.0000,667.0000,5.1900,7.6500,NULL,NULL,4.0000,4.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `mri_protocol` (`ID`, `Center_name`, `ScannerID`, `Scan_type`, `TR_min`, `TR_max`, `TE_min`, `TE_max`, `TI_min`, `TI_max`, `slice_thickness_min`, `slice_thickness_max`, `xspace_min`, `xspace_max`, `yspace_min`, `yspace_max`, `zspace_min`, `zspace_max`, `xstep_min`, `xstep_max`, `ystep_min`, `ystep_max`, `zstep_min`, `zstep_max`, `time_min`, `time_max`, `image_type`, `series_description_regex`) VALUES (1005,'ZZZZ',0,44,2400.0000,2400.0000,2.0000,4.0000,1200.0000,1200.0000,0.9700,1.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `mri_protocol` (`ID`, `Center_name`, `ScannerID`, `Scan_type`, `TR_min`, `TR_max`, `TE_min`, `TE_max`, `TI_min`, `TI_max`, `slice_thickness_min`, `slice_thickness_max`, `xspace_min`, `xspace_max`, `yspace_min`, `yspace_max`, `zspace_min`, `zspace_max`, `xstep_min`, `xstep_max`, `ystep_min`, `ystep_max`, `zstep_min`, `zstep_max`, `time_min`, `time_max`, `image_type`, `series_description_regex`) VALUES (1006,'ZZZZ',0,45,3200.0000,3200.0000,384.0000,528.0000,NULL,NULL,1.0000,1.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `mri_protocol` (`ID`, `Center_name`, `ScannerID`, `Scan_type`, `TR_min`, `TR_max`, `TE_min`, `TE_max`, `TI_min`, `TI_max`, `slice_thickness_min`, `slice_thickness_max`, `xspace_min`, `xspace_max`, `yspace_min`, `yspace_max`, `zspace_min`, `zspace_max`, `xstep_min`, `xstep_max`, `ystep_min`, `ystep_max`, `zstep_min`, `zstep_max`, `time_min`, `time_max`, `image_type`, `series_description_regex`) VALUES (1007,'ZZZZ',0,40,2500.0000,2500.0000,27.0000,27.0000,NULL,NULL,4.0000,4.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,130,130,NULL,NULL);
INSERT INTO `mri_protocol` (`ID`, `Center_name`, `ScannerID`, `Scan_type`, `TR_min`, `TR_max`, `TE_min`, `TE_max`, `TI_min`, `TI_max`, `slice_thickness_min`, `slice_thickness_max`, `xspace_min`, `xspace_max`, `yspace_min`, `yspace_max`, `zspace_min`, `zspace_max`, `xstep_min`, `xstep_max`, `ystep_min`, `ystep_max`, `zstep_min`, `zstep_max`, `time_min`, `time_max`, `image_type`, `series_description_regex`) VALUES (1008,'ZZZZ',0,66,10404.0000,14600.0000,88.0000,102.0000,NULL,NULL,2.0000,3.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,25,27,NULL,NULL);
INSERT INTO `mri_protocol` (`ID`, `Center_name`, `ScannerID`, `Scan_type`, `TR_min`, `TR_max`, `TE_min`, `TE_max`, `TI_min`, `TI_max`, `slice_thickness_min`, `slice_thickness_max`, `xspace_min`, `xspace_max`, `yspace_min`, `yspace_max`, `zspace_min`, `zspace_max`, `xstep_min`, `xstep_max`, `ystep_min`, `ystep_max`, `zstep_min`, `zstep_max`, `time_min`, `time_max`, `image_type`, `series_description_regex`) VALUES (1009,'ZZZZ',0,65,10200.0000,13000.0000,88.0000,105.0000,NULL,NULL,2.0000,2.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,65,66,NULL,NULL);
INSERT INTO `mri_protocol` (`ID`, `Center_name`, `ScannerID`, `Scan_type`, `TR_min`, `TR_max`, `TE_min`, `TE_max`, `TI_min`, `TI_max`, `slice_thickness_min`, `slice_thickness_max`, `xspace_min`, `xspace_max`, `yspace_min`, `yspace_max`, `zspace_min`, `zspace_max`, `xstep_min`, `xstep_max`, `ystep_min`, `ystep_max`, `zstep_min`, `zstep_max`, `time_min`, `time_max`, `image_type`, `series_description_regex`) VALUES (1010,'ZZZZ',0,64,489.0000,489.0000,3.1900,5.6500,NULL,NULL,4.0000,4.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `mri_protocol` (`ID`, `Center_name`, `ScannerID`, `Scan_type`, `TR_min`, `TR_max`, `TE_min`, `TE_max`, `TI_min`, `TI_max`, `slice_thickness_min`, `slice_thickness_max`, `xspace_min`, `xspace_max`, `yspace_min`, `yspace_max`, `zspace_min`, `zspace_max`, `xstep_min`, `xstep_max`, `ystep_min`, `ystep_max`, `zstep_min`, `zstep_max`, `time_min`, `time_max`, `image_type`, `series_description_regex`, `MriProtocolGroupID`) VALUES (1004,'ZZZZ',0,63,347.0000,667.0000,5.1900,7.6500,NULL,NULL,4.0000,4.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1);
INSERT INTO `mri_protocol` (`ID`, `Center_name`, `ScannerID`, `Scan_type`, `TR_min`, `TR_max`, `TE_min`, `TE_max`, `TI_min`, `TI_max`, `slice_thickness_min`, `slice_thickness_max`, `xspace_min`, `xspace_max`, `yspace_min`, `yspace_max`, `zspace_min`, `zspace_max`, `xstep_min`, `xstep_max`, `ystep_min`, `ystep_max`, `zstep_min`, `zstep_max`, `time_min`, `time_max`, `image_type`, `series_description_regex`, `MriProtocolGroupID`) VALUES (1005,'ZZZZ',0,44,2400.0000,2400.0000,2.0000,4.0000,1200.0000,1200.0000,0.9700,1.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1);
INSERT INTO `mri_protocol` (`ID`, `Center_name`, `ScannerID`, `Scan_type`, `TR_min`, `TR_max`, `TE_min`, `TE_max`, `TI_min`, `TI_max`, `slice_thickness_min`, `slice_thickness_max`, `xspace_min`, `xspace_max`, `yspace_min`, `yspace_max`, `zspace_min`, `zspace_max`, `xstep_min`, `xstep_max`, `ystep_min`, `ystep_max`, `zstep_min`, `zstep_max`, `time_min`, `time_max`, `image_type`, `series_description_regex`, `MriProtocolGroupID`) VALUES (1006,'ZZZZ',0,45,3200.0000,3200.0000,384.0000,528.0000,NULL,NULL,1.0000,1.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1);
INSERT INTO `mri_protocol` (`ID`, `Center_name`, `ScannerID`, `Scan_type`, `TR_min`, `TR_max`, `TE_min`, `TE_max`, `TI_min`, `TI_max`, `slice_thickness_min`, `slice_thickness_max`, `xspace_min`, `xspace_max`, `yspace_min`, `yspace_max`, `zspace_min`, `zspace_max`, `xstep_min`, `xstep_max`, `ystep_min`, `ystep_max`, `zstep_min`, `zstep_max`, `time_min`, `time_max`, `image_type`, `series_description_regex`, `MriProtocolGroupID`) VALUES (1007,'ZZZZ',0,40,2500.0000,2500.0000,27.0000,27.0000,NULL,NULL,4.0000,4.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,130,130,NULL,NULL,1);
INSERT INTO `mri_protocol` (`ID`, `Center_name`, `ScannerID`, `Scan_type`, `TR_min`, `TR_max`, `TE_min`, `TE_max`, `TI_min`, `TI_max`, `slice_thickness_min`, `slice_thickness_max`, `xspace_min`, `xspace_max`, `yspace_min`, `yspace_max`, `zspace_min`, `zspace_max`, `xstep_min`, `xstep_max`, `ystep_min`, `ystep_max`, `zstep_min`, `zstep_max`, `time_min`, `time_max`, `image_type`, `series_description_regex`, `MriProtocolGroupID`) VALUES (1008,'ZZZZ',0,66,10404.0000,14600.0000,88.0000,102.0000,NULL,NULL,2.0000,3.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,25,27,NULL,NULL,1);
INSERT INTO `mri_protocol` (`ID`, `Center_name`, `ScannerID`, `Scan_type`, `TR_min`, `TR_max`, `TE_min`, `TE_max`, `TI_min`, `TI_max`, `slice_thickness_min`, `slice_thickness_max`, `xspace_min`, `xspace_max`, `yspace_min`, `yspace_max`, `zspace_min`, `zspace_max`, `xstep_min`, `xstep_max`, `ystep_min`, `ystep_max`, `zstep_min`, `zstep_max`, `time_min`, `time_max`, `image_type`, `series_description_regex`, `MriProtocolGroupID`) VALUES (1009,'ZZZZ',0,65,10200.0000,13000.0000,88.0000,105.0000,NULL,NULL,2.0000,2.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,65,66,NULL,NULL,1);
INSERT INTO `mri_protocol` (`ID`, `Center_name`, `ScannerID`, `Scan_type`, `TR_min`, `TR_max`, `TE_min`, `TE_max`, `TI_min`, `TI_max`, `slice_thickness_min`, `slice_thickness_max`, `xspace_min`, `xspace_max`, `yspace_min`, `yspace_max`, `zspace_min`, `zspace_max`, `xstep_min`, `xstep_max`, `ystep_min`, `ystep_max`, `zstep_min`, `zstep_max`, `time_min`, `time_max`, `image_type`, `series_description_regex`, `MriProtocolGroupID`) VALUES (1010,'ZZZZ',0,64,489.0000,489.0000,3.1900,5.6500,NULL,NULL,4.0000,4.0000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1);
UNLOCK TABLES;
SET FOREIGN_KEY_CHECKS=1;
26 changes: 13 additions & 13 deletions raisinbread/RB_files/RB_mri_protocol_checks.sql
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
SET FOREIGN_KEY_CHECKS=0;
TRUNCATE TABLE `mri_protocol_checks`;
LOCK TABLES `mri_protocol_checks` WRITE;
INSERT INTO `mri_protocol_checks` (`ID`, `Scan_type`, `Severity`, `Header`, `ValidMin`, `ValidMax`, `ValidRegex`) VALUES (1,45,'warning','echo_time',0.4900,0.5280,NULL);
INSERT INTO `mri_protocol_checks` (`ID`, `Scan_type`, `Severity`, `Header`, `ValidMin`, `ValidMax`, `ValidRegex`) VALUES (2,66,'warning','repetition_time',12.8000,12.8000,NULL);
INSERT INTO `mri_protocol_checks` (`ID`, `Scan_type`, `Severity`, `Header`, `ValidMin`, `ValidMax`, `ValidRegex`) VALUES (3,66,'warning','repetition_time',13.3000,13.3000,NULL);
INSERT INTO `mri_protocol_checks` (`ID`, `Scan_type`, `Severity`, `Header`, `ValidMin`, `ValidMax`, `ValidRegex`) VALUES (4,66,'warning','echo_time',0.1020,0.1020,NULL);
INSERT INTO `mri_protocol_checks` (`ID`, `Scan_type`, `Severity`, `Header`, `ValidMin`, `ValidMax`, `ValidRegex`) VALUES (5,65,'warning','repetition_time',11.1000,11.1000,NULL);
INSERT INTO `mri_protocol_checks` (`ID`, `Scan_type`, `Severity`, `Header`, `ValidMin`, `ValidMax`, `ValidRegex`) VALUES (6,65,'warning','repetition_time',11.2000,11.2000,NULL);
INSERT INTO `mri_protocol_checks` (`ID`, `Scan_type`, `Severity`, `Header`, `ValidMin`, `ValidMax`, `ValidRegex`) VALUES (7,65,'warning','echo_time',0.1020,0.1030,NULL);
INSERT INTO `mri_protocol_checks` (`ID`, `Scan_type`, `Severity`, `Header`, `ValidMin`, `ValidMax`, `ValidRegex`) VALUES (8,66,'warning','slice_thickness',2.0000,2.0000,NULL);
INSERT INTO `mri_protocol_checks` (`ID`, `Scan_type`, `Severity`, `Header`, `ValidMin`, `ValidMax`, `ValidRegex`) VALUES (9,66,'warning','time',26.0000,26.0000,NULL);
INSERT INTO `mri_protocol_checks` (`ID`, `Scan_type`, `Severity`, `Header`, `ValidMin`, `ValidMax`, `ValidRegex`) VALUES (10,65,'warning','time',65.0000,65.0000,NULL);
INSERT INTO `mri_protocol_checks` (`ID`, `Scan_type`, `Severity`, `Header`, `ValidMin`, `ValidMax`, `ValidRegex`) VALUES (11,63,'warning','repetition_time',0.6670,0.6670,NULL);
INSERT INTO `mri_protocol_checks` (`ID`, `Scan_type`, `Severity`, `Header`, `ValidMin`, `ValidMax`, `ValidRegex`) VALUES (12,44,'warning','echo_time',0.0030,0.0040,NULL);
INSERT INTO `mri_protocol_checks` (`ID`, `Scan_type`, `Severity`, `Header`, `ValidMin`, `ValidMax`, `ValidRegex`) VALUES (13,44,'warning','slice_thickness',1.0000,1.0000,NULL);
INSERT INTO `mri_protocol_checks` (`ID`, `Scan_type`, `Severity`, `Header`, `ValidMin`, `ValidMax`, `ValidRegex`, `MriProtocolChecksGroupID`) VALUES (1,45,'warning','echo_time',0.4900,0.5280,NULL,1);
INSERT INTO `mri_protocol_checks` (`ID`, `Scan_type`, `Severity`, `Header`, `ValidMin`, `ValidMax`, `ValidRegex`, `MriProtocolChecksGroupID`) VALUES (2,66,'warning','repetition_time',12.8000,12.8000,NULL,1);
INSERT INTO `mri_protocol_checks` (`ID`, `Scan_type`, `Severity`, `Header`, `ValidMin`, `ValidMax`, `ValidRegex`, `MriProtocolChecksGroupID`) VALUES (3,66,'warning','repetition_time',13.3000,13.3000,NULL,1);
INSERT INTO `mri_protocol_checks` (`ID`, `Scan_type`, `Severity`, `Header`, `ValidMin`, `ValidMax`, `ValidRegex`, `MriProtocolChecksGroupID`) VALUES (4,66,'warning','echo_time',0.1020,0.1020,NULL,1);
INSERT INTO `mri_protocol_checks` (`ID`, `Scan_type`, `Severity`, `Header`, `ValidMin`, `ValidMax`, `ValidRegex`, `MriProtocolChecksGroupID`) VALUES (5,65,'warning','repetition_time',11.1000,11.1000,NULL,1);
INSERT INTO `mri_protocol_checks` (`ID`, `Scan_type`, `Severity`, `Header`, `ValidMin`, `ValidMax`, `ValidRegex`, `MriProtocolChecksGroupID`) VALUES (6,65,'warning','repetition_time',11.2000,11.2000,NULL,1);
INSERT INTO `mri_protocol_checks` (`ID`, `Scan_type`, `Severity`, `Header`, `ValidMin`, `ValidMax`, `ValidRegex`, `MriProtocolChecksGroupID`) VALUES (7,65,'warning','echo_time',0.1020,0.1030,NULL,1);
INSERT INTO `mri_protocol_checks` (`ID`, `Scan_type`, `Severity`, `Header`, `ValidMin`, `ValidMax`, `ValidRegex`, `MriProtocolChecksGroupID`) VALUES (8,66,'warning','slice_thickness',2.0000,2.0000,NULL,1);
INSERT INTO `mri_protocol_checks` (`ID`, `Scan_type`, `Severity`, `Header`, `ValidMin`, `ValidMax`, `ValidRegex`, `MriProtocolChecksGroupID`) VALUES (9,66,'warning','time',26.0000,26.0000,NULL,1);
INSERT INTO `mri_protocol_checks` (`ID`, `Scan_type`, `Severity`, `Header`, `ValidMin`, `ValidMax`, `ValidRegex`, `MriProtocolChecksGroupID`) VALUES (10,65,'warning','time',65.0000,65.0000,NULL,1);
INSERT INTO `mri_protocol_checks` (`ID`, `Scan_type`, `Severity`, `Header`, `ValidMin`, `ValidMax`, `ValidRegex`, `MriProtocolChecksGroupID`) VALUES (11,63,'warning','repetition_time',0.6670,0.6670,NULL,1);
INSERT INTO `mri_protocol_checks` (`ID`, `Scan_type`, `Severity`, `Header`, `ValidMin`, `ValidMax`, `ValidRegex`, `MriProtocolChecksGroupID`) VALUES (12,44,'warning','echo_time',0.0030,0.0040,NULL,1);
INSERT INTO `mri_protocol_checks` (`ID`, `Scan_type`, `Severity`, `Header`, `ValidMin`, `ValidMax`, `ValidRegex`, `MriProtocolChecksGroupID`) VALUES (13,44,'warning','slice_thickness',1.0000,1.0000,NULL,1);
UNLOCK TABLES;
SET FOREIGN_KEY_CHECKS=1;
6 changes: 6 additions & 0 deletions raisinbread/RB_files/RB_mri_protocol_checks_group.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
SET FOREIGN_KEY_CHECKS=0;
TRUNCATE TABLE `mri_protocol_checks_group`;
LOCK TABLES `mri_protocol_checks_group` WRITE;
INSERT INTO `mri_protocol_checks_group` (`MriProtocolChecksGroupID`, `Name`) VALUES (1,'Default MRI protocol checks group');
UNLOCK TABLES;
SET FOREIGN_KEY_CHECKS=1;
6 changes: 6 additions & 0 deletions raisinbread/RB_files/RB_mri_protocol_checks_group_target.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
SET FOREIGN_KEY_CHECKS=0;
TRUNCATE TABLE `mri_protocol_checks_group_target`;
LOCK TABLES `mri_protocol_checks_group_target` WRITE;
INSERT INTO `mri_protocol_checks_group_target` (`MriProtocolChecksGroupTargetID`, `MriProtocolChecksGroupID`, `ProjectID`, `SubprojectID`, `Visit_label`) VALUES(1, 1, NULL, NULL, NULL);
UNLOCK TABLES;
SET FOREIGN_KEY_CHECKS=1;
6 changes: 6 additions & 0 deletions raisinbread/RB_files/RB_mri_protocol_group.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
SET FOREIGN_KEY_CHECKS=0;
TRUNCATE TABLE `mri_protocol_group`;
LOCK TABLES `mri_protocol_group` WRITE;
INSERT INTO `mri_protocol_group` (`MriProtocolGroupID`, `Name`) VALUES(1, 'Default MRI protocol group');
UNLOCK TABLES;
SET FOREIGN_KEY_CHECKS=1;
6 changes: 6 additions & 0 deletions raisinbread/RB_files/RB_mri_protocol_group_target.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
SET FOREIGN_KEY_CHECKS=0;
TRUNCATE TABLE `mri_protocol_group_target`;
LOCK TABLES `mri_protocol_group_target` WRITE;
INSERT INTO `mri_protocol_group_target` (`MriProtocolGroupTargetID`, `MriProtocolGroupID`, `ProjectID`, `SubprojectID`, `Visit_label`) VALUES(1, 1, NULL, NULL, NULL);
UNLOCK TABLES;
SET FOREIGN_KEY_CHECKS=1;
Loading

0 comments on commit 60fdd06

Please sign in to comment.