← Back to the worklist · Whole encounter ENC-00028
Greta Nakashima: Chronic kidney disease
ENC-00028 · 62M · Hospital Medicine · admitted Mon Nov 02, 2026 04:51 PM · discharged Mon Nov 09, 2026 03:10 PM · attending Dr. Rosalind Quillan · resident Dr. Keira Upfield
Criteria support Chronic kidney disease stage 3a (N18.31); no corresponding diagnosis is documented.
Documented vs supported
- Documented
- not documented
- Criteria support
- Chronic kidney disease stage 3a · N18.31 Chronic kidney disease, stage 3a
- Outcome
- Two eGFR values >=90 days apart, both below 60; staging value 51.5 (G3a)
- Rule
- Chronic kidney disease stage (eGFR, CKD-EPI 2021) v2026.11-1
- Published source
- KDIGO 2024 Clinical Practice Guideline for the Evaluation and Management of Chronic Kidney Disease (2024), Chapter 1, Table 1 (definition: abnormality for a minimum of 3 months) and Table 2 (GFR categories) · source (checked 2026-11-14)
Effect if the clinician agrees (illustrative)
- Change
- add N18.31
- Secondary-diagnosis level
- — → non-CC
- MS-DRG (illustrative)
- 871 Septicemia or severe sepsis without MV >96 hours with MCC → 871 Septicemia or severe sepsis without MV >96 hours with MCC
- Relative weight
- 1.9425 → 1.9425 (+0.0000)
- Codes before
- A41.9, J18.9, E43, N17.9, E11.9
- Codes after
- A41.9, J18.9, E43, N17.9, E11.9, N18.31
All open gaps on this encounter together: MS-DRG 871 → 194 (RW -1.1366).
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.0 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 |
|---|---|---|
| Number of pre-admission eGFR values within 2 years (inpatient values during acute illness are not used) | 2 |
creatinine 1.58 -> eGFR 49
creatinine 1.52 -> eGFR 51
|
| Days between the earliest and latest pre-admission eGFR values | 317 |
creatinine 1.58 mg/dL -> eGFR 49 (CKD-EPI 2021)
creatinine 1.52 mg/dL -> eGFR 51 (CKD-EPI 2021)
|
| Earliest pre-admission eGFR (mL/min/1.73 m2, CKD-EPI 2021) | 49.2 |
creatinine 1.58 mg/dL -> eGFR 49 (CKD-EPI 2021)
|
| Latest pre-admission eGFR (mL/min/1.73 m2, CKD-EPI 2021) | 51.5 |
creatinine 1.52 mg/dL -> eGFR 51 (CKD-EPI 2021)
|
Rule trace (inputs, thresholds, outcome)
| Step | Expression | Inputs and thresholds read | Result |
|---|---|---|---|
| derived: chronic | egfr_n >= 2 and egfr_span_days >= t.chronic_days |
egfr_n=2, egfr_span_days=317, t.chronic_days=90 | true |
| derived: staging_egfr | max(egfr_early, egfr_late) |
egfr_early=49.2, egfr_late=51.5 | 51.5 |
| derived: both_below_60 | egfr_early < t.g2 and egfr_late < t.g2 |
egfr_early=49.2, egfr_late=51.5, t.g2=60 | true |
| derived: category | case(staging_egfr >= t.g2, 'G1-G2', staging_egfr >= t.g3a, 'G3a', staging_egfr >= t.g3b, 'G3b', staging_egfr >= t.g4, 'G4', 'G5') |
staging_egfr=51.5, t.g2=60, t.g3a=45, t.g3b=30, t.g4=15 | G3a |
| outcome: duration_not_shown | not chronic |
chronic=True | false |
| outcome: straddles_60 | not both_below_60 and min(egfr_early, egfr_late) < t.g2 |
both_below_60=True, egfr_early=49.2, egfr_late=51.5, t.g2=60 | false |
| outcome: g1_g2 | staging_egfr >= t.g2 |
staging_egfr=51.5, t.g2=60 | false |
| outcome: g3a | category == 'G3a' |
category=G3a | true |
Documentation query
Title and question drafted by model clockworks-mock (audit entry #2009); 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: chronic kidney documentation Encounter: ENC-00028 Patient: Greta Nakashima To: Dr. Rosalind Quillan Clinical indicators from the health record: - creatinine 1.58 -> eGFR 49 (2025-10-23 09:15) [lab LAB-000950] - creatinine 1.52 -> eGFR 51 (2026-09-05 10:05) [lab LAB-000951] Question: Based on your clinical judgement and the indicators above, can the chronic kidney condition be further specified, including stage if known? Response options (select one or write your own): ( ) Chronic kidney disease stage 3a (eGFR 45-59) ( ) Chronic kidney disease stage 3b (eGFR 30-44) ( ) 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.
Other findings on this encounter
- Acute kidney injury · Clinical validation gap Documented “AKI” (N17.9) but the criteria are not met: KDIGO creatinine and urine-output criteria not met.
- Malnutrition · Clinical validation gap Documented “severe protein-calorie malnutrition” (E43) conflicts with what the criteria support (Moderate (non-severe) protein-calorie malnutrition (acute illness context), E44.0).
- Sepsis · Clinical validation gap Documented “sepsis” (A41.9) but the criteria are not met: Neither definition met: 0 SIRS criteria, SOFA change 0.
History
| Seq | When (UTC) | Actor | Action | Entities | Decision / reason | Model / hashes |
|---|---|---|---|---|---|---|
| 2009 | 2026-11-14T20:57:23 | system:llm system |
llm.call |
ENC-00028, ENC-00028.ckd | — | clockworks-mock mock-1/exactdx.draft_query@1 prompt 23057ac6e924 output bf34b17a9932 entry aa8da81411b4 |
| 1183 | 2026-11-14T19:24:28 | system:llm system |
llm.call |
ENC-00028, ENC-00028.ckd | — | clockworks-mock mock-1/exactdx.draft_query@1 prompt 23057ac6e924 output bf34b17a9932 entry f29b9b871069 |
| 441 | 2026-11-14T18:29:03 | system:llm system |
llm.call |
ENC-00028, ENC-00028.ckd | — | clockworks-mock mock-1/exactdx.draft_query@1 prompt 23057ac6e924 output bf34b17a9932 entry 359de7263a86 |