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
The icd package does not detect which kind of ICD code (ICD-9 vs ICD-10) nor the format (decimal vs short.) Instead it allows you to get and set attributes on the icd object to mark the kind of ICD and the format. The as.* functions return the value of the "icd_short_diag" attribute.
So, as.decimal_diag sets the "icd_short_diag" attribute to FALSE, and as.short_diag sets the attribute to TRUE. In fact, the output does not depend on the ICD code that is passed in.
test_data.txt
When I used the
Which is the opposite of what things should be...
The text was updated successfully, but these errors were encountered: