Skip to content

Conversation

@dewittpe
Copy link
Member

@dewittpe dewittpe commented Jan 6, 2026

Several commits to extend the codes mappings for tech dependence and transplant.

Prior to this change 349.1 mapped to neuromusc correctly, but missed the
technology dependence.

This change adds 349.1 (in short format 3491) to dx_tech_dep for ICD-9.

Two test files have also been updated to reflect the change in codes.

re CUD2V#45
Prior to this change V56 mapped to renal only.  It needs to also map to
tech dep.

This change updates src/pccc.cpp to include the header code V56 in
dx_tech_dep and updates the test scripts to account for the extended
code set.  V560, V561, and V568 are flagging for tech dep

fix CUD2V#46
Prior to this change assignable codes under the header Z49 mapped to
renal only.  These codes also need to map to tech dep.

This change adds the codes to dx_tech_dep under icd 10 in src/pccc.cpp
and updates tests/test_get_codes.R to account for the extended code
list.   It should be noted that this change is not detected in the other
tests indicating that these codes are not in the test data.

fix CUD2V#47
Prior to this change the code only mapped to metabolic.  It needs to map
to both metabolic and tech dep.

This change adds the code in src/pccc.cpp and updates test_get_codes.R
to account for the extended number of codes.  Note that no other tests
are updated as the code does note appear in the test data.

fix CUD2V#48
Prior to this change V48.85 correctly mapped to metabolic.  It also
mapped to transplant.  however, this code "Insulin pump status," should
map to tech dependence.

This change removed V4885 from the transplant set of codes and adds it
to the tech dep.

fix CUD2V#49
Prior to this change the four-digit V53.3, acting as a header code, mapped to cvd.
Several five-digit codes also mapped to tech dep.  For consistency, the
V53.3 needs to also map to tech dep.  It should be noted that V53.3 was
a valid ICD-9 code in the CDC set of codes for "cardiac device" through
2012.

This change add V533 to the tech_dep

fix CUD2V#50
Prior to this change V53.91 errantly mapped to transplant.  However,
this code is for "fitting and adjustment of insulin pump" and should
map to tech dep

This change removes V5391 from the transplant set and adds it to the
tech dep set.

fix CUD2V#51
Prior to this change ICD-9 V65.46 only mapped to metabolic when it needs
to map to both metabolic and tech dep

This change add V65.46 to the tech dep set and extends the
test_get_codes.R to account for the additional code

fix CUD2V#52
Prior to this change V42.0 only mapped to renal when it needed to map to
renal and transplant.

This change add V420 to the ICD-9 dx_transplant set

fix CUD2V#54
@dewittpe dewittpe self-assigned this Jan 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants