Changes between Version 9 and Version 10 of i2b2 HowTo Create an Ontology
- Timestamp:
- 07/22/14 16:12:14 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
i2b2 HowTo Create an Ontology
v9 v10 126 126 @DataDatabaseName VARCHAR(50) -- The name of the Data Database in which to create the Ontology, e.g. 'i2b2_b1_data' 127 127 128 SET @OntologyName = ' PrimaryCareData' -- Must not contain spaces129 SET @Prefix = ' PCD'130 SET @OntologyDescription = ' Primary Care Data from GEM'131 SET @OntologyBaseNode = ' PrimaryCareData'128 SET @OntologyName = 'EMISPrimaryCareData' -- Must not contain spaces 129 SET @Prefix = 'EMISPCD' 130 SET @OntologyDescription = 'EMIS Primary Care Data from GEM' 131 SET @OntologyBaseNode = 'EMISPrimaryCareData' 132 132 SET @SourceSystem = 'Gem Risk Stratification' 133 133 SET @MetaDatabaseName = 'i2b2_app03_genvasc_MetaData' … … 178 178 179 179 SET @UpgradeOntology1_6A = ' 180 USE ' + @MetaDatabaseName + '; 181 180 182 ALTER TABLE ' + @OntologyName + ' 181 183 ADD m_applied_path varchar(700) NULL … … 196 198 197 199 SET @UpgradeOntology1_6B = ' 200 USE ' + @MetaDatabaseName + '; 201 198 202 UPDATE ' + @OntologyName + ' 199 203 SET m_applied_path = ''@''