Validate conceptSet argument. It can either be a list, a codelist, a conceptSetExpression or a codelist with details. The output will always be a codelist.
Source:R/validate.R
validateConceptSetArgument.Rd
Validate conceptSet argument. It can either be a list, a codelist, a conceptSetExpression or a codelist with details. The output will always be a codelist.
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.