Commit b4b1eaf
committed
Fix KDIGO Stage 3 using hardcoded 3.7 instead of dynamic creatinine check
The 48-hour acute rise criterion compared creat_low_past_48hr against
the hardcoded value 3.7 (i.e. 4.0 - 0.3), which is only correct when
creatinine equals exactly 4.0. Replace with the dynamic expression
cr.creat >= (cr.creat_low_past_48hr + 0.3) to correctly evaluate the
>=0.3 acute increase for any creatinine value >=4.0.
Fixes #13571 parent 5706978 commit b4b1eaf
2 files changed
Lines changed: 2 additions & 2 deletions
File tree
- mimic-iii/concepts/organfailure
- mimic-iv/concepts/organfailure
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
0 commit comments