CCSRfind {CCSRfind} | R Documentation |
Identify CCSR codes corresponding to ICD-10 codes
Description
Identify CCSR codes corresponding to ICD-10 codes
Usage
CCSRfind(workset, dxs, example = FALSE)
Arguments
workset |
Dataset with ICD-10 codes |
dxs |
List of column name(s) of ICD-10 codes within workset |
example |
indicator if running an example, default is FALSE |
Value
A list of CCSR codes corresponding to the ICD-10 codes
Examples
# Example dataset
id<-c(1:2)
dx1<-c("A000","B0189")
dx2<-c("A157","E133591")
workset<-data.frame(id,dx1,dx2)
dxs<-c("dx1","dx2")
# Convert to CCSR codes
CCSRfind(workset=workset,dxs=dxs,example=TRUE)
[Package CCSRfind version 0.1.0 Index]