Skip to contents

Looks "system|code" strings up in the concept table of a vocabulary connection. The system URI selects the vocabulary (VOCABULARY_BY_SYSTEM); a standard concept is used as is, otherwise the valid Maps to relationship is followed (when concept_relationship exists). Unknown systems and codes with no standard target are omitted. Mirror of Python omop_etl.fhir.resolve_codes.

Usage

resolve_fhir_codes(vocab_con, codes)

Arguments

vocab_con

A DBI connection holding the OMOP vocabulary tables.

codes

Character vector of "system|code".

Value

A named list "system|code" = concept_id.