vantage6.algorithm.tools.decorators.get_ohdsi_metadata#

get_ohdsi_metadata(label)#

Retrieve the OHDSI metadata from the environment variables.

The following environment variables are expected to be set in the node configuration in the env key of the database section:

Return type:

OHDSIMetaData

```yaml … databases:

#

In case these are not set, the algorithm execution is terminated.

type label:

str

param label:

Label of the database to connect to

type label:

str

Example

>>> get_ohdsi_metadata("my_database")