Changes between Version 10 and Version 11 of i2b2 Database Structure


Ignore:
Timestamp:
02/21/11 08:51:12 (14 years ago)
Author:
jeff.lusted
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • i2b2 Database Structure

    v10 v11  
    11== i2b2 - DB Basics ==
    22
     3=== Structure ===
    34This is a very bare basics. At this stage we should be primarily interested in the observation_fact table and its relationship with the concept_dimension table within the CRC Cell. And then the correspondence with any ontology tables within the Ontology Cell. Interest in the patient_dimension, visit_dimension and other of the tables within the CRC are a little further down the line.[[BR]]
    45
     
    2930+----------------------------------+
    3031}}}
     32=== Ontology Cell: DDL for Table ONYX ===
     33{{{
     34-- ORACLE --
     35  CREATE TABLE ONYX
     36   (    "C_HLEVEL"           NUMBER(22,0)   NOT NULL,
     37        "C_FULLNAME"         VARCHAR2(700)  NOT NULL,
     38        "C_NAME"             VARCHAR2(2000) NOT NULL,
     39        "C_SYNONYM_CD"       CHAR(1)        NOT NULL,
     40        "C_VISUALATTRIBUTES" CHAR(3)        NOT NULL,
     41        "C_TOTALNUM"         NUMBER(22,0)   NULL,
     42        "C_BASECODE"         VARCHAR2(50)   NULL,
     43        "C_METADATAXML"      CLOB           NULL,
     44        "C_FACTTABLECOLUMN"  VARCHAR2(50)   NOT NULL,
     45        "C_TABLENAME"        VARCHAR2(50)   NOT NULL,
     46        "C_COLUMNNAME"       VARCHAR2(50)   NOT NULL,
     47        "C_COLUMNDATATYPE"   VARCHAR2(50)   NOT NULL,
     48        "C_OPERATOR"         VARCHAR2(10)   NOT NULL,
     49        "C_DIMCODE"          VARCHAR2(700)  NOT NULL,
     50        "C_COMMENT"          CLOB           NULL,
     51        "C_TOOLTIP"          VARCHAR2(900)  NULL,
     52        "UPDATE_DATE"        DATE           NOT NULL,
     53        "DOWNLOAD_DATE"      DATE           NULL,
     54        "IMPORT_DATE"        DATE           NULL,
     55        "SOURCESYSTEM_CD"    VARCHAR2(50)   NULL,
     56        "VALUETYPE_CD"       VARCHAR2(50)   NULL
     57   ) ;
     58}}}