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.
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.
Comment