Commit 27db43e
Fix Charlson age_score off-by-one at decade boundaries
age<=50 scored 0; CCI awards 1 point starting at age 50.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 5bdb9a0 commit 27db43e
3 files changed
Lines changed: 28 additions & 13 deletions
File tree
- mimic-iv
- concepts_duckdb/comorbidity
- concepts_postgres/comorbidity
- concepts/comorbidity
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
333 | | - | |
| 333 | + | |
334 | 334 | | |
335 | | - | |
| 335 | + | |
336 | 336 | | |
337 | | - | |
| 337 | + | |
338 | 338 | | |
339 | | - | |
| 339 | + | |
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
4 | 19 | | |
5 | 20 | | |
6 | 21 | | |
| |||
331 | 346 | | |
332 | 347 | | |
333 | 348 | | |
334 | | - | |
| 349 | + | |
335 | 350 | | |
336 | | - | |
| 351 | + | |
337 | 352 | | |
338 | | - | |
| 353 | + | |
339 | 354 | | |
340 | | - | |
| 355 | + | |
341 | 356 | | |
342 | 357 | | |
343 | 358 | | |
| |||
0 commit comments