Return only those codes which are heading or leaf (billable), specifying whether codes are all short-form or all decimal-form
1 | get_defined(x, short_code = guess_short(x), billable = FALSE, leaf = billable)
|
x |
input vector or factor, possibly with an ICD class |
short_code |
logical value, whether short-form ICD code |
billable |
single logical value, identical to 'leaf'. Leaf is preferred as most adaptations of WHO ICD codes are not oriented around money. |
leaf |
single logical value, whether to limit return codes also by whether they are billable, i.e. leaf nodes. This is really only designed for use with ICD-9-CM, ICD-10-CM etc, since the WHO versions are not designed for billing, but for public health and death reporting. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.