Skip to content

Conversation

@stephenrho
Copy link

#41
Padded the ICD9 procedure codes (src/pccc.cpp) in accordance with the documentation

  • < 100 = front pad "0"
  • < 10 = front pad "00"
  • < 1 = front pad "000"

ICD 9 procedure codes do not look like they follow the convention outlined in https://cran.r-project.org/web/packages/pccc/vignettes/pccc-overview.html

Codes < 10 should be front padded with "00" and codes < 100 should be padded with "0". But, e.g. code 06.4 (endocrine disorders) was listed as 064 (so matches 64.0 = circumcision). Will fix others in future commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant