Open edonnachie opened 5 years ago
So if I understand this correctly, when converting older ICD codes from diagnosis histories to a uniform standard (lets say ICD10gm 2021) one can only use the transitions with automatic forward (compatibility) to retain (construct) valditiy of the codes?
Yes. As I understand it, an automatic transition means that the same diagnosis is now coded by a different key. If there is no ambiguity in the transition, it can be done automatically.
Sometimes, there might be several new codes to replace the old one, which means that an automatic transition is not possible. In such cases, we might want to add a custom transition to define how this should be handled.
The differentiation between automatic and non-automatic transitions is a potential source of .confusion and error. Improve documentation of icd_history function and vignette to explain:
Examples:
automatic forward and backward: In 2018 Causalgia was coded under G56.4 (Causalgia). In 2019, there is an automatic transition to G90.6 (Complex regional pain syndrome (CRPS) of the extremity, Type II), indicating direct equivalence of the two codes.
automatic backward: In 2019, the fourth digit of the code K58 (irritable bowel syndrome, IBS) was changed to reflect current guidelines. Whereas previously two codes were available (K58.0 "with diarrhoea" and K58.9 "without diarrhoea"), the new classification uses four codes (K58.1 "diarrhoea predominant", K58.2 "constipation predominant", K58.3 "mixed" and K58.8 "other/unspecified"). As a result, there is no natural transition between the two ICD versions. However, a "diarrhoea predominant" IBS implies "IBS with diarrhoea" such that an automatic backward transition from K58.1 to K58.0 is possible. Similarly, a "constipation predominant" IBS (2019 coding: K58.2) is assumed to imply "IBS without diarrhoea", resulting in a second automatic transition, albeit with questionable logic.
automatic forward: In 2018, the code S32.83 (Fracture of the pelvis, part not further specified) existed alongside the code S32.89 (Fracture of the pelvis, other or multiple parts). In 2019, the first code is removed and transitioned automatically to the second (which now reads "other and unspecified parts"). An automatic backward transition is not appropriate because only a subset of the S32.89 codes were previously coded by S32.83 (i.e. a fracture of multiple parts should not be transitioned backwards).