You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# R version 4.2.2 (2022-10-31 ucrt)# icd_4.0.9.9000
library(icd)
#get subchapterssub_chap<-icd10_sub_chapters
This subchapter expands for range_major but not range: Disorders Of Thyroid Gland
x<- unlist(sub_chap[51])
# Disorders Of Thyroid Gland.start # "E00" # Disorders Of Thyroid Gland.end # "E07"
expand_range(x[1], x[2])
# Error in icd9_expand_range_short(start, end, defined, ex_ambig_start, : # is_defined(start, short_code = TRUE) is not TRUE
expand_range_major(x[1], x[2])
# [1] "E000" "E001" "E002" "E003" "E004" "E005" "E006" "E007"
This subchapter doesn't expand, gives same error: Pedestrian Injured In Transport Accident
x<- unlist(sub_chap[239])
# Pedestrian Injured In Transport Accident.start # "V00" # Pedestrian Injured In Transport Accident.end # "V09"
expand_range(x[1], x[2])
expand_range_major(x[1], x[2])
# Error in guess_pair_version(start = start, end = end, short_code = short_code) : # Cannot expand range because ICD code version cannot be guessed from V00 and V09. Either specify the classes, e.g. icd9("100.4"), or call the# S3 method directly, e.g. expand_range.icd9
The text was updated successfully, but these errors were encountered:
See below:
This subchapter expands for range_major but not range: Disorders Of Thyroid Gland
This subchapter doesn't expand, gives same error: Pedestrian Injured In Transport Accident
The text was updated successfully, but these errors were encountered: