Changes between Version 20 and Version 21 of i2b2 Database Structure


Ignore:
Timestamp:
02/21/11 10:13:02 (14 years ago)
Author:
jeff.lusted
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • i2b2 Database Structure

    v20 v21  
    6969'''C_TOTALNUM''': Not used, but suspect can be used in the latest version (for performance reasons?).[[br]]
    7070'''C_BASECODE''': the term that describes the ontological concept.[[br]]
    71 '''C_METADATAXML''': an optional field to store extra information about the concept in xml format. It is currently used to describe value metadata associated with a lab finding. For further details, see [http://trac.briccs.org.uk/wiki/i2b2%20-%20Documents Documents page].[[br]]
     71'''C_METADATAXML''': an optional field to store extra information about the concept in xml format. It is currently used to describe value metadata associated with a lab finding. For further details, see [http://trac.briccs.org.uk/wiki/i2b2%20-%20Documents Documents page].Jeff  has points to make about this.[[br]]
    7272'''C_FACTTABLECOLUMN''': name of the column in the CRC cell observation_fact table that holds the concept code.[[br]]
    7373'''C_TABLENAME''': name of the lookup table within the CRC cell that holds the concept code and concept path. In the top diagram this would be concept_dimension.[[br]]
     
    7777'''C_DIMCODE''': the path that lives in the dimension table and maps to the concept path.[[br]]
    7878
     79=== CRC Cell: DDL for Table concept_dimension ===
     80{{{
     81-- Oracle --
     82CREATE TABLE CONCEPT_DIMENSION (
     83        CONCEPT_CD          VARCHAR2(50)   NOT NULL,
     84        CONCEPT_PATH        VARCHAR2(700)  NOT NULL,
     85        NAME_CHAR           VARCHAR2(2000) NULL,
     86        CONCEPT_BLOB        CLOB           NULL,
     87        UPDATE_DATE         DATE           NULL,
     88        DOWNLOAD_DATE       DATE           NULL,
     89        IMPORT_DATE         DATE           NULL,
     90        SOURCESYSTEM_CD     VARCHAR2(50)   NULL,
     91        UPLOAD_ID           NUMBER(38,0)   NULL,
     92    CONSTRAINT CONCEPT_DIMENSION_PK PRIMARY KEY(CONCEPT_PATH)
     93) ;     
     94}}}
    7995
    80