S charlson dxs table

From CCMDB Wiki
Jump to navigation Jump to search

Table that contains the subset of s_alldiagnoses that are Charlson comorbids. Used in Charlson Comorbid coding.

Diff table because it lists como categories instead of dx ones...

data structure

  • charlson_category - Charlson element that the dx corresponds to, e.g. MI
  • Diagnosis_code - CCMDB code corresponding to one used in table S AllDiagnoses and L Dxs
  • allow_admit - include if it's an admit (we allow a handful)
  • allow_como - include if it's a comorbid (usual scenario)
  • comments - Charlson and testing specific comments

dx on here but not in s_alldiagnoses

Template:Discussion I am cleaning this up to avoid problems and just realized that there are codes that don't have counterparts in s_alldiagnoses... why? All codes ever used should be in s_alldiagnoses, and just be inactive if legacy now! Ttenbergen 10:40, 2014 June 25 (CDT)

  • 29901
  • 40600
  • 84900

discrepancies between this table and s_alldiagnoses

discrepancies in como / allow_como columns resp Diag / allow_admit columns

saved working query 1_discrepancies between this table and s_alldiagnoses

Considering I can't remember how these are used who knows if this is a problem...

Code	Diag	allow_admit	Como	allow_como
10200	Yes	0		All	-1
10201	Yes	0		All	-1
10202	Yes	0		All	-1
10203	Yes	0		All	-1
10204	Yes	0		All	-1
10205	Yes	0		All	-1
10206	Yes	0		All	-1
10207	Yes	0		All	-1
10208	Yes	0		All	-1
10209	Yes	0		All	-1
10210	Yes	0		All	-1
10300	Yes	0		All	-1
10301	Yes	0		All	-1
10302	Yes	0		All	-1
10303	Yes	0		All	-1
10304	Yes	0		All	-1
10305	Yes	0		All	-1
10306	Yes	0		All	-1
10307	Yes	0		All	-1
10390	Yes	0		All	-1
25900	Yes	0			0
29906	Yes	0		All	0
40102	Yes	0		All	-1
40103	Yes	0		All	-1
41500	Yes	0		All	-1
41501	Yes	0		All	-1
41502	Yes	0		All	-1
52900	Yes	0		All	-1
53700	Yes	0		All	-1
53800	Yes	-1			-1
78101	Yes	-1			-1
78102	Yes	-1			-1
80500	Yes	0		All	-1

log

2014-06-24

  • Removing columns MainDiagnosis, SubDiagnosis, ComoPoints from this table. Had them in there for convenience when reviewing the table, but it is duplication that may cause confusion, so eliminating it. Ttenbergen 10:25, 2014 June 25 (CDT)
    • confirmed that comopoints had been same in both...