TEAM · Methods
TEAM: methods and sources
Every number on the TEAM page comes from a public file, pinned and checked by its hash, or from the rules in 42 CFR 512 subpart E. Below: how each is made, what the calculator leaves out, and where your hospital finds the real value. A sentence that states a rule names its source, and the claims register in the repository quotes each one.
Sources and their dates
Each file the TEAM page reads, as pinned: who publishes it, the date the source gives (its as-of date, release or last change), the day this site fetched it, and the start of its SHA-256 hash. The full hashes are in the repository’s manifest. A dash means the source gives no date of its own.
TEAM’s own files
The hospital list’s files, which every page of the site shares
Other sources this page cites
- The TEAM rules: 42 CFR 512 subpart E (eCFR) (opens in a new tab)
- CMS’s TEAM technical FAQs (opens in a new tab)
- CMS’s TEAM Quality Scoring fact sheet (opens in a new tab)
- The fiscal year 2027 inpatient final rule (Federal Register) (opens in a new tab)
- CMS’s methodology for its Medicare Inpatient Hospitals files (opens in a new tab)
- CMS’s CJR final reconciliation file (opens in a new tab)
- The CJR evaluation’s seventh annual report (opens in a new tab)
- BPCI Advanced’s final evaluation, appendices (opens in a new tab)
Episode counts: a floor, not a forecast
A hospital’s episodes are its Medicare fee-for-service inpatient discharges in 2024 under each category’s MS-DRGs, from CMS’s Medicare Inpatient Hospitals by Provider and Service file. CMS, Medicare Inpatient Hospitals methodology
They are a floor:
- Hidden cells. CMS leaves out of the file any hospital and MS-DRG row built from 10 or fewer discharges, so each missing row of an episode MS-DRG is none to 10 discharges, counted here as none. CMS, Medicare Inpatient Hospitals methodology
- No outpatient cases. Joint replacement and spinal fusion episodes can also start from an outpatient claim, and the file has none; the calculator marks both rows inpatient only. 42 CFR 512.525(d)
- One past year. The counts are 2024’s inpatient stays, not a forecast of 2027’s.
A hidden cell may be a surgery the hospital doesn’t do at all, so hidden cells times 10 is no bound on what is missing. Of the 717 hospitals still in TEAM in 2027, 189 show no public episodes at all. The calculator shows each row’s hidden cells beside its count, and you can type your own.
The data year counts some cases under MS-DRGs that CMS’s performance year 2 prices don’t have. This site moves them to the priced MS-DRGs that took them over; where the cases went two ways by procedure code, which the file doesn’t carry, it splits them evenly between the two. Both halves of each split stay in one episode type, so every count stays whole; only the mix of MS-DRG prices behind a count is an even guess.
| Counted under, in the data | Moved to |
|---|---|
| 453 | 426 |
| 454 | 427 |
| 455 | 428 |
| 456 | 523 |
| 457 | 524 |
| 458 | 525 |
| 459 | 50% to 447 and 50% to 450 |
| 460 | 50% to 448 and 50% to 451 |
Low volume, approximated
A category with fewer than 31 episodes over the three baseline years can’t add to a repayment: CMS caps its spending at its target, so it can only add to a gain. 42 CFR 512.550(c)(9)
The baseline years’ counts aren’t public. This site adds the file’s two data years, 2023 and 2024, multiplies the sum by 1.5 to stand in for three years, and ticks the category when the result is under 31. The calculator lets you change any tick.
The tick is built on the public counts, where each hidden cell counts as none, so it leans toward low volume. Untick a category when the baseline data CMS sends the hospital shows 31 or more episodes for it. 42 CFR 512.562(b)(6); CMS TEAM FAQ, question 38
CMS’s FAQ applies the cap to each episode’s amount before it sums them for the hospital. The calculator applies it to the category’s total, which comes to the same only when the category’s episodes all land on the same side of target. CMS TEAM FAQ, question 38
Prices and the target amount
Prices are CMS’s preliminary performance year 2 target prices, one for each MS-DRG or HCPCS episode type in each census division, in standardized dollars. CMS, TEAM PY2 preliminary target prices
A category’s price for a hospital is its division’s prices for the category’s MS-DRGs, averaged by the hospital’s episodes; with no episodes, the division’s average for the category. CMS’s file gives no such average for spinal fusion, so this site’s is the plain mean of its MS-DRGs’ prices.
The target amount is episodes times price, summed over the categories, before the risk adjustment CMS makes in each hospital’s own prices. 42 CFR 512.545(a)
Quality percentiles
CMS scores each quality measure as a percentile: where the hospital’s value falls among a national cohort of TEAM participants and hospitals not in TEAM, with the higher percentile on a tie. For these measures a lower value is better. 42 CFR 512.547(b)(1)
This site prefills the two measures Care Compare publishes for each hospital: hybrid hospital-wide readmission (2,896 hospitals with a value) and failure to rescue (2,269). Its cohort is every open hospital the inpatient system pays that has a value, outside Maryland and other than Indian Health Service and tribal hospitals. That stands in for CMS’s cohort, so the percentiles are near CMS’s, not the same.
The public values cover July 1, 2024 to June 30, 2025 and July 1, 2023 to June 30, 2025. Performance year 2’s measures cover July 1, 2025 to June 30, 2026 and July 1, 2024 to June 30, 2026, and CMS ranks each hospital against the same period’s values, so its real percentile comes from later data than this site has. 42 CFR 512.547(a)(2); 91 FR 50096
A measure with no value counts at 50, the score CMS gives a measure with no or an incomplete raw score. The other three measures have no public hospital values, so the calculator starts them at 50 too. 42 CFR 512.547(b)(1)(i)(D)
The composite quality score
Each measure is weighted by the hospital’s episodes it covers, over the total of those volumes across the measures: each measure for every inpatient episode counts all of them, and the joint replacement survey counts only inpatient joint replacements. 42 CFR 512.547(a)(2), (b)(2)
The score is the sum of each measure’s percentile times its weight, from zero to 100. CMS, TEAM Quality Scoring fact sheet; 42 CFR 512.547(b)
CMS then adjusts the hospital’s reconciliation amount by the score. A gain gives up as much as 10% of itself: all 10% at a score of zero, none at 100, in a straight line between. A repayment shrinks with the score: not at all at zero, and by the full 15% (Track 2) or 10% (Track 3) at a score of 100, in a straight line between. CMS, TEAM Quality Scoring fact sheet; 42 CFR 512.550(d)
CMS’s Quality Scoring fact sheet (opens in a new tab) gives the formula with worked examples.
The calculator’s band
The calculator draws its result ±5% of target either way by default, and you can set it from 1% to 20%. The band is this site’s choice, not a rule.
Why ±5%: in Medicare’s joint-replacement bundle (CJR), 44% of non-rural hospitals’ yearly results in performance years 4, 6, and 7 ended within ±5% of target and 71% within ±10%, in this site’s count from CMS’s CJR final reconciliation file (opens in a new tab). The band covers the middle of those results, ±5% on each side of target, the same under as over: where a year is likely to land, not how far it can go.
How this site counted: CMS’s file gives each hospital’s final reconciliation amount and episode count for each performance year, but not its target. So a year’s result is its amount per episode over that year’s CJR-wide average target per episode, from the CJR evaluation’s seventh annual report (opens in a new tab): a payment to the hospital means spending under target, a repayment spending over it.
The count takes performance years 4, 6, and 7: of the years in CMS’s file with CJR’s widest limits on a gain and a repayment, all but year 5, which CMS reconciled under the extreme and uncontrollable circumstances policy it applied for the COVID pandemic. Their average targets were $28,073, $29,123, and $29,798. It takes only a hospital’s year of 20 episodes or more, and leaves out a zero that hides a result: a hospital rated below acceptable on quality could not be paid, so its zero may stand for a year under target.
It also leaves out a year at a rural hospital, which CMS’s file marks year by year. In these years a rural hospital, as well as a sole community hospital, a Medicare-dependent hospital or a rural referral center, had a far lower limit on a repayment than other hospitals, so a year that ran far over target could still end close to it in CMS’s file. A sole community hospital, Medicare-dependent hospital or rural referral center that is not rural had the same lower limit, but CMS’s file does not mark it, so its years remain in the count. 42 CFR 510.305(e)(1)(v)(C), (m)(1)(vii)(C)
Of 1,111 results in those years, 34 zeros that hide a result, 138 years at rural hospitals and 188 years under 20 episodes are left out, in that order, leaving 751: 330 within ±5% and 533 within ±10%.
Each result is approximate: one average target stands in for every hospital’s own, which turns on its mix of cases and its region. The error grows with a result’s distance from target: small near target, where the band sits, and larger far from it. And CMS’s amount is more than target less spending: it carries other adjustments too, among them a recoupment when a hospital’s average spending in the month after its episodes ran far above its region’s, so a hospital that owed one reads further over target than its episodes alone put it. The evaluation’s report finds those recoupments a small share of repayments overall, though a large one for some hospitals.
Some hospitals’ years run well past ±5% either way; Track 3’s limits stop a TEAM hospital’s result at 20% either way. 42 CFR 512.550(e)
BPCI Advanced, Medicare’s voluntary bundle of the same years, shows about the same spread in its later model years, in this site’s reading of the per-episode reconciliation table in the appendix to its final evaluation (opens in a new tab).
A band of ±5% either way is also Track 2’s limit on a gain and on a repayment, so for a Track 2 hospital the band’s edges are the limits themselves. 42 CFR 512.550(e)
CJR paid for joint replacement alone; TEAM reconciles five kinds of surgery together, so its spread may be wider or narrower. 42 CFR 512.525(d)
Standardized dollars, and a target that can still move
Every dollar on the TEAM pages is a standardized dollar, the unit CMS counts episode spending and its prices in. Compare them with the standardized spending in CMS’s reports to the hospital, not with charges, costs or what Medicare paid. 42 CFR 512.505; CMS, TEAM PY2 preliminary target prices
The target a hospital is held to is set after the year. CMS adjusts each preliminary price for the patient’s and the hospital’s risk, and two factors move it within limits: the final normalization within 5% either way of the prospective one, and the trend within 3% of the updated prospective trend. 42 CFR 512.545(a), (e)(1)(iii), (f)(2)
So even with spending exactly on target in the preliminary prices, the result can move by a few percent of the target either way. The calculator holds the target fixed.
What the calculator leaves out
- Risk adjustment. CMS adjusts each episode’s price for the patient and for the hospital. The calculator uses the region’s prices, before that adjustment. 42 CFR 512.545(a)
- The post-episode spending adjustment. CMS subtracts what a hospital’s patients cost in the days after their episodes when it runs far above its region’s average, outside the track’s limits. It needs CMS’s own data, so it is zero here. 42 CFR 512.550(e), (f)
- The high-cost cap. CMS caps each episode’s spending at the 99th percentile of its region’s spending for its episode type, in the baseline and in the year. The calculator takes spending as a percent of target and caps nothing itself. 42 CFR 512.505; 512.550(c)(4)
What isn’t public, and where the real value lives
These stay inputs you can change. For each, what the calculator assumes, then where your hospital finds the real value.
Your track
Assumed: Track 3, CMS’s assignment from performance year 2 unless a hospital asks for another and qualifies. 42 CFR 512.520(b)
Real value: CMS tells participants the selection deadline and their safety-net status before each year. Only the hospital’s authorized signatory submits the track form, in the TEAM Portal. CMS TEAM FAQ, questions 16 and 55
Report dates
Assumed: No date. The calculator gives a result, not when it arrives.
Real value: Reconciliation begins about 6 months after the year. CMS sends the report to the hospital, and the 30 days to flag a calculation error run from then. 42 CFR 512.560(a); CMS TEAM FAQ, question 37
Falls with injury and postoperative respiratory failure
Assumed: 50 each, CMS’s score for a measure with no value. Reporting either is voluntary for performance year 2. 42 CFR 512.547(b)(1)(i)(D); CMS TEAM FAQ, question 73
Real value: The hospital’s own submissions of either measure to CMS, if it sends them. CMS TEAM FAQ, question 73
Their baseline period is unsettled in print. The eCFR’s text still gives both a calendar 2026 baseline for performance year 2. 42 CFR 512.547(a)(2)(ii)–(iii)
The latest inpatient final rule made each year’s baseline the same period as its measurement, and CMS’s FAQ table gives both calendar 2027. This site follows CMS’s table. 91 FR 50096; CMS TEAM FAQ, question 71
Low-volume status
Assumed: From public counts, as above, applied to each category’s total.
Real value: The baseline data CMS gives each participant before the year, which count its baseline episodes. CMS’s FAQ applies the cap episode by episode. 42 CFR 512.562(b)(6); CMS TEAM FAQ, question 38
Medicare-dependent hospitals
Assumed: The flag on Medicare’s hospital list.
Real value: A Medicare-dependent hospital qualifies for Track 2 only while that program hasn’t expired when selections are due, and CMS approves each request. 42 CFR 512.520(b)(4)
Your prices, baseline and spending
Assumed: The region’s prices and the public counts above.
Real value: CMS’s reports to the hospital, listed under Where your numbers are.
Who’s in: the area test
A hospital in one of the areas CMS selected must take part. Each area is a core-based statistical area (CBSA); the selected areas here are the 179 CBSAs CMS’s list gives its mandatory participants. 42 CFR 512.505; 512.515
For any other hospital, this site finds its county (from Medicare’s hospital list, else by its county’s name, else its map point, else its city’s other hospitals) and asks OMB’s July 2023 delineation which CBSA holds it. The delineation names every county of every CBSA. CMS’s county crosswalk for fiscal year 2027 follows it for nearly every county but not all, so the delineation decides, and the crosswalk only helps find a county.
A check: CMS’s list has 711 mandatory participants. This site places 710 of them in a county, and the delineation puts every one of those counties in the participant’s own list CBSA; the repository’s tests hold that.
Area unknown: 6 hospitals whose county couldn’t be placed, in a state with a selected area. The lookup says it can’t tell.
In an area, not on the list: 10 acute hospitals the inpatient system pays. A hospital new to an area takes part only after one full performance year, and others may have closed or changed; the lookup says so rather than guess. 42 CFR 512.508
The map and the worked example
The map’s hollow dots are the open acute hospitals on Medicare’s hospital list that its inpatient system pays, outside Maryland, that aren’t in TEAM for 2027.
Part three’s worked example uses round numbers, not a hospital: a target amount of $10.0M, spending 5% under it, a composite quality score of 40 and Track 3. This site’s code computes every line with the same arithmetic the calculator uses, in standardized dollars.
The code and the claims
The code, the pinned files and the claims register, which quotes the source of every rule a sentence states: github.com/paidandpenalized/paid-and-penalized (opens in a new tab).
These are methods version 2. A change to the method is logged in the repository; corrections to the numbers are on the corrections page.