Developers Getting Started With i2b2
Space shortcuts
Space Tools
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »


Important

You only need to update the QT_BREAKDOWN_PATH table if you loaded your own metadata during the Data Installation process.

  • If you loaded the data that is supplied in the metadata and crcdata (demodata) packages then no changes are necessary.
  • If you loaded your own metadata then you need to change the entries in the VALUE column of the QT_BREAKDOWN_PATH table to point to the metadata key (TABLE_CD\FULLNAME) for your analysis breakdowns.

Update the path in the QT_BREAKDOWN_PATH table

In the i2b2 users will select the type of results they would like returned when running a query (e.g. Patient set, Encounter set, Number of Patients, etc.). Some of the result types are a breakdown of pre-defined concepts such as gender, vital status, race, and age. The metadata keys for these analysis breakdowns are defined in the QT_BREAKDOWN_PATH table that was created during the CRC data installation.

  • The standard i2b2 breakdowns are the demographic concepts of gender, vital status, race, and age.
  • The metadata key is a concatenation of two columns in two different ontology tables. This key tells the CRC where the concepts for the breakdowns are located. The CRC uses this information to query the Ontology cell to retrieve the query parameters associated with the concept



METADATA KEY

The metadata key is comprised of two parts:

Part 1: the first part of the key is the TABLE_CD which is equivalent to the C_TABLE_CD column in the TABLE_ACCESS table.
Part 2: the second part of the key is the FULLNAME which is equivalent to the C_FULLNAME column in your metadata table.


The format of the metadata key is: \\TABLE_CD\FULLNAME\



EXAMPLE DATA FROM I2B2 DEMO

The following is an example of the i2b2 demo data that was loaded into the QT_BREAKDOWN, TABLE_ACCESS, and I2B2 tables during the data installation process.


Table: QT_BREAKDOWN_PATH


NAME VALUE
PATIENT_AGE_COUNT_XML \\i2b2_DEMO\i2b2\Demographics\Age\
PATIENT_GENDER_COUNT_XML \\i2b2_DEMO\i2b2\Demographics\Gender\
PATIENT_RACE_COUNT_XML \\i2b2_DEMO\i2b2\Demographics\Race\
PATIENT_VITALSTATUS_COUNT_XML \\i2b2_DEMO\i2b2\Demographics\Vital Status\


Table: TABLE_ACCESS

(Only those columns and rows that are relevant to this example are shown)


C_TABLE_CD C_TABLE_NAME C_FULLNAME C_NAME
i2b2_DEMO I2B2 \i2b2\Demographics\ Demographics


Table: I2B2

(Only those columns and rows that are relevant to this example are shown)


C_FULLNAME C_NAME
\i2b2\Demographics\Age\ Age
\i2b2\Demographics\Gender\ Gender
\i2b2\Demographics\Race\ Race
\i2b2\Demographics\VitalStatus\ Vital Status




  • No labels