Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ICD10-CM Case Sensitivity #43

Open
laurakwiley opened this issue Jan 4, 2021 · 0 comments
Open

ICD10-CM Case Sensitivity #43

laurakwiley opened this issue Jan 4, 2021 · 0 comments

Comments

@laurakwiley
Copy link
Contributor

Hi Robert & Team -

Just an FYI that in the new ICD10-CM mapping tables there is a case-sensitivity issue for codes that have an "X" in the middle of the code. Although under ICD10-CM formatting this is an uppercase X, in the phemap dataset they are lowercase. Ran into this issue when a collaborator was investigating open angle glaucoma and we didn't have accurate PheCodes.

See:
PheWAS::phecode_map %>% filter(str_detect(phecode, '365.11') & vocabulary_id == 'ICD10CM')
for an example.

Based on our troubleshooting looks like simply transforming with a toupper command on the phecode_map table fixes the issue.

That said, we very much appreciate the new mappings!

Laura

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant