Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HCRIS Kit

Load the native CMS HCRIS Report, Numeric, and Alpha-Numeric comma-delimited extracts into a small SQLite database without discarding worksheet coordinates or source-row provenance.

CMS describes the current distribution structure on its Cost Reports page. HCRIS Kit accepts either headerless CMS files or files with the standard column headers.

Run

python3 hcris_kit.py load --db hcris.sqlite \
  --reports HOSP10_RPT.CSV --numeric HOSP10_NMRC.CSV --alpha HOSP10_ALPHA.CSV

python3 hcris_kit.py value --db hcris.sqlite --report 123456 \
  --worksheet S300001 --line 00100 --column 00100

Numeric values remain stored as source text so decimal precision is not silently changed. Every row records its source filename and one-based source row. Report rows retain their full field array because CMS report layouts vary by form and release.

Check

python3 test_hcris_kit.py

About

Load CMS hospital cost-report extracts into provenance-preserving SQLite.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages