Here is my output:
cdmSchema ← “synthea”
cdmVersion ← “5.4”
syntheaVersion ← “3.0.0”
syntheaSchema ← “native”
syntheaFileLoc ← “/home/acumenus/GitHub/synthea/output/csv”
vocabFileLoc ← “/home/acumenus/GitHub/synthea/vocabulary_v5_latest”
ETLSyntheaBuilder::CreateCDMTables(connectionDetails = cd, cdmSchema = cdmSchema, cdmVersion = cdmVersion)
Connecting using PostgreSQL driver
|============================================================================================================================================| 100%
Executing SQL took 0.13 secs
ETLSyntheaBuilder::CreateSyntheaTables(connectionDetails = cd, syntheaSchema = syntheaSchema, syntheaVersion = syntheaVersion)
Running synthea_version/v300/create_synthea_tables.sql
Connecting using PostgreSQL driver
|============================================================================================================================================| 100%
Executing SQL took 0.0439 secs
ETLSyntheaBuilder::LoadSyntheaTables(connectionDetails = cd, syntheaSchema = syntheaSchema, syntheaFileLoc = syntheaFileLoc)
Connecting using PostgreSQL driver
Loading: allergies.csv
| | 0%Error in rJava::.jcall(batchedInsert, “Z”, “executeBatch”) :
java.sql.BatchUpdateException: Batch entry 0 INSERT INTO native.allergies (“1993-03-08”,V2,“4b9c1991-8733-d3f6-777d-6310b5dd7af2”,“c689f326-df74-aaa5-2aa0-a4bdb17a963a”,“419199007”,Unknown,“Allergy to substance (finding)”,allergy,environment,V10,V11,V12,V13,V14,V15) VALUES(8467,NULL,‘4b9c1991-8733-d3f6-777d-6310b5dd7af2’,‘c689f326-df74-aaa5-2aa0-a4bdb17a963a’,29046,‘Unknown’,‘Lisinopril’,‘intolerance’,‘medication’,NULL,NULL,NULL,NULL,NULL,NULL) was aborted: ERROR: column “1993-03-08” of relation “allergies” does not exist
Position: 31 Call getNextException to see other errors in the batch.
So I am not sure where the problem is.