Description Usage Arguments Value See Also Examples
This function is intended for use when selecting terms to include in a codelist, if you want to filter by terms in a particular dictionary without altering the global dictionary selection of setdictionary
.
1 |
dictName1 |
Name of the first dictionary to include, or a vector of dictionary names (from read, icd10, opcs). |
dictName2 |
Name of another dictionary to include |
dictName3 |
Name of another dictionary to include |
A selection object.
Get and set dictionary: getdictionary
, setdictionary
Other functions for selecting terms in master dictionary: assigncat
, codematch
, explode
, termhas
1 2 3 4 5 6 7 8 9 | setdictionary('icd10', 'read')
# Select a specific ICD-10 code without including mapped Read terms
assigncat(1, 'direct', codematch('I200', 'icd10', exact=TRUE) & dictis('icd10'))
as.codelist('icd10')
# Select only mapped Read terms but not the original ICD-10 terms
assigncat(2, 'mapped', codematch('I200', 'icd10', exact=TRUE) & dictis('read'))
as.codelist('read')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.