Directory Structure for the i2b2 demo data package
Once you have extracted the files from the i2b2 data package you will notice the following directory structure in your i2b2 data directory:
Main Directory for New Data Installs: YOUR_I2B2_DATA_DIR\i2b2_omop_data\
Directory | Description |
---|---|
crcdata | Contains the data installation files for the Data Repository (CRC) Cell. These CRC tables are specific to the i2b2 on OMOP project. |
metadata | Contains the data installation files for the Ontology (ONT) Cell. These tables are also specific to the i2b2 on OMOP project. |
workdata | Contains the data installation files for the Workplace Framework (Work) Cell. These tables are not specific to the i2b2 on OMOP project. |
Remove the following
Directory | Description |
---|---|
Crcdata | Contains the data installation files for the Data Repository (CRC) Cell. |
Hivedata | Contains the data installation files for the i2b2 Hive. |
Imdata | Contains the data installation files for the Identity Management (IM) Cell. |
Metadata | Contains the data installation files for the Ontology Management (ONT) Cell. |
Pmdata | Contains the data installation files for the Project Management (PM) Cell. |
Workdata | Contains the data installation files for the Workplace Framework (WORK) Cell. |
In each of the above directories you will find the following:
Fix the following
Directory or File | Description |
---|---|
Scripts | This directory contains all the scripts used during the data installation (create and load) |
db.properties | Properties file to define the database setup parameters (type, username, driver, etc.) |
Schema Mapping
As stated previous the main directory for your data installation is YOUR_I2B2_DATA_DIR\edu.harvard.i2b2.data\Release_1-7\NewInstall and within it are several folders contains the install scripts. These folder and the appropriate schema to which they are mapped are outlined in the following table.
Directory Folder | Schema | Project |
---|---|---|
Crcdata | i2b2demodata | Demo |
Hivedata | i2b2hive |
|
Imdata | i2b2imdata |
|
Metadata | i2b2metadata | Demo |
Pmdata | i2b2pm |
|
Workdata | i2b2workdata | Demo |