← Back to the worklist · Whole encounter ENC-00159
Ximena Pemberton: Chronic kidney disease
ENC-00159 · 66F · Pulmonology · admitted Sat Oct 31, 2026 10:30 AM · discharged Tue Nov 03, 2026 12:33 PM · attending Dr. Odette Galloway
Clinical judgement required: Pre-admission eGFR values fall on both sides of 60.
Documented vs supported
- Documented
- “CKD stage 3a” · N18.31 Chronic kidney disease, stage 3a
- Criteria support
- no conclusion: clinical judgement required
- Outcome
- Pre-admission eGFR values fall on both sides of 60
- 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)
Clinical judgement required. The rule does not conclude here. A CDI specialist may send an open query or dismiss the finding; nothing is proposed as fact.
Effect if the clinician agrees (illustrative)
- Change
- no projected change (clinician judgement)
- Secondary-diagnosis level
- non-CC → —
- MS-DRG (illustrative)
- 190 Chronic obstructive pulmonary disease with MCC → 190 Chronic obstructive pulmonary disease with MCC
- Relative weight
- 1.1077 → 1.1077 (+0.0000)
- Codes before
- J44.1, E66.812, N18.31, N17.9, I50.9, J96.01, D64.9
- Codes after
- J44.1, E66.812, N18.31, N17.9, I50.9, J96.01, D64.9
All open gaps on this encounter together: MS-DRG 190 → 190 (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.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.1 -> eGFR 55
creatinine 0.89 -> eGFR 71
|
| Days between the earliest and latest pre-admission eGFR values | 234 |
creatinine 1.1 mg/dL -> eGFR 55 (CKD-EPI 2021)
creatinine 0.89 mg/dL -> eGFR 71 (CKD-EPI 2021)
|
| Earliest pre-admission eGFR (mL/min/1.73 m2, CKD-EPI 2021) | 55.4 |
creatinine 1.1 mg/dL -> eGFR 55 (CKD-EPI 2021)
|
| Latest pre-admission eGFR (mL/min/1.73 m2, CKD-EPI 2021) | 71.5 |
creatinine 0.89 mg/dL -> eGFR 71 (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=234, t.chronic_days=90 | true |
| derived: staging_egfr | max(egfr_early, egfr_late) |
egfr_early=55.4, egfr_late=71.5 | 71.5 |
| derived: both_below_60 | egfr_early < t.g2 and egfr_late < t.g2 |
egfr_early=55.4, egfr_late=71.5, t.g2=60 | false |
| 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=71.5, t.g2=60, t.g3a=45, t.g3b=30, t.g4=15 | G1-G2 |
| 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=False, egfr_early=55.4, egfr_late=71.5, t.g2=60 | true |
Documentation query
Title and question drafted by model clockworks-mock (audit entry #2271); 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-00159 Patient: Ximena Pemberton To: Dr. Odette Galloway Clinical indicators from the health record: - Documented in the record: "CKD stage 3a" [History and physical DOC-000534] - creatinine 1.1 -> eGFR 55 (2026-01-10 09:15) [lab LAB-005421] - creatinine 0.89 -> eGFR 71 (2026-09-01 10:05) [lab LAB-005422] Question: Could you review the kidney function indicators above and clarify any related chronic diagnosis, if clinically appropriate? Response options (select one or write your own): ( ) 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 blood loss anaemia · Specificity gap Documented “anemia” (D64.9); criteria support the more specific Acute blood loss anemia (D62).
- Heart failure · Specificity gap Documented “congestive heart failure” (I50.9); criteria support the more specific Acute on chronic diastolic (HFpEF) heart failure (I50.33).
History
| Seq | When (UTC) | Actor | Action | Entities | Decision / reason | Model / hashes |
|---|---|---|---|---|---|---|
| 2271 | 2026-11-14T20:57:26 | system:llm system |
llm.call |
ENC-00159, ENC-00159.ckd | — | clockworks-mock mock-1/exactdx.draft_query@1 prompt cda6e9b07578 output ba86a1b76b41 entry a6f58a75dfcc |
| 1445 | 2026-11-14T19:24:31 | system:llm system |
llm.call |
ENC-00159, ENC-00159.ckd | — | clockworks-mock mock-1/exactdx.draft_query@1 prompt cda6e9b07578 output ba86a1b76b41 entry 00562c89a4a3 |
| 703 | 2026-11-14T18:29:06 | system:llm system |
llm.call |
ENC-00159, ENC-00159.ckd | — | clockworks-mock mock-1/exactdx.draft_query@1 prompt cda6e9b07578 output ba86a1b76b41 entry b8d9f6550376 |