← Back to the worklist · Whole encounter ENC-00098
Celeste Hartwell: Acute respiratory failure
ENC-00098 · 80M · Hospital Medicine · admitted Sat Nov 07, 2026 10:30 PM · in hospital · attending Dr. Kenji Stavros
Documented “acute respiratory failure with hypoxia” (J96.01) but the criteria are not met: No hypoxaemia on room air (lowest SpO2 93%), oxygen no more than 0 L/min, no advanced support.
Documented vs supported
- Documented
- “acute respiratory failure with hypoxia” · J96.01 Acute respiratory failure with hypoxia
- Criteria support
- criteria not met
- Outcome
- No hypoxaemia on room air (lowest SpO2 93%), oxygen no more than 0 L/min, no advanced support
- Rule
- Acute hypoxic respiratory failure v2026.11-1
- Published source
- Merck Manual Professional Version: Acute Hypoxemic Respiratory Failure (AHRF), including ARDS (2026), Definition/evaluation: PaO2 <60 mmHg, PaO2/FiO2 <300, or SpO2 <88%, with dyspnea and tachypnea · source (checked 2026-11-14)
- Contested
- Organizations use different oxygen-saturation cut-offs (SpO2 <88%, <=90% or <91% on room air). This rule uses <88% (the source above) and a LOCAL respiratory-rate cut-off of 28/min as one sign of respiratory distress.
Effect if the clinician agrees (illustrative)
- Change
- remove J96.01
- Secondary-diagnosis level
- MCC → removed
- MS-DRG (illustrative)
- 689 Kidney and urinary tract infections with MCC → 689 Kidney and urinary tract infections with MCC
- Relative weight
- 1.1603 → 1.1603 (+0.0000)
- Codes before
- N39.0, E43, J96.01, E87.1, D62, I10, E78.5
- Codes after
- N39.0, E43, E87.1, D62, I10, E78.5
All open gaps on this encounter together: MS-DRG 689 → 690 (RW -0.3508).
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
-1.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 |
|---|---|---|
| Lowest SpO2 on room air (%) | 93.0 |
SpO2 93% on room air
|
| Highest respiratory rate (/min) | 21.0 |
respiratory rate 21/min
|
| Highest supplemental oxygen flow (L/min) no supplemental oxygen charted |
0.0 | derived (no supplemental oxygen charted) |
Rule trace (inputs, thresholds, outcome)
| Step | Expression | Inputs and thresholds read | Result |
|---|---|---|---|
| derived: measured | present(spo2_min_ra) or present(pao2_min_ra) or present(pf_min) |
pao2_min_ra=unknown, pf_min=unknown, spo2_min_ra=93.0 | true |
| derived: hypoxemia | coalesce(spo2_min_ra < t.spo2_ra, false) or coalesce(pao2_min_ra < t.pao2, false) or coalesce(pf_min < t.pf, false) |
pao2_min_ra=unknown, pf_min=unknown, spo2_min_ra=93.0, t.pao2=60, t.pf=300, t.spo2_ra=88 | false |
| derived: distress | coalesce(rr_max >= t.rr_distress, false) or coalesce(wob_increased, false) or adv_resp_support |
adv_resp_support=False, rr_max=21.0, t.rr_distress=28, wob_increased=unknown | false |
| outcome: chronic_baseline | home_o2 and hypoxemia |
home_o2=False, hypoxemia=False | false |
| outcome: met | hypoxemia and distress |
distress=False, hypoxemia=False | false |
| outcome: hypoxemia_only | hypoxemia |
hypoxemia=False | false |
| outcome: not_met | measured and not hypoxemia and o2_max_lpm <= t.o2_low and not adv_resp_support |
adv_resp_support=False, hypoxemia=False, measured=True, o2_max_lpm=0.0, t.o2_low=2 | true |
Documentation query
Title and question drafted by model clockworks-mock (audit entry #2161); 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: respiratory documentation Encounter: ENC-00098 Patient: Celeste Hartwell To: Dr. Kenji Stavros Clinical indicators from the health record: - Documented in the record: "acute respiratory failure with hypoxia" [Progress note DOC-000333] - SpO2 93% on room air (2026-11-09 22:50) [vital VIT-009553] - respiratory rate 21/min (2026-11-08 06:50) [vital VIT-009544] Question: The indicators above are documented in this encounter. Could you clarify the status of the documented respiratory diagnosis? Response options (select one or write your own): ( ) Acute respiratory failure with hypoxia: confirmed (please document the supporting clinical information) ( ) Acute respiratory failure with hypoxia: ruled out ( ) Other explanation of the clinical findings (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 · Specificity gap Criteria support Acute kidney injury (KDIGO stage 2) (N17.9); no corresponding diagnosis is documented.
- Hyponatraemia · Clinical validation gap Documented “hyponatremia” (E87.1) but the criteria are not met: All sodium values 135 or above (lowest 136).
- 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).
History
| Seq | When (UTC) | Actor | Action | Entities | Decision / reason | Model / hashes |
|---|---|---|---|---|---|---|
| 2161 | 2026-11-14T20:57:24 | system:llm system |
llm.call |
ENC-00098, ENC-00098.respiratory_failure | — | clockworks-mock mock-1/exactdx.draft_query@1 prompt 4b440c31629c output 1d1d513022f3 entry c48b941b1894 |
| 1335 | 2026-11-14T19:24:30 | system:llm system |
llm.call |
ENC-00098, ENC-00098.respiratory_failure | — | clockworks-mock mock-1/exactdx.draft_query@1 prompt 4b440c31629c output 1d1d513022f3 entry 1abe98439e9e |
| 593 | 2026-11-14T18:29:05 | system:llm system |
llm.call |
ENC-00098, ENC-00098.respiratory_failure | — | clockworks-mock mock-1/exactdx.draft_query@1 prompt 4b440c31629c output 1d1d513022f3 entry 06728fb994ad |