Hello,
I am working on a hospital administrative dataset combined for multiple years between 2004-2018 the cases in the earlier years made use of ICD9, while 2016 upward made use of ICD10. I am trying to calculate the Charlson Co-morbidity index for each case in the combined data set. The available code index only accommodates either ICD9 or ICD 10, is there a way I can combine both. The code I used is pasted below.
charlson DX1-DX30 I10_DX1-I10_DX40 , index(c) assign0 wtchrl cmorb *for ICD 9* or charlson DX1-DX30 I10_DX1-I10_DX40 , index(10) assign0 wtchrl cmorb *for ICD 10*
I look forward to your help with cheerful optimism.
Olowu
Related Posts with Charlson index for dataset that contains both ICD9 and ICD10 for different years
What is intreg? What is the theory behind it?The UCLA IDRE website has an article on -intreg- to estimate models with interval dependent variable…
How to create groups of observations based on shared characteristics and create variables around that.So I'm doing some work with election data. The data I have is formatted like this: Code: * Example…
Export multiple xtabond2 resultsHello Statalist users, I need help with exporting multiple xtbond2 estimations along with their pos…
Diff-in-diff graphI am currently running a diff-in-diff analysis on stop and frisk policies in new york city using New…
Social-Network Peer Effect Regression AnalysisI am estimating peer effect of students on their GPA score using Friendship network model. The model…
Subscribe to:
Post Comments (Atom)
0 Response to Charlson index for dataset that contains both ICD9 and ICD10 for different years
Post a Comment