getRelationshipId {CodelistGenerator} | R Documentation |
Get relationship ID values from the concept relationship table
Description
Get relationship ID values from the concept relationship table
Usage
getRelationshipId(
cdm,
standardConcept1 = "standard",
standardConcept2 = "standard",
domains1 = "condition",
domains2 = "condition"
)
Arguments
cdm |
A cdm reference |
standardConcept1 |
Character vector with one or more of "Standard", "Classification", and "Non-standard". These correspond to the flags used for the standard_concept field in the concept table of the cdm. |
standardConcept2 |
Character vector with one or more of "Standard", "Classification", and "Non-standard". These correspond to the flags used for the standard_concept field in the concept table of the cdm. |
domains1 |
Character vector with one or more of the OMOP CDM domain. |
domains2 |
Character vector with one or more of the OMOP CDM domain. |
Value
A character vector with unique values
Examples
## Not run:
cdm <- mockVocabRef()
getRelationshipId(cdm = cdm)
CDMConnector::cdmDisconnect(cdm)
## End(Not run)
[Package CodelistGenerator version 3.1.0 Index]