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

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

fix: added omop cdm version to the omop version file at 5.4. It's not clear how we know what version the downloaded omop files are but our assumption is that the downloads are the latest version. Closes #32
parent c348132c
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,9 @@ logger = logging_config.setup_logger()
# constants
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_PATH = VOCAB_PATH / VERSION_FILE
EXPORT_FILE = "omop_export.db"
......@@ -24,6 +26,7 @@ EXPORT_FILE = "omop_export.db"
vocabularies = {
"source": "OHDSI Athena",
"url": "https://athena.ohdsi.org/vocabulary/list",
"cdm_version": OMOP_CDM_Version,
"version": "",
"vocabularies": [
{"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