Learnings from using the Synthea data generator for use with ETL-Synthea #81
Replies: 1 comment
-
I ran into problems using the However I ran into a "could not stat file" error when uploading the concept_relationship table which is the largest vocab table. I found a solution at https://stackoverflow.com/questions/53523051/error-could-not-stat-file-xx-csv-unknown-error I think this is a windows issue. I'm using Windows 10 with postgres 12. The solution was The ETL seemed to run fine after that! You can also generate the csv files from synthea using |
Beta Was this translation helpful? Give feedback.
-
I faced a few challenges that I was able to overcome using Synthea which I'll contribute back to the README. For now, I'm adding them to this issue in case others are facing similar issues.
Synthea Setup & Usage
src/main/resources/synthea.properties
to update theexporter
settings to make sure that CSVs are produced as these are the input into the ETL-Synthea process. During my work, I had to change the following settings:I don't think there is any harm in leaving the
fhir
settings totrue
except that your producing extra data that you won't use with ETL-Synthea.JAVA_HOME
environmental variable set. I did not have this set and when running./gradlew build check test
I ran into some Java problems.run_synthea.bat -p 1000
which then creates the CSVs in the /output/csv folder in the Synthea directory. Note this location as it is needed for the ETL-Synthea processing.Running ETL-Synthea
cdm
will hold the OMOP CDM v5.3.1 tables andnative
will hold the native Synthea data.cdm
schema mentioned above. Alternatively, you can establish your CDM and Vocabulary tables using the v5.3.1 scripts on https://github.com/OHDSI/CommonDataModel.Post-processing Synthea
Beta Was this translation helpful? Give feedback.
All reactions