Validate conceptSet argument.
Usage
validateConceptSetArgument(
conceptSet,
cdm = NULL,
validation = "error",
call = parent.frame()
)
Arguments
- conceptSet
It can be either a named list of concepts or a codelist, codelist_with_details or conceptSetExpression object.
- cdm
A cdm_reference object, needed if a conceptSetExpression is provided.
- validation
How to perform validation: "error", "warning".
- call
A call argument to pass to cli functions.