Changes between Version 6 and Version 7 of i2b2 HowTo Create a Project


Ignore:
Timestamp:
08/04/15 14:34:52 (9 years ago)
Author:
Richard Bramley
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • i2b2 HowTo Create a Project

    v6 v7  
    11= i2b2 - Create Project
     2
     3Tags: [[i2b2]] [[HowTo]]
    24
    35This is the procedure to create a new project in i2b2.  Most of the process is carried out by Jeff's create project scripts, but there is some preparation work that could perhaps be incorporated into the scripts at some point.
     
    123125=== 4. Create the ontology
    124126
    125 Creating the ontology is beyond the scope of this page.  However, if you want to create the minimum required to stop an error when clicking the top-level node of the ontology, run the following SQL script:
     127See: [[i2b2 HowTo Create an Ontology]]
    126128
    127   {{{
    128   #!sql
    129 
    130   INSERT INTO {MetaData database name from [1]}.dbo.{Ontology table name from [2]}
    131            ([C_HLEVEL]
    132            ,[C_FULLNAME]
    133            ,[C_NAME]
    134            ,[C_SYNONYM_CD]
    135            ,[C_VISUALATTRIBUTES]
    136            ,[C_TOTALNUM]
    137            ,[C_BASECODE]
    138            ,[C_METADATAXML]
    139            ,[C_FACTTABLECOLUMN]
    140            ,[C_TABLENAME]
    141            ,[C_COLUMNNAME]
    142            ,[C_COLUMNDATATYPE]
    143            ,[C_OPERATOR]
    144            ,[C_DIMCODE]
    145            ,[C_COMMENT]
    146            ,[C_TOOLTIP]
    147            ,[UPDATE_DATE]
    148            ,[DOWNLOAD_DATE]
    149            ,[IMPORT_DATE]
    150            ,[SOURCESYSTEM_CD]
    151            ,[VALUETYPE_CD])
    152      VALUES
    153            (0
    154            ,'{Ontology root node name from [4]}'
    155            ,'{Ontology description from [3]}'
    156            ,'N'
    157            ,'CA'
    158            ,NULL
    159            ,NULL
    160            ,NULL
    161            ,'concept_cd'
    162            ,'concept_dimension'
    163            ,'concept_path'
    164            ,'N'
    165            ,'LIKE'
    166            ,'{Ontology root node name from [4]}'
    167            ,NULL
    168            ,'{Ontology description from [3]}'
    169            ,GETDATE()
    170            ,NULL
    171            ,NULL
    172            ,'{A suitable source perhaps Ontology description from [3]}'
    173            ,NULL)
    174 GO
    175 
    176   }}}
     129[[BackLinks]]