This repo contains the codesets and variable metadata that may be found in BlueButton API responses.
Below are explanations of the different CSV file types contained herein.
This single csv file all_meta.csv
contains a list of all code sets enumerated here.
Metadata on a per variable basis. These filenames follow the form
variable_meta.csv
.
Code sets per variable. Note that not all variables have enumerated code sets.
These filenames follow the form variable.csv
.
These are the most common CMS variables/codes seen in API responses.
- Claim ID: https://bluebutton.cms.gov/resources/variables/clm_id/
- Claim Source Inpatient Admission Code: https://bluebutton.cms.gov/resources/variables/clm_src_ip_admsn_cd/
- Claim Attending Physician Specialty Code: https://bluebutton.cms.gov/resources/variables/at_physn_spclty_cd/
- Carrier Claim Provider Assignment Indicator Switch: https://bluebutton.cms.gov/resources/variables/asgmntcd/
- Medicare Status Code: https://bluebutton.cms.gov/resources/variables/ms_cd/
- Carrier Claim Payment Denial: Code https://bluebutton.cms.gov/resources/variables/carr_clm_pmt_dnl_cd/
- NCH Near Line Record Identification Code (RIC): https://bluebutton.cms.gov/resources/variables/nch_near_line_rec_ident_cd/
- Carrier Line Provider Type Code: https://bluebutton.cms.gov/resources/variables/carr_line_prvdr_type_cd
- Carrier or MAC Number: https://bluebutton.cms.gov/resources/variables/carr_num/
- Line CMS Type Service Code: https://bluebutton.cms.gov/resources/variables/line_cms_type_srvc_cd/
- Line Berenson-Eggers Type of Service (BETOS) Code: https://bluebutton.cms.gov/resources/variables/betos_cd/
- Claim Healthcare Common Procedure Coding System (HCPCS) Year Code: https://bluebutton.cms.gov/resources/variables/carr_clm_hcpcs_yr_cd/
The CSVs here are generated running the script
build_tables.py
against
https://github.com/cmsgovbluebutton-static-site using a screen scraper
BeautifulSoup. There is a better way to do this, but this is how its currently
done so we can have a published baseline.