Skip to content

reetametta/i2b2-synthea

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

i2b2-synthea

Work in progress

ONLY WORKS IN MSSQL AT PRESENT (9-15-21)

  1. Download SyntheticMass Data, Version 2 (24 May, 2017)
  • All data sets (1k, COVID 10k, COVID 100k) have been verified to work EXCEPT the 100k patients in the large SyntheticMass Version 2 download. This version needs an extra step to delete invalid records before import. (Details coming soon.)
  1. Set up an i2b2 project with the ACT ontology.
  2. Run create_synthea_table_sqlserver.sql in your project to create the Synthea tables.
  3. Import the Synthea data you downloaded in step one into the Synthea tables in your project.
  4. Load the i2b2-to-SNOMED table in this repository into your project. https://www.nlm.nih.gov/healthit/snomedct/us_edition.html
    • Click on the "Download SNOMED-CT to ICD-10-CM Mapping Resources" link to download. (You will need a UMLS account.)
    • Unzip the file
    • Import the TSV file into a table called SNOMED_to_ICD10 in your database.
  5. Run synthea_to_i2b2_sqlserver.sql to convert synthea data into i2b2 tables (this will truncate your existing fact and dimension tables!)
    • Replace references to i2b2metadata.dbo in the script. Use the database and schema where your ACT ontology tables are.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TSQL 73.6%
  • Perl 26.4%