-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Standardize and improve format across models
Across all models, files are redistributed into table directories, field-type-specific attributes are added where needed, some field attributes are tweaked based on generated-DDL testing, one i2b2_pedsnet reference is tweaked based on generated-DDL testing, the i2b2_pedsnet model is moved to the base directory, and model version numbers are standardized to [0-9].[0-9].[0-9] format. Fixes #125 Fixes #126 Signed-off-by: Aaron Browne <aaron0browne@gmail.com>
- Loading branch information
Aaron Browne
committed
Feb 5, 2016
1 parent
645eab1
commit 957dea0
Showing
1,361 changed files
with
8,395 additions
and
7,888 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
model,version,table,field,required,ref_table,ref_field,description | ||
i2b2,1.7.0,concept_dimension,concept_blob,No,,, | ||
i2b2,1.7.0,concept_dimension,concept_cd,No,,, | ||
i2b2,1.7.0,concept_dimension,concept_path,Yes,,, | ||
i2b2,1.7.0,concept_dimension,download_date,No,,, | ||
i2b2,1.7.0,concept_dimension,import_date,No,,, | ||
i2b2,1.7.0,concept_dimension,name_char,No,,, | ||
i2b2,1.7.0,concept_dimension,sourcesystem_cd,No,,, | ||
i2b2,1.7.0,concept_dimension,update_date,No,,, | ||
i2b2,1.7.0,concept_dimension,upload_id,No,,, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
model,version,table,field,type,length,precision,scale,default | ||
i2b2,1.7.0,concept_dimension,concept_blob,string,256,,, | ||
i2b2,1.7.0,concept_dimension,concept_cd,string,50,,, | ||
i2b2,1.7.0,concept_dimension,concept_path,string,700,,, | ||
i2b2,1.7.0,concept_dimension,download_date,datetime,,,, | ||
i2b2,1.7.0,concept_dimension,import_date,datetime,,,, | ||
i2b2,1.7.0,concept_dimension,name_char,string,2000,,, | ||
i2b2,1.7.0,concept_dimension,sourcesystem_cd,string,50,,, | ||
i2b2,1.7.0,concept_dimension,update_date,datetime,,,, | ||
i2b2,1.7.0,concept_dimension,upload_id,number,,38,5, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
model,version,table,field,required,ref_table,ref_field,description | ||
i2b2,1.7.0,i2b2,c_basecode,No,,, | ||
i2b2,1.7.0,i2b2,c_columndatatype,No,,, | ||
i2b2,1.7.0,i2b2,c_columnname,No,,, | ||
i2b2,1.7.0,i2b2,c_comment,No,,, | ||
i2b2,1.7.0,i2b2,c_dimcode,No,,, | ||
i2b2,1.7.0,i2b2,c_facttablecolumn,No,,, | ||
i2b2,1.7.0,i2b2,c_fullname,No,,, | ||
i2b2,1.7.0,i2b2,c_hlevel,No,,, | ||
i2b2,1.7.0,i2b2,c_metadataxml,No,,, | ||
i2b2,1.7.0,i2b2,c_name,No,,, | ||
i2b2,1.7.0,i2b2,c_operator,No,,, | ||
i2b2,1.7.0,i2b2,c_path,No,,, | ||
i2b2,1.7.0,i2b2,c_symbol,No,,, | ||
i2b2,1.7.0,i2b2,c_synonym_cd,No,,, | ||
i2b2,1.7.0,i2b2,c_tablename,No,,, | ||
i2b2,1.7.0,i2b2,c_tooltip,No,,, | ||
i2b2,1.7.0,i2b2,c_totalnum,No,,, | ||
i2b2,1.7.0,i2b2,c_visualattributes,No,,, | ||
i2b2,1.7.0,i2b2,download_date,No,,, | ||
i2b2,1.7.0,i2b2,import_date,No,,, | ||
i2b2,1.7.0,i2b2,m_applied_path,No,,, | ||
i2b2,1.7.0,i2b2,m_exclusion_cd,No,,, | ||
i2b2,1.7.0,i2b2,sourcesystem_cd,No,,, | ||
i2b2,1.7.0,i2b2,update_date,No,,, | ||
i2b2,1.7.0,i2b2,valuetype_cd,No,,, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
model,version,table,field,type,length,precision,scale,default | ||
i2b2,1.7.0,i2b2,c_basecode,string,50,,, | ||
i2b2,1.7.0,i2b2,c_columndatatype,string,50,,, | ||
i2b2,1.7.0,i2b2,c_columnname,string,50,,, | ||
i2b2,1.7.0,i2b2,c_comment,string,256,,, | ||
i2b2,1.7.0,i2b2,c_dimcode,string,700,,, | ||
i2b2,1.7.0,i2b2,c_facttablecolumn,string,950,,, | ||
i2b2,1.7.0,i2b2,c_fullname,string,700,,, | ||
i2b2,1.7.0,i2b2,c_hlevel,number,,22,5, | ||
i2b2,1.7.0,i2b2,c_metadataxml,string,256,,, | ||
i2b2,1.7.0,i2b2,c_name,string,700,,, | ||
i2b2,1.7.0,i2b2,c_operator,string,10,,, | ||
i2b2,1.7.0,i2b2,c_path,string,700,,, | ||
i2b2,1.7.0,i2b2,c_symbol,string,50,,, | ||
i2b2,1.7.0,i2b2,c_synonym_cd,string,1,,, | ||
i2b2,1.7.0,i2b2,c_tablename,string,50,,, | ||
i2b2,1.7.0,i2b2,c_tooltip,string,900,,, | ||
i2b2,1.7.0,i2b2,c_totalnum,number,,22,5, | ||
i2b2,1.7.0,i2b2,c_visualattributes,string,3,,, | ||
i2b2,1.7.0,i2b2,download_date,datetime,,,, | ||
i2b2,1.7.0,i2b2,import_date,datetime,,,, | ||
i2b2,1.7.0,i2b2,m_applied_path,string,700,,, | ||
i2b2,1.7.0,i2b2,m_exclusion_cd,string,25,,, | ||
i2b2,1.7.0,i2b2,sourcesystem_cd,string,50,,, | ||
i2b2,1.7.0,i2b2,update_date,datetime,,,, | ||
i2b2,1.7.0,i2b2,valuetype_cd,string,50,,, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
model,version,release_level,release_serial,label,url,description | ||
i2b2,1.7.0,beta,2,i2b2,http://i2b2.org, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
model,version,table,field,required,ref_table,ref_field,description | ||
i2b2,1.7.0,observation_fact,concept_cd,Yes,concept_dimension,concept_cd, | ||
i2b2,1.7.0,observation_fact,confidence_num,No,,, | ||
i2b2,1.7.0,observation_fact,download_date,No,,, | ||
i2b2,1.7.0,observation_fact,encounter_num,Yes,visit_dimension,encounter_num, | ||
i2b2,1.7.0,observation_fact,end_date,No,,, | ||
i2b2,1.7.0,observation_fact,import_date,No,,, | ||
i2b2,1.7.0,observation_fact,instance_num,Yes,,, | ||
i2b2,1.7.0,observation_fact,location_cd,No,,, | ||
i2b2,1.7.0,observation_fact,modifier_cd,Yes,,, | ||
i2b2,1.7.0,observation_fact,nval_num,No,,, | ||
i2b2,1.7.0,observation_fact,observation_blob,No,,, | ||
i2b2,1.7.0,observation_fact,patient_num,Yes,patient_dimension,patient_num, | ||
i2b2,1.7.0,observation_fact,provider_id,Yes,provider_dimension,provider_id, | ||
i2b2,1.7.0,observation_fact,quantity_num,No,,, | ||
i2b2,1.7.0,observation_fact,sourcesystem_cd,No,,, | ||
i2b2,1.7.0,observation_fact,start_date,Yes,,, | ||
i2b2,1.7.0,observation_fact,tval_char,No,,, | ||
i2b2,1.7.0,observation_fact,units_cd,No,,, | ||
i2b2,1.7.0,observation_fact,update_date,No,,, | ||
i2b2,1.7.0,observation_fact,upload_id,No,,, | ||
i2b2,1.7.0,observation_fact,valtype_cd,No,,, | ||
i2b2,1.7.0,observation_fact,valueflag_cd,No,,, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
model,version,table,field,type,length,precision,scale,default | ||
i2b2,1.7.0,observation_fact,concept_cd,string,50,,, | ||
i2b2,1.7.0,observation_fact,confidence_num,number,,53,, | ||
i2b2,1.7.0,observation_fact,download_date,datetime,,,, | ||
i2b2,1.7.0,observation_fact,encounter_num,number,,38,5, | ||
i2b2,1.7.0,observation_fact,end_date,datetime,,,, | ||
i2b2,1.7.0,observation_fact,import_date,datetime,,,, | ||
i2b2,1.7.0,observation_fact,instance_num,number,,18,5, | ||
i2b2,1.7.0,observation_fact,location_cd,string,50,,, | ||
i2b2,1.7.0,observation_fact,modifier_cd,string,100,,, | ||
i2b2,1.7.0,observation_fact,nval_num,number,,53,, | ||
i2b2,1.7.0,observation_fact,observation_blob,string,256,,, | ||
i2b2,1.7.0,observation_fact,patient_num,number,,38,5, | ||
i2b2,1.7.0,observation_fact,provider_id,string,50,,, | ||
i2b2,1.7.0,observation_fact,quantity_num,number,,53,, | ||
i2b2,1.7.0,observation_fact,sourcesystem_cd,string,50,,, | ||
i2b2,1.7.0,observation_fact,start_date,datetime,,,, | ||
i2b2,1.7.0,observation_fact,tval_char,string,255,,, | ||
i2b2,1.7.0,observation_fact,units_cd,string,50,,, | ||
i2b2,1.7.0,observation_fact,update_date,datetime,,,, | ||
i2b2,1.7.0,observation_fact,upload_id,number,,38,5, | ||
i2b2,1.7.0,observation_fact,valtype_cd,string,50,,, | ||
i2b2,1.7.0,observation_fact,valueflag_cd,string,50,,, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
model,version,table,field,required,ref_table,ref_field,description | ||
i2b2,1.7.0,patient_dimension,age_in_years_num,No,,, | ||
i2b2,1.7.0,patient_dimension,birth_date,No,,, | ||
i2b2,1.7.0,patient_dimension,death_date,No,,, | ||
i2b2,1.7.0,patient_dimension,download_date,No,,, | ||
i2b2,1.7.0,patient_dimension,ethnicity_cd,No,,, | ||
i2b2,1.7.0,patient_dimension,import_date,No,,, | ||
i2b2,1.7.0,patient_dimension,income_cd,No,,, | ||
i2b2,1.7.0,patient_dimension,language_cd,No,,, | ||
i2b2,1.7.0,patient_dimension,marital_status_cd,No,,, | ||
i2b2,1.7.0,patient_dimension,patient_blob,No,,, | ||
i2b2,1.7.0,patient_dimension,patient_num,Yes,,, | ||
i2b2,1.7.0,patient_dimension,race_cd,No,,, | ||
i2b2,1.7.0,patient_dimension,religion_cd,No,,, | ||
i2b2,1.7.0,patient_dimension,sex_cd,No,,, | ||
i2b2,1.7.0,patient_dimension,sourcesystem_cd,No,,, | ||
i2b2,1.7.0,patient_dimension,statecityzip_path,No,,, | ||
i2b2,1.7.0,patient_dimension,update_date,No,,, | ||
i2b2,1.7.0,patient_dimension,upload_id,No,,, | ||
i2b2,1.7.0,patient_dimension,vital_status_cd,No,,, | ||
i2b2,1.7.0,patient_dimension,zip_cd,No,,, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
model,version,table,field,type,length,precision,scale,default | ||
i2b2,1.7.0,patient_dimension,age_in_years_num,number,,38,5, | ||
i2b2,1.7.0,patient_dimension,birth_date,datetime,,,, | ||
i2b2,1.7.0,patient_dimension,death_date,datetime,,,, | ||
i2b2,1.7.0,patient_dimension,download_date,datetime,,,, | ||
i2b2,1.7.0,patient_dimension,ethnicity_cd,string,200,,, | ||
i2b2,1.7.0,patient_dimension,import_date,datetime,,,, | ||
i2b2,1.7.0,patient_dimension,income_cd,string,50,,, | ||
i2b2,1.7.0,patient_dimension,language_cd,string,50,,, | ||
i2b2,1.7.0,patient_dimension,marital_status_cd,string,50,,, | ||
i2b2,1.7.0,patient_dimension,patient_blob,string,256,,, | ||
i2b2,1.7.0,patient_dimension,patient_num,number,,38,5, | ||
i2b2,1.7.0,patient_dimension,race_cd,string,50,,, | ||
i2b2,1.7.0,patient_dimension,religion_cd,string,50,,, | ||
i2b2,1.7.0,patient_dimension,sex_cd,string,50,,, | ||
i2b2,1.7.0,patient_dimension,sourcesystem_cd,string,50,,, | ||
i2b2,1.7.0,patient_dimension,statecityzip_path,string,700,,, | ||
i2b2,1.7.0,patient_dimension,update_date,datetime,,,, | ||
i2b2,1.7.0,patient_dimension,upload_id,number,,38,5, | ||
i2b2,1.7.0,patient_dimension,vital_status_cd,string,50,,, | ||
i2b2,1.7.0,patient_dimension,zip_cd,string,50,,, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
model,version,table,field,required,ref_table,ref_field,description | ||
i2b2,1.7.0,provider_dimension,download_date,No,,, | ||
i2b2,1.7.0,provider_dimension,import_date,No,,, | ||
i2b2,1.7.0,provider_dimension,name_char,No,,, | ||
i2b2,1.7.0,provider_dimension,provider_blob,No,,, | ||
i2b2,1.7.0,provider_dimension,provider_id,Yes,,, | ||
i2b2,1.7.0,provider_dimension,provider_path,Yes,,, | ||
i2b2,1.7.0,provider_dimension,sourcesystem_cd,No,,, | ||
i2b2,1.7.0,provider_dimension,update_date,No,,, | ||
i2b2,1.7.0,provider_dimension,upload_id,No,,, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
model,version,table,field,type,length,precision,scale,default | ||
i2b2,1.7.0,provider_dimension,download_date,datetime,,,, | ||
i2b2,1.7.0,provider_dimension,import_date,datetime,,,, | ||
i2b2,1.7.0,provider_dimension,name_char,string,850,,, | ||
i2b2,1.7.0,provider_dimension,provider_blob,string,256,,, | ||
i2b2,1.7.0,provider_dimension,provider_id,string,50,,, | ||
i2b2,1.7.0,provider_dimension,provider_path,string,700,,, | ||
i2b2,1.7.0,provider_dimension,sourcesystem_cd,string,50,,, | ||
i2b2,1.7.0,provider_dimension,update_date,datetime,,,, | ||
i2b2,1.7.0,provider_dimension,upload_id,number,,38,5, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
model,version,table,description | ||
i2b2,1.7.0,concept_dimension, | ||
i2b2,1.7.0,observation_fact, | ||
i2b2,1.7.0,patient_dimension, | ||
i2b2,1.7.0,provider_dimension, | ||
i2b2,1.7.0,visit_dimension, | ||
i2b2,1.7.0,i2b2, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
model,version,table,field,required,ref_table,ref_field,description | ||
i2b2,1.7.0,visit_dimension,active_status_cd,No,,, | ||
i2b2,1.7.0,visit_dimension,download_date,No,,, | ||
i2b2,1.7.0,visit_dimension,encounter_num,Yes,,, | ||
i2b2,1.7.0,visit_dimension,end_date,No,,, | ||
i2b2,1.7.0,visit_dimension,import_date,No,,, | ||
i2b2,1.7.0,visit_dimension,inout_cd,No,,, | ||
i2b2,1.7.0,visit_dimension,length_of_stay,No,,, | ||
i2b2,1.7.0,visit_dimension,location_cd,No,,, | ||
i2b2,1.7.0,visit_dimension,location_path,No,,, | ||
i2b2,1.7.0,visit_dimension,patient_num,Yes,patient_dimension,patient_num, | ||
i2b2,1.7.0,visit_dimension,sourcesystem_cd,No,,, | ||
i2b2,1.7.0,visit_dimension,start_date,No,,, | ||
i2b2,1.7.0,visit_dimension,update_date,No,,, | ||
i2b2,1.7.0,visit_dimension,upload_id,No,,, | ||
i2b2,1.7.0,visit_dimension,visit_blob,No,,, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
model,version,table,field,type,length,precision,scale,default | ||
i2b2,1.7.0,visit_dimension,active_status_cd,string,50,,, | ||
i2b2,1.7.0,visit_dimension,download_date,datetime,,,, | ||
i2b2,1.7.0,visit_dimension,encounter_num,number,,38,5, | ||
i2b2,1.7.0,visit_dimension,end_date,datetime,,,, | ||
i2b2,1.7.0,visit_dimension,import_date,datetime,,,, | ||
i2b2,1.7.0,visit_dimension,inout_cd,string,50,,, | ||
i2b2,1.7.0,visit_dimension,length_of_stay,number,,38,5, | ||
i2b2,1.7.0,visit_dimension,location_cd,string,50,,, | ||
i2b2,1.7.0,visit_dimension,location_path,string,900,,, | ||
i2b2,1.7.0,visit_dimension,patient_num,number,,38,5, | ||
i2b2,1.7.0,visit_dimension,sourcesystem_cd,string,50,,, | ||
i2b2,1.7.0,visit_dimension,start_date,datetime,,,, | ||
i2b2,1.7.0,visit_dimension,update_date,datetime,,,, | ||
i2b2,1.7.0,visit_dimension,upload_id,number,,38,5, | ||
i2b2,1.7.0,visit_dimension,visit_blob,string,256,,, |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
i2b2/i2b2_pedsnet/v2/data/definitions/concept_dimension.csv
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
i2b2/i2b2_pedsnet/v2/data/definitions/observation_fact.csv
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
i2b2/i2b2_pedsnet/v2/data/definitions/patient_dimension.csv
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
i2b2/i2b2_pedsnet/v2/data/definitions/provider_dimension.csv
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.