← Back to the worklist · Whole encounter ENC-00002
Amara Whitlock: Heart failure
ENC-00002 · 68F · Cardiology · admitted Wed Oct 28, 2026 07:50 PM · discharged Thu Nov 05, 2026 02:50 PM · attending Dr. Wes Merriweather · resident Dr. Noor Halvorsen
Documented “congestive heart failure” (I50.9); criteria support the more specific Acute on chronic systolic (HFrEF) heart failure (I50.23).
Documented vs supported
- Documented
- “congestive heart failure” · I50.9 Heart failure, unspecified
- Criteria support
- Acute on chronic systolic (HFrEF) heart failure · I50.23 Acute on chronic systolic (congestive) heart failure
- Outcome
- LVEF 21% with 2 acute indicators and prior heart failure
- Rule
- Heart failure type (LVEF) and acuity v2026.11-1
- Published source
- Universal Definition and Classification of Heart Failure (HFSA/HFA/JHFS, 2021), as restated in Chandramouli et al., Clin Cardiol 2022 (2021), LVEF classification: HFrEF <=40%, HFmrEF 41-49%, HFpEF >=50%; HFimpEF = baseline <=40%, rise >=10 points, second LVEF >40% · source (checked 2026-11-14)
- Contested
- No guideline gives a numeric definition of "acute" versus "chronic" heart failure. This rule uses a LOCAL CONVENTION: at least two acute indicators (IV loop diuretic, elevated natriuretic peptide, new oxygen requirement) = acute; with a prior history of heart failure = acute on chronic; none with history = chronic; exactly one = clinical judgement.
Effect if the clinician agrees (illustrative)
- Change
- principal I50.9 -> I50.23
- Secondary-diagnosis level
- principal → principal
- MS-DRG (illustrative)
- 292 Heart failure and shock with CC → 292 Heart failure and shock with CC
- Relative weight
- 0.8490 → 0.8490 (+0.0000)
- Codes before
- I50.9, E46, N18.4, N17.9, E87.1
- Codes after
- I50.23, E46, N18.4, N17.9, E87.1
All open gaps on this encounter together: MS-DRG 292 → 292 (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 |
|---|---|---|
| Latest LVEF within 12 months (%) | 21.0 |
echo LVEF 21%
|
| IV loop diuretic given this stay | True |
furosemide 40 mg IV
furosemide 40 mg IV
furosemide 40 mg IV
furosemide 40 mg IV
|
| Highest BNP this stay (pg/mL) | 954.0 |
BNP 954 pg/mL
|
| Prior heart failure on the problem list / history | True |
history: heart failure with reduced ejection fraction
|
Rule trace (inputs, thresholds, outcome)
| Step | Expression | Inputs and thresholds read | Result |
|---|---|---|---|
| derived: np_elevated | coalesce(bnp_max >= t.bnp, false) or coalesce(ntprobnp_max >= t.ntprobnp, false) |
bnp_max=954.0, ntprobnp_max=unknown, t.bnp=100, t.ntprobnp=300 | true |
| derived: acute_count | count(iv_loop_diuretic, np_elevated, new_o2) |
iv_loop_diuretic=True, new_o2=False, np_elevated=True | 2 |
| derived: hf_type | case(lvef <= t.ref, 'systolic', lvef >= t.pres, 'diastolic', 'midrange') |
lvef=21.0, t.pres=50, t.ref=40 | systolic |
| derived: improved | coalesce(lvef_prior_min <= t.ref and lvef > t.ref and lvef - lvef_prior_min >= t.improved_rise, false) |
lvef=21.0, lvef_prior_min=unknown, t.improved_rise=10, t.ref=40 | false |
| derived: acuity | case(acute_count >= 2 and hf_history, 'acute on chronic', acute_count >= 2, 'acute', acute_count == 0 and hf_history, 'chronic', null) |
acute_count=2, hf_history=True | acute on chronic |
| outcome: improved_ef | improved |
improved=False | false |
| outcome: midrange | hf_type == 'midrange' |
hf_type=systolic | false |
| outcome: sys_aoc | hf_type == 'systolic' and acuity == 'acute on chronic' |
acuity=acute on chronic, hf_type=systolic | true |
Documentation query
Title and question drafted by model clockworks-mock (audit entry #1959); 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: cardiac documentation Encounter: ENC-00002 Patient: Amara Whitlock To: Dr. Wes Merriweather Clinical indicators from the health record: - Documented in the record: "congestive heart failure" [History and physical DOC-000005] - echo LVEF 21% (2026-10-29 21:50) [echo ECH-000002] - furosemide 40 mg IV (2026-10-28 20:00) [med MED-000011] - furosemide 40 mg IV (2026-10-29 08:00) [med MED-000012] - furosemide 40 mg IV (2026-10-29 20:00) [med MED-000013] - furosemide 40 mg IV (2026-10-30 08:00) [med MED-000014] - BNP 954 pg/mL (2026-10-28 20:50) [lab LAB-000036] - history: heart failure with reduced ejection fraction [history HX-000002] Question: Based on your clinical judgement and the indicators above, can the type and acuity of the heart failure being treated be further specified? Response options (select one or write your own): ( ) Acute on chronic systolic heart failure (HFrEF) ( ) Chronic systolic heart failure (HFrEF) ( ) 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 “acute kidney injury” (N17.9) but the criteria are not met: KDIGO creatinine and urine-output criteria not met.
- Hyponatraemia · Clinical judgement required Clinical judgement required: Low sodium without documented treatment or repeat values; clinical significance is a clinician judgement.
- Malnutrition · Clinical judgement required Clinical judgement required: Only one consensus characteristic documented; two are required.
History
| Seq | When (UTC) | Actor | Action | Entities | Decision / reason | Model / hashes |
|---|---|---|---|---|---|---|
| 1959 | 2026-11-14T20:57:22 | system:llm system |
llm.call |
ENC-00002, ENC-00002.heart_failure | — | clockworks-mock mock-1/exactdx.draft_query@1 prompt 97eeabcf72dd output 752ce96b1cd3 entry da907df5b154 |
| 1133 | 2026-11-14T19:24:27 | system:llm system |
llm.call |
ENC-00002, ENC-00002.heart_failure | — | clockworks-mock mock-1/exactdx.draft_query@1 prompt 97eeabcf72dd output 752ce96b1cd3 entry 9568338d5143 |
| 391 | 2026-11-14T18:29:02 | system:llm system |
llm.call |
ENC-00002, ENC-00002.heart_failure | — | clockworks-mock mock-1/exactdx.draft_query@1 prompt 97eeabcf72dd output 752ce96b1cd3 entry aa708bf66863 |