Skip to content

thehyve/omop-cdm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5f6a02a · Dec 19, 2024

History

24 Commits
Dec 2, 2024
Mar 28, 2024
Dec 19, 2024
Dec 19, 2024
Mar 13, 2024
Mar 28, 2024
Dec 18, 2024
Apr 4, 2024
Dec 3, 2024
Dec 2, 2024
Dec 2, 2024
Dec 3, 2024
Mar 28, 2024

Repository files navigation

omop-cdm

omop-cdm is a Python package that contains SQLAlchemy declarative table definitions of several versions of the OHDSI OMOP CDM.

Installation

omop-cdm requires Python >= 3.9.

Install from PyPI:

pip install omop-cdm

Usage

See User documentation

Supported databases

The omop-cdm table definitions are tested to be compatible with PostgreSQL.

Though not officially supported, omop-cdm doesn't use postgres-specific features of SQLAlchemy, so it can likely be used for other database types as well.

CDM versions

omop-cdm contains table defintions for the following CDM versions:

Development

Setup steps

  • Make sure Poetry is installed.
  • Install the project and dependencies via poetry install.
  • Set up the pre-commit hook scripts via poetry run pre-commit install.

Nox sessions

Several developer actions (e.g. run tests, code format, lint) are available via nox sessions. For a complete list, run:

nox --list

About

SQLAlchemy definition of the OHDSI OMOP CDM

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages