Medicaid Quality

v0.1.0
io.github.pipeworx-io/medicaid-quality Checked 3 hours ago Published 4 hours ago

Medicaid and CHIP quality measures (CMS Child and Adult Core Sets) and the T-MSIS based…

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

medicaid_quality_measures

List the CMS Medicaid and CHIP Child Core Set and Adult Core Set quality measures (about 70, e.g. follow-up after mental-illness hospitalization, well-child visits, prenatal care, HbA1c control) with their measure id, abbreviation, domain, years reported and how many states reported. Filter by keyword, Core Set (Child or Adult) or domain. Source: CMS, Medicaid and CHIP Core Set, production release. Use the measure id with medicaid_quality_rate and medicaid_quality_compare.

ParameterTypeDescription
core_setstringRestrict to one Core Set: "Child", "Adult" or "Health Home" (substring match on the published Core Set name).
domainstringRestrict by domain (substring), e.g. "Behavioral Health", "Maternal".
include_retiredbooleanInclude measures CMS has retired from the Core Set. Default false.
limitnumberMax measures to return (default 100).
querystringKeyword(s) matched against measure name, abbreviation, id and domain, e.g. "postpartum", "asthma", "FUH".

medicaid_quality_rate

State-reported rate for one Medicaid and CHIP Core Set quality measure, for one state or every state, across reporting years (2021-2025). Returns the headline rate per stratification (e.g. "7-Day Follow-Up", "30-Day Follow-Up"), the population reported, the national median and number of states reporting. Pass `measure` as an id ("HC.43"), abbreviation ("FUH-CH") or name fragment. Source: CMS, Medicaid and CHIP Core Set, production release.

ParameterTypeDescription
measure *stringMeasure id, abbreviation or name fragment, e.g. "HC.43", "FUH-CH", "well-child".
all_populationsbooleanReturn every published population variant (Medicaid only, Separate CHIP, combined) instead of the headline combined rate. Default false.
statestringTwo-letter state/territory code or full name, e.g. "CA". Omit for all states (then give a year).
yearnumberCore Set year, e.g. 2025. Omit for every year (single state).

medicaid_quality_compare

Compare states on one Medicaid and CHIP Core Set quality measure for one year: ranks every reporting state, with the national median, and lists states that did not report. Choose which rate of the measure to rank with `rate` (e.g. "30-Day"); the available rates are returned. Source: CMS, Medicaid and CHIP Core Set, production release.

ParameterTypeDescription
measure *stringMeasure id, abbreviation or name fragment, e.g. "HC.43" or "FUH-CH".
limitnumberMax ranked states to return (default 60).
orderstringSort direction. Default high_first.
ratestringSubstring of the rate label to rank, e.g. "30-Day". Defaults to the measure's first listed rate.
yearnumberCore Set year. Defaults to the latest year the measure was reported.

medicaid_service_use_annual

Annual service-use measures built from CMS T-MSIS (Transformed Medicaid Statistical Information System) data: share of Medicaid and CHIP enrollees with a well-child visit (dataset "well_child"), receiving mental health or substance-use-disorder services ("mental_health_sud"), and preterm births and severe maternal morbidity among Medicaid/CHIP-covered live births, by state ("prematurity_smm"). Years 2020-2022. Breaks out by age, race/ethnicity, program type etc. Source: CMS, Medicaid and CHIP Scorecard.

ParameterTypeDescription
dataset *stringWhich service-use measure family.
categorystringSubstring of the measure category, e.g. "preterm", "SMM", "SUD".
geographystringState name/code or "National". The well_child and mental_health_sud datasets are national only; prematurity_smm is by state.
limitnumberMax rows (default 100, max 500).
subpopulation_topicstringBreakout dimension, e.g. "Age group", "Race and ethnicity", "Total enrollees".
yearnumberYear (2020, 2021 or 2022).

medicaid_service_use_monthly

Monthly state service-use measures from CMS T-MSIS data, 2018-2022: blood lead screening of ages 1-2 ("blood_lead"), contraceptive care ages 15-44 incl. LARC ("contraceptive"), acute care - ED visits, inpatient and ICU stays ("acute_care"), and behavioral health services for mental health or SUD ("behavioral_health"). Returns service count and rate per 1,000 beneficiaries by state and month. Source: CMS, Medicaid and CHIP Scorecard.

ParameterTypeDescription
dataset *stringWhich service-use measure family.
conditionstringacute_care / behavioral_health only: condition filter, e.g. "Substance use disorder", "COVID-19".
limitnumberMax rows (default 100, max 500).
monthstringMonth as YYYYMM or YYYY-MM, e.g. "202001".
servicestringSubstring of the service type, e.g. "LARC", "ED visits", "Telehealth", "Inpatient".
statestringState name or two-letter code, e.g. "Alabama" or "AL".
yearnumberYear 2018-2022.