Find seed concepts
SeedConceptFinder$findSeedConcepts()Return seed concepts given a concept set name and optionally a clinical definition.
The llmClient is only used when addSynonyms and/or adjudicateFuzzySearchResults is TRUE in the arguments.
Throws an error of class NoSeedConceptsError when no seed concepts are found.
SeedConceptFinder$findSeedConcepts(
name,
clinicalDefinition = NULL,
llmClient = NULL,
costTracker = NULL,
domainSettings = NULL,
excludedVocabularyIds = NULL,
connection = NULL,
vocabDatabaseSchema = NULL
)nameThe name to use to find concepts.
clinicalDefinitionOptional: a clinical definition of the concept set target.
llmClientAn ellmer chat object to connect to a large language model, as created for example using
ellmer::chat_ollama().
costTrackerAn environment with an amount variable for keeping track of the total LLM costs.
domainSettingsAn object of type DomainSettings as created by getDomainSettings().
excludedVocabularyIdsCharacter vector of OHDSI Vocabulary names to exclude.
connectionAn open connection to a database server, as created by DatabaseConnector::connect().
vocabDatabaseSchemaThe database and or schema where the OHDSI Vocabulary tables are loaded.