Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Icd 10 - icd 9

    Dear all,

    I currently have data from 2001 up to 2020, thus a combination of IC9 and ICD 10 codes with over 15,000 variables

    I am planning to find the relevant ICD 10/ICD 9 codes I need and using a

    generate Required = .
    replace Required = 1 if ICD10 == A..
    label define Required_label 1 "GI illness"

    And I was planning on using this loop for severable variables containing ICD10 codes. However, the reason why I'm positing is making sure I'm not using such simplistic commands for such a complex task ?
    Is there a shorter cut to this?

    Of course I'll be going through all the ICD10 compendium to find out which codes I would need.
    I can't use the ICD10 commands on stata as I have ICD9 too due to data from 2001.

    Appreciate your expertise.

  • #2
    See the output of
    Code:
    help icd9
    help icd10
    to see what capabilities Stata has for handling ICD9 and ICD10 codes.

    Comment

    Working...
    X