Hospital price-transparency machine-readable file index

v1.0.0
org.referencesource/hospital-price-transparency-files Checked 4 days ago Published 20 days ago

Where is a US hospital's CMS price-transparency file?

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

resolve_hospital_mrf Find a hospital's price-transparency machine-readable file

Where is this hospital's CMS standard-charges machine-readable file? Give a hospital name or part of one ("Prisma Health Richland", "Pennsylvania Hospital", "Abbott Northwestern") and get the file URL, the hospital's public price-transparency page, the health-system domain whose cms-hpt.txt declared it, and the verbatim line it was read from. Punctuation and case are ignored when matching. Hospital names are not unique — 64 names in this register belong to more than one hospital — so this returns a list and the domain tells them apart. Use list_hospitals_on_domain when you know the system…

ParameterTypeDescription
name *stringHospital name or part of one. Case- and punctuation-insensitive; exact matches are returned first, then names starting with it, then names containing it.
domainstringOptional health-system domain to narrow by, e.g. "mercy.net" or "https://www.mercy.net". Use it when a name matched more than one hospital.
limitintegerHow many to return, 1–20. Default 20.

list_hospitals_on_domain List every hospital a health system's cms-hpt.txt declares

Which hospitals does this health system publish prices for? Give a domain ("mercy.net", "www.adventhealth.com", or a URL on it) and get every location its root cms-hpt.txt names, each with its machine-readable file URL, its public page and the line it was read from. This is how the files are actually published — one cms-hpt.txt can declare eighty-six hospitals — so it is the right call when you know the system but not the exact location name. With no domain it lists the 73 domains this register covers, with a count for each.

ParameterTypeDescription
domainstringThe health system's domain. Scheme, "www." and any path are ignored, so "https://www.mercy.net/billing" and "mercy.net" are the same system. Omit it to list the domains covered.
limitintegerHow many locations to return, 1–20. Default 20.

verify_quote Check a claimed hospital file URL against the register

Is this right? Check a claim about a hospital's price-transparency file — the machine-readable file URL, the public page, the domain — against the register instead of trusting it. Says whether the claim matches a stored value, appears only in the verbatim source quote, or differs (and then what the register says instead), and returns the source and quote so it can be traced upstream. Use it on a URL a model produced from memory: these URLs are long, they rot, and a plausible wrong one is indistinguishable from a right one until it is checked.

ParameterTypeDescription
claimed_value *stringThe value to check, exactly as claimed, e.g. "Terminated" or "2026-10-29".
hospital *stringThe hospital name the claim is about, as resolve_hospital_mrf returns it.
domainstringOptional health-system domain, needed when the name belongs to more than one hospital (64 names in this register do).
fieldstringWhich field the claim is about, if you know it. Without it, every stored field of the record is checked.