termhas {CALIBERcodelists} | R Documentation |
Returns a selection object with terms matching the regular expression pattern.
termhas(regexpr, exact = FALSE, ignorecase = TRUE)
regexpr |
a single search pattern or vector of patterns, which can use POSIX regular expressions. If it is a vector of search patterns the results are combined using OR. |
exact |
whether to search for an exact term instead of using regular expression matching. |
ignorecase |
whether to use case sensitive matching; the default is to ignore case. |
a selection
object.
assigncat
, codematch
, dictis
, medcodeis
, explode
,
setdictionary
setdictionary('opcs') termhas('bronchoscop') termhas('stab.*angina')