data: Medicare Physician & Other Practitioners PUF ingest — utilization and allowed amounts per HCPCS, 2013– #694
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Spec docs/superpowers/specs/2026-09-09-code-family-longitudinal-design.md (§P50).
The direct outcome for a code becoming payable is whether anyone bills it. Ingest the CMS Medicare Physician & Other Practitioners by Provider and Service PUF (annual, 2013–) into
pfs.utilization(year, hcpcs, place_of_service, n_providers, n_services, n_beneficiaries, avg_allowed, avg_paid), cite the dataset in bib (source:cms-website,table:pfs.utilization,year:tags), and join to the exposure calendar.First questions it must answer: services billed for 99490 per year 2015–2024; G2058 → 99439 continuity in 2020–2021; APCM uptake 2025 vs CCM decline. Done when those three series plot from the table with provenance.
Merged to main as
592ad3c(feature commit4c69d5b) and ingested the same day.What landed
pfs.utilization(pfs/table/utilization.pymodel; writer/reader inpfs/utilization.py): one row per (year, hcpcs, place_of_service) with providers, beneficiaries, services, beneficiary-day services, average submitted / allowed / paid / standardized amounts, plusdataset_id(the year's data.cms.gov UUID) anditem_key(the bib Source citing it). Source is the CMS Medicare Physician & Other Practitioners — by Geography and Service PUF, national rows only — ~13k a year, so the whole 2013–2024 run is 156k rows and fetches in about 10 s through the Data API (filter[Rndrng_Prvdr_Geo_Lvl]=National, 5,000-row pages).data/cms/utilization/mup-phy-geo-<year>.json; one bib Source per year taggedmodule:pfs,table:pfs.utilization,source:cms-website,year:<year>(keys 67XAAK6M … UJCVPVE2); acms.ingest_logrow per year with the cache file's sha256 and the bib key aspincite_key. Suppressed cells (<11 beneficiaries) load as NULL, never 0.stack pfs utilization [--year N]... [--write [--offline]] [--code C]...— fetch/cite/log/republish, or print a code's per-year series (places of service summed, allowed/paid service-weighted).code_families.py: 7d charts the selected family's services per year with the 7c exposure dates as rules; 7e answers this issue's three questions; provenance counts include the table.The three series (from the live table):
stack pfs utilization --write --year 2025when CMS publishes the 2025 file (add its UUID toDATASETS).Tests: 12 unit (
tests/pfs/test_utilization.py), 5 CLI, notebook structure + live run green; pre-commit suites (cli, pfs, notebooks) passed.