OMOP
Space shortcuts
Space Tools
Skip to end of metadata
Go to start of metadata

Directory Structure for the i2b2 on OMOP data package

Once you have extracted the files from the i2b2 omop data package you will notice the following directory structure in your i2b2 data directory:

Main Directory for New Data Installs (i2b2 on OMOP): YOUR_I2B2_OMOP_DATA_DIR\i2b2_omop_data\

DirectoryDescription
crcdataContains the data installation files for the Data Repository (CRC) Cell. These CRC tables are specific to the i2b2 on OMOP project.
metadataContains the data installation files for the Ontology (ONT) Cell. These tables are also specific to the i2b2 on OMOP project.
workdataContains the data installation files for the Workplace Framework (Work) Cell. These tables are not specific to the i2b2 on OMOP project.

In each of the above directories you will find the following:

Directory or FileDescription
\scripts\This directory contains all the scripts used to create the tables, stored procedures, and views
\omop\scripts\This directory contains all the scripts used to insert the sample data into the tables
db.propertiesProperties file to define the database setup parameters (type, username, driver, etc.)

Schema Mapping

In the classic i2b2, there are multiple database or schemas that are typically defined in the i2b2 database. Each of the schemas correlate to the appropriate data tables. However, in the i2b2 on OMOP project there is only one schema. This means all the crcdata, metadata, and workdata tables will reside in a single database or schema, which is the one for your CDM tables.

Schema for i2b2 on OMOP

Directory FolderSchemaProject
CrcdataYour_CDM_Schemaomop
MetadataYour_CDM_Schemaomop
WorkdataYour_CDM_Schemaomop
Example of classic i2b2 Schema Mapping
Directory FolderSchemaProject
Crcdatai2b2demodataDemo
Hivedatai2b2hive 
Imdatai2b2imdata 
Metadatai2b2metadataDemo
Pmdatai2b2pm 
Workdatai2b2workdataDemo
  • No labels