Changes between Initial Version and Version 1 of LEGACY - Query Tool and Analysis Types


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

--

Legend:

Unmodified
Added
Removed
Modified
  • LEGACY - Query Tool and Analysis Types

    v1 v1  
     1== Query Tool and Analysis Types ==
     2
     3The Query Tool tables are contained in distribution files crc_create_query_sqlserver.sql or crc_create_query_oracle.sql within the Demodata scripts. You can find the 1.5 versions at edu.harvard.i2b2.data/Release_1-5/NewInstall/Demodata/scripts/<dbtype> within the demodata distribution.[[BR]]
     4
     5These will repay some study.[[BR]]
     6
     7When you query using the Query Tool (workbench or web client) it is possible to run a query against one or more analysis types; eg: age, race, vital status or gender. Beware that control data for analysis types is provided in so-called seed data held within the above files...
     8
     9{{{
     10insert into QT_BREAKDOWN_PATH(name,value,create_date) values ('PATIENT_GENDER_COUNT_XML','\\i2b2\i2b2\Demographics\Gender\',getdate())
     11insert into QT_BREAKDOWN_PATH(name,value,create_date) values ('PATIENT_RACE_COUNT_XML','\\i2b2\i2b2\Demographics\Race\',getdate())
     12insert into QT_BREAKDOWN_PATH(name,value,create_date) values ('PATIENT_VITALSTATUS_COUNT_XML','\\i2b2\i2b2\Demographics\Vital Status\',getdate())
     13insert into QT_BREAKDOWN_PATH(name,value,create_date) values('PATIENT_AGE_COUNT_XML','\\i2b2\i2b2\Demographics\Age\',getdate())
     14}}}
     15
     16There are implications to the above.
     17 * Analysis breakdowns do not work if the ontology details are incorrect.
     18 * Presumably, analysis types __do__ need to be of the enumerated variety within the ontology tree in order to provide some structure for the histograms within the analysis view. So for example, gender must be an enumeration of male/female, race must be an enumeration of ethnic types, age must be an enumeration of age ranges, and so on.