Obtains publishing information available for a specific release of the International Classification of Diseases ICD-10.
Arguments
- token
(
list
) Access token to the API obtained fromget_token()
- release
(
character
) ICD-10 release (default = 2019
). Useicd10_releases()
to get all available releases.- language
(
character
) Language for the request. Available languages are listed in https://icd.who.int/docs/icd-api/SupportedClassifications/ the default is English (language = "en"
).- auto_update
Attempts to update token automatically
Examples
#Assuming that the CLIENT ID and CLIENT SECRET are set up. Substitute accordingly
if (exists("CLIENT_ID") & exists("CLIENT_SECRET")) {
#Generated token
token <- get_token(CLIENT_ID, CLIENT_SECRET)
# Get title and url for release
icd10_release_info(token, release = 2016)
}
#> $`@context`
#> [1] "http://id.who.int/icd/contexts/contextForTopLevel.json"
#>
#> $`@id`
#> [1] "http://id.who.int/icd/release/10/2016"
#>
#> $title
#> $title$`@language`
#> [1] "en"
#>
#> $title$`@value`
#> [1] "International Statistical Classification of Diseases and Related Health Problems 10th Revision (ICD-10) Version for 2016"
#>
#>
#> $releaseDate
#> [1] "2016-11-01"
#>
#> $child
#> $child[[1]]
#> [1] "http://id.who.int/icd/release/10/2016/I"
#>
#> $child[[2]]
#> [1] "http://id.who.int/icd/release/10/2016/II"
#>
#> $child[[3]]
#> [1] "http://id.who.int/icd/release/10/2016/III"
#>
#> $child[[4]]
#> [1] "http://id.who.int/icd/release/10/2016/IV"
#>
#> $child[[5]]
#> [1] "http://id.who.int/icd/release/10/2016/V"
#>
#> $child[[6]]
#> [1] "http://id.who.int/icd/release/10/2016/VI"
#>
#> $child[[7]]
#> [1] "http://id.who.int/icd/release/10/2016/VII"
#>
#> $child[[8]]
#> [1] "http://id.who.int/icd/release/10/2016/VIII"
#>
#> $child[[9]]
#> [1] "http://id.who.int/icd/release/10/2016/IX"
#>
#> $child[[10]]
#> [1] "http://id.who.int/icd/release/10/2016/X"
#>
#> $child[[11]]
#> [1] "http://id.who.int/icd/release/10/2016/XI"
#>
#> $child[[12]]
#> [1] "http://id.who.int/icd/release/10/2016/XII"
#>
#> $child[[13]]
#> [1] "http://id.who.int/icd/release/10/2016/XIII"
#>
#> $child[[14]]
#> [1] "http://id.who.int/icd/release/10/2016/XIV"
#>
#> $child[[15]]
#> [1] "http://id.who.int/icd/release/10/2016/XV"
#>
#> $child[[16]]
#> [1] "http://id.who.int/icd/release/10/2016/XVI"
#>
#> $child[[17]]
#> [1] "http://id.who.int/icd/release/10/2016/XVII"
#>
#> $child[[18]]
#> [1] "http://id.who.int/icd/release/10/2016/XVIII"
#>
#> $child[[19]]
#> [1] "http://id.who.int/icd/release/10/2016/XIX"
#>
#> $child[[20]]
#> [1] "http://id.who.int/icd/release/10/2016/XX"
#>
#> $child[[21]]
#> [1] "http://id.who.int/icd/release/10/2016/XXI"
#>
#> $child[[22]]
#> [1] "http://id.who.int/icd/release/10/2016/XXII"
#>
#>
#> $browserUrl
#> [1] "http://apps.who.int/classifications/icd10/browse/2016/en"
#>