Page History
Document Properties Marker | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||
|
i2b2 Multiple Fact Tables
Project Name: | Multi-fact table | Repository Location: | https://github.com/i2b2/i2b2-core-server |
Developer/s: | Lori Phillips, MS | ||
Institution/s: | Partners HealthCare | i2b2 Components: | i2b2 Server |
Email: | lcphillips@partners.org | Keywords: | i2b2, multifact |
I want to... | Where to find it |
---|---|
View the setup documentation | Software Configuration |
Download the i2b2 Software | i2b2 Website |
Project Summary
The multi-fact table project is a new feature that has been added to version 1.7.09 of the i2b2. Prior to this release, the i2b2 star schema could only support one fact table (observation_fact). We have noticed an increasing need for the i2b2 to be able to search multiple fact tables with a single query. The i2b2 server has been updated to allow those sites that want to use multiple fact tables will have the option to do so. A new parameter called “queryprocessor.multifacttable” has been added to the crc.properties file.
A "true" value will turn on the multi-fact table feature. The CRC will query all the fact tables you have setup in your environment.
A "false" value will disable the multi-fact table feature and only search the single observation_fact table.
This new feature enables the i2b2 to adapt to the needs of such projects as the Patient Centered Outcome Research Institute (PCORI) network and the Observational Medical Outcomes Partnership (OMOP) Common Data Model (CDM). It can also be used for sites that want to be able to query both genomic and phenotype data but don't want the data to reside in a single table.
Starting with 1.7.12 version, you can set multifacttable parameter in hive_cell_params table. Using SQL editor, update the param_name_cd queryprocessor.multifacttable value to true
example Oracle syntax:
Example Box | ||
---|---|---|
| ||
UPDATE hive_cell_params set value ='true' where param_name_cd ='queryprocessor.multifacttable' and cell_id ='CRC'; |
Deprecated Box | ||
---|---|---|
| ||
Prior to 1.7.12 , the parameter “queryprocessor.multifacttable” was set in crc.properties file. The setting is now configurable in the database. |
Info |
---|
Beginning in 1.7.12, the CRC properties are in the database! See this link. |