Hospital Price Coverage
hospital_price_coverageWhether this store holds a hospital's prices and, if not, WHY. Look up one hospital by CCN or by name (partial match), or summarise a state, or (no arguments) the whole store, including which states are loaded (the store is loaded state by state, so a hospital in an unloaded state is simply absent). Every hospital in a loaded state has a status: ok (prices held), blocked (its website refuses our requests; we do not evade blocks), not_found (no machine-readable file found), invalid_pointer, soft_404, unsupported_version, too_large, parse_error, no_matching_codes, not_fetched. Use before trusting an empty hospital_price_search, or to answer "does this tool cover Mayo Clinic".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ccn | No | CMS Certification Number, e.g. "330101". | |
| name | No | Hospital name or part of it, e.g. "Mayo Clinic". Up to 25 matches are returned. | |
| state | No | Two-letter state code, e.g. "MN": counts by status for that state. | |
| status | No | With state: list hospitals having this status (e.g. "blocked"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | How to narrow or fix the request | |
| found | No | Whether at least one priced result was found | |
| reason | No | Machine-readable reason when found is false | |
| source | No | Publisher and dataset | |
| matches | No | Name matches | |
| message | No | Plain-language explanation of the reason | |
| coverage | No | Which states and how many hospitals the store holds | |
| hospital | No | One hospital's coverage status | |
| by_status | No | Counts per status | |
| hospitals | No | Hospitals with status | |
| data_as_of | No | File last-updated date, or the store cycle | |
| store_cycle | No | Store cycle date | |
| licence_note | No | Reuse-licence caveat |