Skip to content
Snippets Groups Projects
Commit 3ac3a386 authored by mjbonifa's avatar mjbonifa
Browse files

Merge branch...

Merge branch '32-fix-need-to-record-the-omop-database-version-inaddition-to-vocab-version' into 'dev'

fix: added omop cdm version to the omop version file at 5.4. It's not clear...

Closes #32

See merge request meldb/concepts-processing!19
parents c348132c 93226637
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,9 @@ logger = logging_config.setup_logger() ...@@ -16,7 +16,9 @@ logger = logging_config.setup_logger()
# constants # constants
VOCAB_PATH = Path("./vocab/omop") VOCAB_PATH = Path("./vocab/omop")
DB_PATH = VOCAB_PATH / "omop_54.sqlite" OMOP_CDM_Version ="54"
OMOP_DB_FILENAME = f"omop_{OMOP_CDM_Version}.sqlite"
DB_PATH = VOCAB_PATH / OMOP_DB_FILENAME
VERSION_FILE = "omop_version.yaml" VERSION_FILE = "omop_version.yaml"
VERSION_PATH = VOCAB_PATH / VERSION_FILE VERSION_PATH = VOCAB_PATH / VERSION_FILE
EXPORT_FILE = "omop_export.db" EXPORT_FILE = "omop_export.db"
...@@ -24,6 +26,7 @@ EXPORT_FILE = "omop_export.db" ...@@ -24,6 +26,7 @@ EXPORT_FILE = "omop_export.db"
vocabularies = { vocabularies = {
"source": "OHDSI Athena", "source": "OHDSI Athena",
"url": "https://athena.ohdsi.org/vocabulary/list", "url": "https://athena.ohdsi.org/vocabulary/list",
"cdm_version": OMOP_CDM_Version,
"version": "", "version": "",
"vocabularies": [ "vocabularies": [
{"id": 1, "name": "SNOMED"}, # No license required {"id": 1, "name": "SNOMED"}, # No license required
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment