| Version 18 (modified by , 9 years ago) ( diff ) | 
|---|
i2b2 HowTo Create an Ontology
Procedure
- Log into the server UHLSQLBRICCSDB\UHLBRICCSDBand databasei2b2ClinDataIntegration
- Execute the stored procedure [dbo].[CreateEmptyOntology] @OntologyName, @Prefix, @SourceSystem, @OntologyBaseNode, @OntologyDescription- Where:
- @OntologyNameis the name of the ontology and must not contain spaces, e.g., 'EMISPrimaryCareData'
- @Prefixis the prefix for the concept codes and must not contain spaces, e.g., 'EMISPCD'
- @SourceSystemis the system from which the data is being copied, e.g., 'Gem Risk Stratification'
- @OntologyBaseNodeis the name of the root node for the ontology, e.g., 'EMISPrimaryCareData'
- @OntologyDescriptionis a short description of the ontology, e.g., 'EMIS Primary Care Data from GEM'
 
 
- Where:
- Create records in the table OntologyUsagein thei2b2ClinDataIntegrationdatabase for each study that will use the ontology. TheStudyNameis the unique portion of the i2b2 database names, for examplei2b2_app03_{studyName}_data.
- Run the command EXECUTE [i2b2ClinDataIntegration].[dbo].[UpdateOntologyConceptCodes];
- and finally and very importantly add the ontology to the OntologyUsage table
  Note:
 See   TracWiki
 for help on using the wiki.
    
