Open yijutseng opened 6 years ago
HepCAllDiag<-readRDS("HepCAllDiag.rds") HepCAllDiag$CCSCate<-emr::IcdDxToCCS(HepCAllDiag,MemberID,ICD,DateServiceStarted,"2015/10/01")
錯誤訊息 Error in$<-.data.frame(tmp, CCSCate, value = c("Medical examination/evaluation", : replacement has 10 rows, data has 19684104
Error in
(
, CCSCate, value = c("Medical examination/evaluation", : replacement has 10 rows, data has 19684104
檔案後傳
commit 19cd15e7e6643fe6fc510f2da25e2ec6e981b287 改了相關的code
文件好像沒有一起改? https://dhlab-cgu.github.io/emr/articles/emr.html#ii--grouping-icd-cm-codes-by
HepCAllDiag<-readRDS("HepCAllDiag.rds") HepCAllDiag$CCSCate<-emr::IcdDxToCCS(HepCAllDiag,MemberID,ICD,DateServiceStarted,"2015/10/01")
錯誤訊息
Error in
$<-.data.frame(
tmp, CCSCate, value = c("Medical examination/evaluation", : replacement has 10 rows, data has 19684104
檔案後傳