Determines the type of childhood cancer cases based on the histology and site codes of the cancer. It uses the International Classification of Childhood Cancer (ICCC) codes to determine the classification. The function returns a value based on the method specified and the depth level of the classification hierarchy to be determined.
kid_class(histology, site, method = "iccc3", depth = 1, verbose = FALSE)
Histology code of the cancer.
Site (aka topography) code of the cancer.
Method to use for diagnosis classification.
Default is "iccc3"
.
Can be one of "iccc3"
, "who-iccc3"
, "iarc2017"
.
Depth level of the classification hierarchy to be determined.
If set to 99
, will return the SEER grouping.
Logical value to print messages to the console if unable to
classify or duplicates found. Default is FALSE
.
Returns the diagnostic classification of the childhood cancer based on the specified method and depth level.
kid_class("8522", "C50.1", method = "iccc3", depth = 1)
#> [1] XI. Other malignant epithelial neoplasms and malignant melanomas
#> 12 Levels: I. Leukemias, myeloproliferative diseases, and myelodysplastic diseases ...
kid_class("8970", "C22.0", method = "iccc3", depth = 2)
#> [1] (a) Hepatoblastoma
#> 47 Levels: (a) Lymphoid leukemias ... (b) Other unspecified malignant tumors