map_infections_abx_indications | R Documentation |
Map ICD-10 or ICD-10-CM codes by infection types and whether antibiotics are commonly indicated based on definitions set by \insertCiteHashimoto2020;textualRamses.
map_infections_abx_indications(df, icd_column)
df |
a data frame containing ICD-10 codes |
icd_column |
a variable name or column number in |
For more detail on infection categories and indications
for antibiotic therapy, see antibiotic_icd_indications
.
This function is designed to be compatible with both ICD-10 and ICD-10-CM versions.
The input data frame x
with additional variables
describing infection type and whether antibiotics are indicated.
antibiotic_icd_indications
mock_icd_data <- data.frame(
list(icd10_code = c("J15", "J15X", "J150")),
stringsAsFactors = FALSE)
mock_icd_data <- map_infections_abx_indications(
mock_icd_data, "icd10_code")
mock_icd_data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.