Files
stack/docs/docs/cli/prisma-run.md
kert 4c69d5be9b feat(pfs): Part B utilization per HCPCS — pfs.utilization from the CMS by-Geography-and-Service PUFs, stack pfs utilization, notebook 7d/7e (refs #694)
One dataset per calendar year on data.cms.gov (2013–2024, UUIDs in
pfs.utilization.DATASETS), pulled through the Data API filtered to
national rows (~13k a year, one per HCPCS × place of service), cached
under data/cms/utilization/, loaded delete-then-insert per year, each
year cited in bib as a Source (module:pfs, table:pfs.utilization,
source:cms-website, year:N) and logged in cms.ingest_log with the
cache file's sha256. Suppressed cells (<11 beneficiaries) load as NULL.
read_series() sums places of service and service-weights the average
allowed/paid amounts.

stack pfs utilization [--year N]... [--write [--offline]] [--code C]...
Notebook 7d charts a family's services per year with the exposure
dates from 7c as rules; 7e answers the three #694 questions (99490
2015–, G2058→99439 continuity, APCM 2025 vs CCM — no 2025 file yet).
CLI docs regenerated (sidebar renumbered around the new page).
2026-09-22 16:04:41 -04:00

2.5 KiB

title, sidebar_position
title sidebar_position
stack prisma run 90

stack prisma run

Usage: stack prisma run [OPTIONS] NAME                                         
                                                                                
 Orchestrate all PRISMA stages in order.                                        
                                                                                
 screen → fetch → eligible → extract → flow, all inside one zotero              
 hold. Fetch only pulls PDFs for non-excluded items; stage 2                    
 exclusions are terminal by design.                                             
                                                                                
╭─ Arguments ──────────────────────────────────────────────────────────────────╮
│ *    name      TEXT  Project slug. [required]                                │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --limit         -n               INTEGER  Same limit applied to every stage. │
│                                           [default: 0]                       │
│ --skip-fetch                                                                 │
│ --skip-extract                                                               │
│ --db                             PATH     [default:                          │
│                                           data/zotero/data/zotero.sqlite]    │
│ --storage                        PATH     [default:                          │
│                                           data/zotero/data/storage]          │
│ --hold              --no-hold             [default: hold]                    │
│ --help                                    Show this message and exit.        │
╰──────────────────────────────────────────────────────────────────────────────╯