Skip to contents

Given a 3-digit ICD-10-GM code, this function will generate the URL of the corresponding page of the BfArM ICD-10-GM browser, and use browseURL() to open it.

Usage

icd_browse(icd3, year = NULL, open_browser = TRUE)

Arguments

icd3

3-digit ICD-10-GM code (e.g. "A01")

year

ICD-10-GM version (default: most recent available version). Only works for year >= 2009.

open_browser

Whether to open the ICD-10-GM documentation in the default browser (Default: TRUE, as this is the primary intention of the function)

Value

Called for side-effect, but returns the URL invisibly icd_search() to search for a string in the ICD-10-GM labels icd_lookup() to lookup an ICD-10-GM code in the console

Details

This currently provides the correct URL for ICD-10-GM versions from 2009. Given that BfArM are still using the old dimdi.de domain for this purpose, it is possible that the URL schema will change in the near future.

This is a convenience function intended for interactive use.

Examples

icd_browse("R50", open_browser = FALSE)