Settings: Targets and Vocabulary

Create an OMOP CDM, change its sources, delete it, and load the vocabulary.

Settings has two tabs, Vocabulary and Targets. A target is one OMOP CDM: a schema omop_<name> in the database of a data source.

Set up

  1. OMOP > Settings > Targets > Create OMOP CDM… Choose the data source whose database stores the CDM, and the sources that feed it: for each data source its raw vault, its MDM golden vault, or both. A source may be in the same database or in another one (it is then read in batches and copied; the CDM does not need to share a database with its sources). Choose the golden vault to get one person per merged patient. The CDM is a new schema omop_<name>.
  2. Load the vocabulary (OMOP > Settings > Vocabulary; browse it under OMOP > Vocabulary). Download the vocabularies you need from athena.ohdsi.org (free account; some vocabularies have their own licence terms that you accept there), unzip them into a folder on the server, and enter the folder. It needs CONCEPT, VOCABULARY and CONCEPT_RELATIONSHIP; DOMAIN, CONCEPT_CLASS and RELATIONSHIP are loaded when present. Only the Maps to relationships are loaded by default, which is all the standardization needs. Tick CONCEPT_ANCESTOR for drug and dose eras and DRUG_STRENGTH for dose eras. A full Athena download is several GB (CONCEPT_RELATIONSHIP and CONCEPT_ANCESTOR are the largest) and takes a while to load. The vocabulary is stored once per database that holds a CDM (schema omop_vocab).
  3. Pipelines > Internal: switch the Load OMOP CDM pipeline of each source on. The first run loads everything; after that only new and changed records.

Targets

Create OMOP CDM… asks for a name, the data source whose database stores the CDM and the sources. Each CDM has a card with its figures, the table counts, the unmapped codes and its pipelines. On the card:

ButtonDoes
Change sourcesTick, per data source, its raw vault and/or its MDM golden vault. A removed source keeps the rows it already wrote; its pipeline is removed. A CDM needs at least one source: to get rid of the CDM itself use Delete….
Unmapped codes…The worklist of codes without a standard concept, most used first. Map one by hand with a concept search; the rows that carry it are written again at the next run. A manual mapping stays when the vocabulary is replaced.
Quality checks…Runs the built-in checks (see Data Quality).
Delete…Drops the schema with all its tables, the mappings you made by hand and the pipelines of the CDM. The source data and the vocabulary are not touched. Type the name of the CDM exactly as shown in the dialog title and next to the field (upper and lower case do not matter) and press Delete. If a load or a query is still using the CDM the delete stops after 15 seconds with a message; wait and try again. It cannot be undone.

Vocabulary

The vocabulary is stored once per database that holds a CDM. The tab shows, per database, the concepts, standard concepts, relationships and version, the vocabularies it contains, and a form to load or replace it (a folder on the server, the relationships to keep, and the optional CONCEPT_ANCESTOR, DRUG_STRENGTH and CONCEPT_SYNONYM files). While it loads, the progress per file is shown. A synthetic test vocabulary is marked as such. Browse what was loaded under OMOP > Vocabulary.

Careful

Loading a new vocabulary resolves every code again and rewrites the records at the next run of each pipeline.