This function creates all Synthea tables.

CreateSyntheaTables(connectionDetails, syntheaSchema, syntheaVersion = "2.7.0")

Arguments

connectionDetails

An R object of type
connectionDetails created using the function createConnectionDetails in the DatabaseConnector package.

syntheaSchema

The name of the database schema that will contain the Synthea instance. Requires read and write permissions to this database. On SQL Server, this should specify both the database and the schema, so for example 'cdm_instance.dbo'.

syntheaVersion

The version of Synthea used to generate the csv files. Currently "2.7.0", "3.0.0", "3.1.0", "3.2.0" and "3.3.0" are is supported.