icd_search {ICD10gm} | R Documentation |
Search ICD-10-GM labels for a string
Description
Search ICD-10-GM labels for a string
Usage
icd_search(pattern, level = 5, year = NULL, ignore.case = TRUE, ...)
Arguments
pattern |
String to search for (character object of length 1) |
level |
Maximum level of the ICD-10 hierarchy to search. level = 3 will search ohne 3-digit codes, level = 4 all 3 and 4 digit codes, level = 5 will search through all codes. |
year |
Year in which to search (Default: most recent year available) |
ignore.case |
Should the search be case insensitive? (Default: TRUE) |
... |
Further parameters passed to |
Value
Usually called for side-effect (open browser), returns the corresponding URL invisibly.
See Also
icd_browse()
to lookup an ICD-10-GM code in the official BfArM documentation, opening the page in a browser
icd_lookup()
to lookup an ICD-10-GM code in the console
Examples
icd_search("vitamin", level = 3)
icd_search("vitamin", level = 5)
[Package ICD10gm version 1.2.5 Index]