Skip to contents

All functions

applyMigrationSql()
Apply a migration SQL script to an active DBI connection
buildLatestRelease()
Build the latest quarterly release manifest
convertCsvToYaml()
Convert a legacy CSV results data model specification to a YAML definition
findLatestReleaseManifest()
Find the latest release manifest file
generateModuleDdl()
Generate OHDSI SQL DDL for one or all HADES modules
generateReleaseDdl()
Generate release-level CREATE TABLE DDL from a release manifest
getMigrationPath()
Resolve the ordered list of migration SQL files between two module versions.
getOrCreateRegistry()
Get or create the central HADES version registry table.
inferCurrentVersions()
Infer current module versions by fingerprinting an existing database schema.
migrateResultsModel()
Migrate a HADES results database to a target calendar release.
testMigrationSql()
Test that a migration SQL file correctly transforms a module schema
yamlDefinitionToSql()
Convert a module YAML definition to OHDSI SQL CREATE TABLE statements