← Back to the worklist · Whole encounter ENC-00008
Rosalind Yardley: Acute respiratory failure
ENC-00008 · 54M · Hospital Medicine · admitted Mon Oct 26, 2026 11:03 AM · discharged Tue Nov 03, 2026 02:09 PM · attending Dr. Cyrus Ellingham · resident Dr. Noor Halvorsen
Clinical judgement required: Hypoxaemia without a charted sign of respiratory distress.
Documented vs supported
- Documented
- “hypoxia” · R09.02 Hypoxemia
- Criteria support
- no conclusion: clinical judgement required
- Outcome
- Hypoxaemia without a charted 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.
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)
- 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, R09.02, L89.159, K21.9, E11.9, I10
- Codes after
- A41.9, J18.9, R09.02, L89.159, K21.9, E11.9, I10
All open gaps on this encounter together: MS-DRG 871 → 871 (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 |
|---|---|---|
| Lowest SpO2 on room air (%) | 86.0 |
SpO2 86% on room air
|
| Highest respiratory rate (/min) | 23.0 |
respiratory rate 23/min
|
| Highest supplemental oxygen flow (L/min) | 2.0 |
O2 2 L/min (nasal cannula)
|
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=86.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=86.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=23.0, t.rr_distress=28, wob_increased=unknown | false |
| outcome: chronic_baseline | home_o2 and hypoxemia |
home_o2=False, hypoxemia=True | false |
| outcome: met | hypoxemia and distress |
distress=False, hypoxemia=True | false |
| outcome: hypoxemia_only | hypoxemia |
hypoxemia=True | true |
Documentation query
Title and question drafted by model clockworks-mock (audit entry #1977); 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-00008 Patient: Rosalind Yardley To: Dr. Cyrus Ellingham Clinical indicators from the health record: - Documented in the record: "hypoxia" [Progress note DOC-000028] - SpO2 86% on room air (2026-10-26 11:23) [vital VIT-000706] - respiratory rate 23/min (2026-10-27 19:23) [vital VIT-000718] - O2 2 L/min (nasal cannula) (2026-10-26 19:23) [vital VIT-000710] Question: Could you review the respiratory indicators above and clarify any related diagnosis, if clinically appropriate? 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
- Obesity · Specificity gap Criteria support Obesity, class 3 (E66.813); no corresponding diagnosis is documented.
- Pressure injury · Specificity gap Documented “sacral decubitus ulcer” (L89.159); criteria support the more specific Pressure injury of sacral region, stage 2 (L89.152).
History
| Seq | When (UTC) | Actor | Action | Entities | Decision / reason | Model / hashes |
|---|---|---|---|---|---|---|
| 1977 | 2026-11-14T20:57:22 | system:llm system |
llm.call |
ENC-00008, ENC-00008.respiratory_failure | — | clockworks-mock mock-1/exactdx.draft_query@1 prompt fd4ead32b26b output c1df7b9475f4 entry 3dd2080dd43a |
| 1151 | 2026-11-14T19:24:27 | system:llm system |
llm.call |
ENC-00008, ENC-00008.respiratory_failure | — | clockworks-mock mock-1/exactdx.draft_query@1 prompt fd4ead32b26b output c1df7b9475f4 entry 7364211ff84f |
| 409 | 2026-11-14T18:29:03 | system:llm system |
llm.call |
ENC-00008, ENC-00008.respiratory_failure | — | clockworks-mock mock-1/exactdx.draft_query@1 prompt fd4ead32b26b output c1df7b9475f4 entry 4ab00f5c4bc0 |