Skip to main content
Exact Dx synthetic data · demonstration
Extended criteria (experimental). This is the broader ten-condition engine, kept as a secondary area. It shows ICD-10-CM codes and illustrative grouping effects for CDI staff. The primary surface is Before you sign (kidney, measurement only). All extended pages.

← Back to the worklist · Whole encounter ENC-00022

Pilar Ravensworth: Acute respiratory failure

ENC-00022 · 80M · Hospital Medicine · admitted Sun Nov 01, 2026 02:27 PM · discharged Fri Nov 06, 2026 10:31 AM · attending Dr. Isaac Abernath · resident Dr. Keira Upfield

Specificity gap Criteria met Open

Documented “hypoxemia” (R09.02); criteria support the more specific Acute respiratory failure with hypoxia (J96.01).

Documented vs supported

Documented
“hypoxemia” · R09.02 Hypoxemia
Criteria support
Acute respiratory failure with hypoxia · J96.01 Acute respiratory failure with hypoxia
Outcome
Hypoxaemia criterion met with a sign of respiratory distress
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
R09.02 -> J96.01
Secondary-diagnosis level
non-CC → MCC
MS-DRG (illustrative)
872 Septicemia or severe sepsis without MV >96 hours without MCC → 871 Septicemia or severe sepsis without MV >96 hours with MCC
Relative weight
1.0233 → 1.9425 (+0.9192)
Codes before
A41.9, N39.0, E66.811, I50.20, R09.02, E87.1, E78.5
Codes after
A41.9, N39.0, E66.811, I50.20, E87.1, E78.5, J96.01

All open gaps on this encounter together: MS-DRG 872 → 871 (RW +0.9192).

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.

Evidence (each item cited to a source row or a quoted span)
InputValueSource
Lowest SpO2 on room air (%) 83.0
SpO2 83% on room air · vital VIT-002118 · 2026-11-01 14:47
Highest respiratory rate (/min) 34.0
respiratory rate 34/min · vital VIT-002119 · 2026-11-01 14:47
Highest supplemental oxygen flow (L/min) 5.0
O2 5 L/min (nasal cannula) · vital VIT-002120 · 2026-11-01 14:57
Increased work of breathing quoted from a note True
“increased work of breathing” · History and physical DOC-000072, p. 1, line 8 · quoted span verified
Show the quote in the note
… infection with cefepime. Past medical history: heart failure with reduced ejection fraction, hyperlipidemia. Review of systems otherwise negative. Exam: Lungs: increased work of breathing with accessory muscle use. Assessment and plan: 1. Sepsis: antibiotics, fluids. 2. Urinary tract infection: antibiotics.
Rule trace (inputs, thresholds, outcome)
Rule trace (rule respiratory_failure v2026.11-1; evaluated in order, first true outcome wins; "unknown" = missing input)
StepExpressionInputs and thresholds readResult
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=83.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=83.0, t.pao2=60, t.pf=300, t.spo2_ra=88 true
derived: distress coalesce(rr_max >= t.rr_distress, false) or coalesce(wob_increased, false) or adv_resp_support adv_resp_support=False, rr_max=34.0, t.rr_distress=28, wob_increased=True true
outcome: chronic_baseline home_o2 and hypoxemia home_o2=False, hypoxemia=True false
outcome: met hypoxemia and distress distress=True, hypoxemia=True true

Documentation query

Title and question drafted by model clockworks-mock (audit entry #1996); 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-00022   Patient: Pilar Ravensworth   To: Dr. Isaac Abernath

Clinical indicators from the health record:
- Documented in the record: "hypoxemia" [Progress note DOC-000073]
- SpO2 83% on room air (2026-11-01 14:47) [vital VIT-002118]
- respiratory rate 34/min (2026-11-01 14:47) [vital VIT-002119]
- O2 5 L/min (nasal cannula) (2026-11-01 14:57) [vital VIT-002120]
- "increased work of breathing" (2026-11-01 17:27) [History and physical DOC-000072, p. 1, line 8]

Question:
Based on your clinical judgement and the indicators above, can the respiratory diagnosis being evaluated and treated be further specified?

Response options (select one or write your own):
( ) Acute respiratory failure with hypoxia
( ) Hypoxemia without respiratory failure
( ) 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

History

Audit entries for this finding (newest first)
SeqWhen (UTC)ActorAction EntitiesDecision / reasonModel / hashes
1996 2026-11-14T20:57:23 system:llm
system
llm.call ENC-00022, ENC-00022.respiratory_failure — clockworks-mock mock-1/exactdx.draft_query@1
prompt f94cfa3b4fef
output 5de8fced5850
entry be45f6416934
1170 2026-11-14T19:24:28 system:llm
system
llm.call ENC-00022, ENC-00022.respiratory_failure — clockworks-mock mock-1/exactdx.draft_query@1
prompt f94cfa3b4fef
output 5de8fced5850
entry bbe1b2995b3a
428 2026-11-14T18:29:03 system:llm
system
llm.call ENC-00022, ENC-00022.respiratory_failure — clockworks-mock mock-1/exactdx.draft_query@1
prompt f94cfa3b4fef
output 5de8fced5850
entry 5da126639e5b