Add a condition type attribute to determine the provenance of the record

conditionType(ids, connection, vocabularyDatabaseSchema)

Arguments

ids

the concept ids for the attribute

connection

a connection to an OMOP dbms to get vocab info about the concept

vocabularyDatabaseSchema

the database schema for the vocabularies

Value

An attribute that can be used in a query function