Charlson Comorbid coding (pre ICD10): Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
Line 4: Line 4:
The [[statistician]] has a SAS macro called "comorbid3" that calculates the score for data after import.  
The [[statistician]] has a SAS macro called "comorbid3" that calculates the score for data after import.  


== CCMBD.mdb function Charlson_score_function ==
== CCMBD.mdb function ''Charlson_score_function'' ==
The function Charlson_score_function (Pat_ID) in [[CCMDB.mdb]] will return the Charlson Score for a patient. It will do this by comparing the contents of L_Como and the table [[s_charlson_dxs]], using queries ''s_charlson_dx'' and ''s_charlson_score''.
The function ''Charlson_score_function (Pat_ID)'' in [[CCMDB.mdb]] will return the Charlson Score for a patient. It will do this by comparing the contents of L_Como and the table [[s_charlson_dx]], using queries ''s_charlson_dx'' and ''s_charlson_score''.




[[Category:Charlson Comorbid Diagnosis]]
[[Category:Charlson Comorbid Diagnosis]]

Revision as of 13:14, 2013 February 11

The Charlson Comorbid score is calculated by different functions in different parts of CCMDB.

SAS coding

The statistician has a SAS macro called "comorbid3" that calculates the score for data after import.

CCMBD.mdb function Charlson_score_function

The function Charlson_score_function (Pat_ID) in CCMDB.mdb will return the Charlson Score for a patient. It will do this by comparing the contents of L_Como and the table s_charlson_dx, using queries s_charlson_dx and s_charlson_score.