Some checks failed
CI / lint (push) Failing after 44s
CI / notebooks-smoke (push) Successful in 1m48s
Deploy / changes (push) Successful in 18s
Infra CI / notebooks (push) Successful in 55s
Infra CI / zotero (push) Successful in 23s
CI / test (push) Successful in 4m23s
Infra CI / docs (push) Successful in 22s
Infra CI / api (push) Successful in 1m10s
Infra CI / bcda (push) Successful in 1m46s
Infra CI / llm (push) Successful in 52s
Infra CI / mc (push) Successful in 20s
Deploy / notebooks (push) Has been skipped
Deploy / zotero (push) Has been skipped
Deploy / docs (push) Has been skipped
Deploy / api (push) Successful in 2m0s
Lean Pay / pay (push) Successful in 3m26s
Deploy / bcda (push) Successful in 1m59s
Deploy / mc (push) Has been skipped
Deploy / llm (push) Successful in 1m19s
Deploy / report (push) Successful in 15s
Comment Pull / comment-pull (push) Failing after 29s
Notebooks Integration / notebooks-integration (push) Failing after 12m24s
Renovate / renovate (push) Successful in 2m31s
LLM Golden / llm-golden (push) Successful in 29m52s
Zotero Sync / zotero-sync (push) Successful in 3m3s
Package Supply Chain / pkg-supply-chain (push) Successful in 1m35s
Operating payment is the federal rate with COLA on the nonlabor portion, times (1 + operating IME + operating DSH), plus the uncompensated-care add-on. The impact-file operating DSH is already the empirically justified factor and is not multiplied by 0.25. Capital payment is the Table 1D national rate times the hospital GAF, times (1 + capital IME + capital DSH). The impact file is the final-rule model, not the quarterly Provider Specific File. An outlier is the 42 CFR 412.84 marginal factor on the excess of charge-based cost over that claim payment and the wage- or GAF-adjusted fixed-loss share. No charges, or no published fixed-loss threshold, produces no outlier. The national wage-index-1 federal-rate identity is unchanged.
51 lines
1.6 KiB
Python
51 lines
1.6 KiB
Python
"""ipps — Inpatient Prospective Payment System claim payment.
|
||
|
||
The operating federal rate prices an MS-DRG from the published Table 5
|
||
weight and the full-update standardized amounts in Tables 1A and 1B::
|
||
|
||
weight × (labor × wage_index + nonlabor)
|
||
|
||
Table 1A applies when the wage index is above 1. Table 1B applies
|
||
otherwise. ``operating_dollars`` rounds that product at COLA 1.
|
||
``operating_payment`` is the same rate for every loaded CBSA. Capital
|
||
at GAF 1 is the Table 5 weight times the Table 1D national rate.
|
||
|
||
``claim_payment`` is the claim. It reads the final-rule impact file
|
||
for the hospital's payment wage index, COLA, IME, DSH, capital GAF,
|
||
CCRs, and uncompensated-care add-on. That file is not the quarterly
|
||
Provider Specific File. The printed operating DSH factor is not
|
||
multiplied by 0.25. The hospital GAF is not combined with the area
|
||
GAF. An outlier needs covered charges and a published fixed-loss
|
||
threshold; otherwise that add-on is absent. ``src/lead`` is unrelated.
|
||
"""
|
||
|
||
from ipps.calcs import (
|
||
OUTLIER_BURN_MARGINAL,
|
||
OUTLIER_MARGINAL,
|
||
capital_claim,
|
||
capital_dollars,
|
||
capital_federal,
|
||
claim_payment,
|
||
operating_claim,
|
||
operating_dollars,
|
||
operating_federal,
|
||
operating_payment,
|
||
outlier_payment,
|
||
)
|
||
from ipps.rules import wage_index_table
|
||
|
||
__all__ = [
|
||
"OUTLIER_BURN_MARGINAL",
|
||
"OUTLIER_MARGINAL",
|
||
"capital_claim",
|
||
"capital_dollars",
|
||
"capital_federal",
|
||
"claim_payment",
|
||
"operating_claim",
|
||
"operating_dollars",
|
||
"operating_federal",
|
||
"operating_payment",
|
||
"outlier_payment",
|
||
"wage_index_table",
|
||
]
|