← Back to the worklist · Whole encounter ENC-00172
Celeste Okafor: Acute kidney injury
ENC-00172 · 53M · Hospital Medicine · admitted Sun Oct 25, 2026 03:14 PM · discharged Sun Nov 01, 2026 01:16 PM · attending Dr. Odette Galloway
Documented “acute renal insufficiency” (N28.9); criteria support the more specific Acute kidney injury (KDIGO stage 2) (N17.9).
Documented vs supported
- Documented
- “acute renal insufficiency” · N28.9 Disorder of kidney and ureter, unspecified (renal insufficiency)
- Criteria support
- Acute kidney injury (KDIGO stage 2) · N17.9 Acute kidney failure, unspecified
- Outcome
- AKI criteria met, KDIGO stage 2
- Note
- ICD-10-CM does not code the KDIGO stage; the stage is shown so the clinician can document it.
- Rule
- Acute kidney injury (KDIGO staging) v2026.11-1
- Published source
- KDIGO Clinical Practice Guideline for Acute Kidney Injury (Kidney Int Suppl 2012;2:19-36) (2012), Recommendations 2.1.1 (definition) and 2.1.2 (staging), Table 2 · source (checked 2026-11-14)
Effect if the clinician agrees (illustrative)
- Change
- N28.9 -> N17.9
- Secondary-diagnosis level
- non-CC → CC
- MS-DRG (illustrative)
- 690 Kidney and urinary tract infections without MCC → 690 Kidney and urinary tract infections without MCC
- Relative weight
- 0.8095 → 0.8095 (+0.0000)
- Codes before
- N39.0, N28.9, D64.9
- Codes after
- N39.0, D64.9, N17.9
All open gaps on this encounter together: MS-DRG 690 → 690 (RW +0.0000). The grouping does not change; the record becomes accurate.
CC/MCC status, CC exclusions (subset) and relative weights from the public CMS FY2026 IPPS final rule tables (5, 6I, 6J, 6K). This is not a grouper and not a payment estimate. Queries never mention any of this.
Severity documentation index change SIMULATED
0.5 points
SIMULATED: Illustrative severity weights (MCC = 1.0, CC = 0.5, non-CC = 0) summed over secondary diagnoses; not a validated risk-adjustment model and not a measured effect.
Evidence
Structured values are read by code from the cited rows. Note facts are shown only when the model's quote was found verbatim in the note.
| Input | Value | Source |
|---|---|---|
| Baseline creatinine (mg/dL); most recent pre-admission value within 365 days, else lowest this stay (presumed) most recent pre-admission value within 365 days |
1.14 |
creatinine 1.14 mg/dL (pre-admission)
|
| Whether a pre-admission baseline exists | True |
pre-admission creatinine on file
|
| Peak creatinine this stay (mg/dL) | 2.58 |
creatinine 2.58 mg/dL (peak this stay)
|
| Peak / baseline peak / baseline |
2.263 |
creatinine 2.58 mg/dL (peak this stay)
creatinine 1.14 mg/dL (pre-admission)
|
| Largest creatinine rise between two values within 48 h (mg/dL) largest rise between two values within 48 hours |
0.57 |
creatinine 2.01
creatinine 2.58
|
Rule trace (inputs, thresholds, outcome)
| Step | Expression | Inputs and thresholds read | Result |
|---|---|---|---|
| derived: meets_definition | creat_ratio >= t.ratio_s1 or creat_rise_48h >= t.rise_abs or coalesce(uo_hours_lt_0_5 >= t.uo_s1_h, false) |
creat_ratio=2.263, creat_rise_48h=0.57, t.ratio_s1=1.5, t.rise_abs=0.3, t.uo_s1_h=6, uo_hours_lt_0_5=unknown | true |
| derived: stage3 | meets_definition and (creat_ratio >= t.ratio_s3 or creat_peak >= t.scr_s3 or rrt_started or coalesce(uo_hours_lt_0_3 >= t.uo_s3_h, false) or coalesce(anuria_hours >= t.anuria_h, false)) |
anuria_hours=unknown, creat_peak=2.58, creat_ratio=2.263, meets_definition=True, rrt_started=False, t.anuria_h=12, t.ratio_s3=3.0, t.scr_s3=4.0, t.uo_s3_h=24, uo_hours_lt_0_3=unknown | false |
| derived: stage2 | creat_ratio >= t.ratio_s2 or coalesce(uo_hours_lt_0_5 >= t.uo_s2_h, false) |
creat_ratio=2.263, t.ratio_s2=2.0, t.uo_s2_h=12, uo_hours_lt_0_5=unknown | true |
| derived: stage | case(stage3, 3, stage2, 2, meets_definition, 1, 0) |
meets_definition=True, stage2=True, stage3=False | 2 |
| derived: baseline_independent | creat_baseline_known or creat_rise_48h >= t.rise_abs or rrt_started |
creat_baseline_known=True, creat_rise_48h=0.57, rrt_started=False, t.rise_abs=0.3 | true |
| outcome: aki_staged | stage >= 1 and baseline_independent |
baseline_independent=True, stage=2 | true |
Documentation query
Title and question drafted by model clockworks-mock (audit entry #2291); clinical indicators and answer options assembled by code from the rule and the record.
Sign in to act. Sign in as a demo user (a CDI specialist sends queries).
DOCUMENTATION QUERY (draft) Title: Clarification request: kidney function documentation Encounter: ENC-00172 Patient: Celeste Okafor To: Dr. Odette Galloway Clinical indicators from the health record: - Documented in the record: "acute renal insufficiency" [Progress note DOC-000579] - creatinine 1.14 mg/dL (pre-admission) (2026-08-23 10:05) [lab LAB-005883] - creatinine 2.58 mg/dL (peak this stay) (2026-10-26 05:00) [lab LAB-005885] - creatinine 2.01 (2026-10-25 16:14) [lab LAB-005884] Question: Based on your clinical judgement and the indicators above, can the kidney diagnosis being monitored and treated be further specified? Response options (select one or write your own): ( ) Acute kidney injury (please specify stage, if known) ( ) Other (please specify): ____________ ( ) Unable to determine Please respond based on your independent clinical judgement. Any response, including "unable to determine", is acceptable. This query and your response are kept as part of the health record.
History
| Seq | When (UTC) | Actor | Action | Entities | Decision / reason | Model / hashes |
|---|---|---|---|---|---|---|
| 2291 | 2026-11-14T20:57:26 | system:llm system |
llm.call |
ENC-00172, ENC-00172.aki | — | clockworks-mock mock-1/exactdx.draft_query@1 prompt aa134379ab6c output 968dc8741b13 entry a1901b905099 |
| 1465 | 2026-11-14T19:24:32 | system:llm system |
llm.call |
ENC-00172, ENC-00172.aki | — | clockworks-mock mock-1/exactdx.draft_query@1 prompt aa134379ab6c output 968dc8741b13 entry c2a4addcb9f5 |
| 723 | 2026-11-14T18:29:07 | system:llm system |
llm.call |
ENC-00172, ENC-00172.aki | — | clockworks-mock mock-1/exactdx.draft_query@1 prompt aa134379ab6c output 968dc8741b13 entry cff4695d7ae5 |