Revenue at stake: methods
How each card’s two payments are found, where every number comes from, and what the comparison cannot tell you.
Draft · built with Claude Code · under coder review
Method
- Which codes. The 922 codes that left the inpatient-only list on January 1, 2026 (285) or January 1, 2027 (637), from this site’s own history of CMS’s Addendum B files.
- CPT to ICD-10-PCS. Each code was mapped to the ICD-10-PCS codes a hospital would report for the same operation as an inpatient, with an expected principal diagnosis. Some codes have several alternative sets (a different lobe, a different approach). Two separate AI passes made the maps without seeing each other’s work; where they grouped to different DRG families, a third pass chose. Every PCS and ICD-10-CM code is checked against the FY 2027 code sets.
- ICD-10-PCS to an MS-DRG family. A small grouper written for this project places each set and diagnosis in an MS-DRG family from the MS-DRG v44 Definitions Manual: the diagnosis gives the MDC, and the highest operating-room procedure in that MDC’s surgical hierarchy gives the family. With no operating-room procedure, the family is the diagnosis’s medical DRGs. With an operating-room procedure outside the diagnosis’s MDC, it is the “unrelated” family (981–983 or 987–989). This is the surgical-family part of a grouper, not the full MS-DRG software; it does not pick the severity level within a family, which is why each family is a range.
- Inpatient payment. Each DRG’s FY 2027 relative weight × ($6,848.00 operating standardized amount + $539.95 capital federal rate) = weight × $7,387.95. The family’s range runs from its lowest-weighted DRG (usually without CC/MCC) to its highest (with MCC).
- Outpatient payment. The code’s CY 2027 status indicator, APC and national payment rate from the final rule’s Addendum B, with the APC title from Addendum A, and the surgery-center rate from ASC Addendum AA where CMS lists the code.
- The difference. Outpatient rate minus the inpatient range. A negative number means outpatient pays less.
Two different years
Outpatient: CY 2027 OPPS (from Jan 1, 2027). Inpatient: FY 2027 IPPS (Oct 1, 2026 – Sep 30, 2027). The two systems run on different calendars, so these are the rates in force for a case on January 1, 2027. An inpatient case after September 30, 2027 is paid on FY 2028 rates.
National, unadjusted
Every dollar figure here is a national amount with no hospital-specific adjustment: none: no wage index, IME, DSH, outlier or other hospital-specific adjustment. A hospital’s own inpatient payment is usually higher. Its wage index adjusts the labor share of the operating amount, and teaching (IME) and disproportionate-share (DSH) add-ons raise it further. Published hand-worked examples, such as a figure of about $20,000 for a lobectomy, may include those adjustments. The figures here include none of them. For example, DRG 165 (major chest procedures without CC/MCC) is its relative weight, 1.9294, × $7,387.95.
Outpatient payments are wage-adjusted too (60% of the rate), but get no IME or DSH add-on. The Excel download has an Inputs tab where you can enter your own wage index, IME and DSH; every amount recalculates.
Tiers and review status
Each mapped code gets a tier, computed from the mapping passes, never set by hand.
- Tier 1 (285 codes): two separate AI mapping passes agree on one DRG family. Not yet checked by a coder.
- Tier 2 (399): one family, but several PCS codes are reported together, the passes chose different PCS codes, or the family comes from the diagnosis rather than an in-MDC operation.
- Tier 3 (165): the family depends on the principal diagnosis, on which variant of the operation is done and how it is coded, or both; or the two passes disagreed and an adjudicating pass chose the mapping. Each family is labeled with what selects it. Reviewers wanted.
The two passes are not fully independent: both are AI, working from the code, CMS’s short descriptor and this site’s label, not from the AMA’s full descriptors. Agreement makes a wrong map less likely, not impossible. A coder’s review is what moves a code to confirmed. How review works
Before you use these numbers
- Outpatient-eligible is not outpatient-only. Removal from the list lets Medicare pay for a procedure in either setting. It does not require the outpatient setting.
- Status decisions stay clinical. Whether a patient is admitted is decided case by case under the two-midnight rule (42 CFR 412.3 (opens in a new tab)), not by what either setting pays. Use these figures to know your exposure, not to choose a setting.
- An estimate of revenue at stake, not a forecast. It shows the per-case difference if a case moves. It does not predict how many cases move, or which DRG in the family a case lands in.
- Not billing or legal advice. The mappings are a draft made by AI passes and are being checked by coders. A card’s review status says how far that has got.
Limits
- Facility payment only. The surgeon’s professional fee is the same idea under a different fee schedule and is not shown.
- Packaged codes (status indicator N) and anesthesia codes are listed without a comparison: they have no separate outpatient payment.
- The range is the whole MS-DRG family. Where a real case lands depends on its secondary diagnoses (CC/MCC), which this cannot know.
- The expected principal diagnosis is one typical choice, with an alternative only where it changes the family. Real cases vary.
- Outliers, transfers, post-acute transfer reductions, new-technology add-on payments and device credits are not modelled.
- Fee-for-service Medicare only. Medicare Advantage and other payers pay on their own contracts.
- Labels are this site’s own plain-language names, not CPT descriptors, and may be less specific than the code.
Run it on your own claims
A national family range is a starting point. A hospital can replace it with its own experience:
- Pull your Medicare inpatient claims from the last year or two with an ICD-10-PCS procedure code listed on these cards.
- Count which MS-DRG each claim grouped to. That is your own distribution within the family, CC and MCC included.
- Weight the DRG amounts by that distribution, using your own wage index, IME and DSH (the Excel Inputs tab does this arithmetic).
- Compare with the outpatient APC rate adjusted by your wage index, for the cases that could have been outpatient under the two-midnight rule.
If you do, and you can share only totals (no patient information), a correction through Help review improves the estimate for everyone.
Built with Claude Code
This section was built by Dalton Haslam, MD, MBA using Claude Code, Anthropic’s AI coding tool. Claude wrote the pipeline, the grouper and the pages, made the two mapping passes and the adjudications, and wrote the first-pass diagnosis choices. Each build checks, and fails if any check fails, that every PCS and ICD-10-CM code is valid in the FY 2027 code sets; that every PCS set and diagnosis regroups to its family and traces to an MS-DRG v44 Appendix E row; that DRG weights, titles and MDCs match Table 5 and Appendix A; that APC and surgery-center rates match the addenda; that every dollar amount and difference recomputes to the cent; and that no published text copies a CPT descriptor. None of that checks whether a mapping is the right clinical or coding choice; only the coders who review it do. Until a card says confirmed, treat its mapping as a draft.
Sources
Every number on a card comes from one of these CMS files.
- Operating: Table 1A, CMS-1849-CN: national operating standardized amount, full update (quality data submitted, meaningful EHR user), wage index above 1: $6,848.00.
- Capital: Table 1D, CMS-1849-CN: national capital federal rate: $539.95.
- Weights: Table 5, CMS-1849-CN: relative weights with the 10% cap applied.
- FY 2027 IPPS final rule correction notice (CN) tables, which supersede the final-rule tables.
Regulations: 42 CFR 412.3 (opens in a new tab) (inpatient admissions and the two-midnight rule).
Updates and downloads
Built November 12, 2026. Rebuilt each October for the new fiscal year’s inpatient weights, rates and grouper version, and each January for the new calendar year’s outpatient rates and the next removals from the list. Coder reviews are added between those updates; a status changes only when they are.
Download Excel (live formulas off an Inputs tab) or download the CSV: one row per code and DRG family, plain values. No AMA content: codes and this site’s labels only. The code and the mappings (opens in a new tab) are public under the MIT license.