Charlson Comorbid coding (pre ICD10): Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
Line 7: Line 7:
=== queries ===
=== queries ===
* s_charlson_score
* s_charlson_score
calls
sums the scores in
* s_charlson__combined
* s_charlson__combined
which uses
which unions
* s_charlson_adm - list of scores for the highest-scoring admit dx per charlson category
* s_charlson_adm - list of scores for the highest-scoring admit dx per charlson category
* s_charlson_como - list of scores for the highest-scoring comorbid dx per charlson category
* s_charlson_como - list of scores for the highest-scoring comorbid dx per charlson category

Revision as of 16:47, 2013 December 23

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

SAS coding macro comorbid3

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

CCMBD.mdb

queries

  • s_charlson_score

sums the scores in

  • s_charlson__combined

which unions

  • s_charlson_adm - list of scores for the highest-scoring admit dx per charlson category
  • s_charlson_como - list of scores for the highest-scoring comorbid dx per charlson category

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.