# Hospitals and systems

> Search hospitals by EHR vendor, star rating, health system and DRG volume, and fetch one hospital's quality scorecard, EHR, clinicians, measures and Medicare inpatient volume.

Source: https://openpipe.health/docs/api/hospital-intel/

These endpoints add account research to the hospitals on [Facilities](https://openpipe.health/docs/api/facilities.md): the CMS quality scorecard, the EHR each hospital attested to, the health system it reports to, its Medicare inpatient volume by MS-DRG, and the clinicians affiliated with it. Cost-report financials and owners stay on [`GET /api/facilities/:ccn`](https://openpipe.health/docs/api/facilities.md#get-a-facility).

Every endpoint on this page costs 1 credit, charged only when the call succeeds. A `400` or a `404` is free.

The two searches and the clinician, measure and DRG lists reject a query parameter they do not know with `400`:

```json
{ "error": "Invalid request. Unrecognized key: \"foo\"." }
```

Text filters are substring matches that ignore case, 1 to 120 characters. `%` and `_` are matched literally.

## Search hospitals by EHR, rating, system or DRG

```http
GET /api/hospital-intel
```

Returns hospitals with their EHR, star rating and health system on one row. Costs 1 credit.

### Parameters

| Name | Type | Description |
|---|---|---|
| `q` | string | Substring of the hospital name. |
| `state` | string | Two-letter state code. Case-insensitive. |
| `ehr` | string | Substring of the primary EHR vendor, for example `epic`, `oracle` or `meditech`. |
| `ehr_changed` | string | `true` for hospitals whose primary EHR vendor changed between program years 2023 and 2024, `false` for those where it did not. |
| `uses_product` | string | Substring of any certified health IT product or developer on the hospital's latest attestation. |
| `system` | string | Substring of the health system name. |
| `system_id` | string | Exact health system id from [`GET /api/health-systems`](#search-health-systems). Up to 160 characters. |
| `min_rating` | number | Minimum CMS overall star rating, 1 to 5. Must not be greater than `max_rating`. |
| `max_rating` | number | Maximum CMS overall star rating, 1 to 5. |
| `hospital_type` | string | Substring of the Care Compare hospital type, for example `critical access`. |
| `min_beds` | number | Minimum bed count, 0 to 100,000. |
| `drg` | string | A 1 to 3 digit MS-DRG code, for example `470`. Keeps only hospitals that report this DRG and adds its Medicare discharges to each row. `3` and `003` are the same DRG. |
| `min_discharges` | number | Minimum Medicare discharges in `drg`, 0 to 1,000,000. Needs `drg`: without it the request is a `400`. |
| `sort` | string | `beds` (default), `revenue`, `rating` or `discharges`. Always descending. `discharges` needs `drg`: without it the request is a `400`. |
| `limit` | number | 1 to 200. Default 25. |
| `offset` | number | Rows to skip, 0 to 100,000. Default 0. |

### Example

```sh
curl "$OPH_API/api/hospital-intel?state=TX&ehr=epic&min_rating=4&limit=1" \
  -H "Authorization: Bearer $OPH_KEY"
```

```json
{
  "rows": [
    {
      "ccn": "450358",
      "name": "HOUSTON METHODIST HOSPITAL",
      "city": "HOUSTON",
      "state": "TX",
      "beds": 1000,
      "net_patient_revenue": "3100740283",
      "hospital_type": "Acute Care Hospitals",
      "overall_rating": 5,
      "hcahps_star": 4,
      "ehr_vendor": "Epic",
      "ehr_product": "EpicCare Inpatient Base",
      "ehr_year": 2024,
      "ehr_vendor_changed": false,
      "ehr_previous_vendor": "Epic",
      "system_id": "HO9828",
      "system_name": "THE METHODIST HOSPITAL- CORPORATE DI"
    }
  ],
  "sql": "SELECT h.ccn, h.name, ... FROM hospitals h LEFT JOIN hospital_quality q ON q.ccn = h.ccn LEFT JOIN hospital_ehr e ON e.ccn = h.ccn LEFT JOIN hospital_systems s ON s.ccn = h.ccn WHERE h.state = $1 AND e.vendor ILIKE $2 AND q.overall_rating >= $3 ORDER BY h.beds DESC NULLS LAST, h.ccn LIMIT 1 OFFSET 0",
  "params": ["TX", "%epic%", 4],
  "sources": ["hospitals", "hospital_quality", "hospital_ehr", "hospital_systems"],
  "ms": 38,
  "usage": { "credits": 1, "creditsUsed": 1659, "creditsLimit": 5000, "txid": "11165" }
}
```

With `drg`, each row also has `drg_code`, `drg_discharges` and `drg_avg_medicare_payment`. For `drg=470&state=TX&sort=discharges` the first row ends:

```json
"drg_code": "470",
"drg_discharges": 409,
"drg_avg_medicare_payment": "9843"
```

Things to know:

- The search reads the 9,326 hospitals in [`hospitals`](https://openpipe.health/docs/data/tables.md#hospitals). EHR, rating and system columns are `null` where that hospital has no row in the matching table. A `null` EHR means unknown.
- A filter on EHR, rating, hospital type or system drops every hospital with no value for it.
- `net_patient_revenue` and `drg_avg_medicare_payment` arrive as JSON strings, rounded to whole dollars.
- `sql` is the statement the server ran, as a read-only [receipt](https://openpipe.health/docs/receipts.md).

## Search health systems

```http
GET /api/health-systems
```

Returns health systems with their size, home office, the EHR most of their hospitals run and their average star rating. Costs 1 credit.

### Parameters

| Name | Type | Description |
|---|---|---|
| `q` | string | Substring of the system name. |
| `state` | string | Two-letter code of the home office state. |
| `min_hospitals` | number | Minimum number of hospitals, 1 to 10,000. |
| `sort` | string | `hospitals` (default), `beds` or `revenue`. Always descending. |
| `limit` | number | 1 to 200. Default 25. |
| `offset` | number | Rows to skip, 0 to 100,000. Default 0. |

### Example

```sh
curl "$OPH_API/api/health-systems?state=TX&min_hospitals=5&limit=1" \
  -H "Authorization: Bearer $OPH_KEY"
```

```json
{
  "rows": [
    {
      "system_id": "HB0557",
      "system_name": "TENET HEALTHCARE CORPORATION",
      "hospitals": 47,
      "home_office_city": "DALLAS",
      "home_office_state": "TX",
      "beds": 11306,
      "net_patient_revenue": "14060057290",
      "top_ehr_vendor": "Oracle Health (Cerner)",
      "avg_overall_rating": "2.19"
    }
  ],
  "sql": "SELECT s.system_id, s.system_name, count(*)::int AS hospitals, ... FROM hospital_systems s LEFT JOIN hospitals h ON h.ccn = s.ccn ... GROUP BY s.system_id, s.system_name HAVING mode() WITHIN GROUP (ORDER BY s.home_office_state) = $1 AND count(*) >= $2 ORDER BY hospitals DESC NULLS LAST, s.system_id LIMIT 1 OFFSET 0",
  "params": ["TX", 5],
  "sources": ["hospital_systems", "hospitals", "hospital_ehr", "hospital_quality"],
  "ms": 60,
  "usage": { "credits": 1, "creditsUsed": 1661, "creditsLimit": 5000, "txid": "11169" }
}
```

`top_ehr_vendor` is the most common vendor among the system's hospitals that have EHR data. `avg_overall_rating` averages only the hospitals that have a star rating. Both are `null` when no hospital in the system has a value.

Systems are derived, not published. See [Health systems are derived](#health-systems-are-derived) before you store a `system_id`.

## Get a health system

```http
GET /api/health-systems/:id
```

Returns one system and its hospitals. Costs 1 credit, charged only if the system exists.

`:id` is a `system_id` exactly as a search returned it, up to 160 characters. Some ids start with `N:` followed by a name, so URL-encode the id.

### Response

| Field | Contents |
|---|---|
| `system_id` | The id you sent. |
| `system` | Name, number of hospitals, home office city and state, total beds and total net patient revenue. |
| `ehr_vendors` | Primary EHR vendors across the system's hospitals, with the number of hospitals on each, most common first. |
| `hospitals` | Up to 500 hospitals, most beds first: CCN, name, city, state, beds, net patient revenue, overall star rating, EHR vendor, and `reported_name`, the home office name as that hospital typed it. |
| `sql` | The three statements, keyed `system`, `ehr_vendors` and `hospitals`. |
| `sources` | `hospital_systems`, `hospitals`, `hospital_quality`, `hospital_ehr`. |

```sh
curl "$OPH_API/api/health-systems/HO9828" -H "Authorization: Bearer $OPH_KEY"
```

```json
{
  "system_id": "HO9828",
  "system": {
    "system_id": "HO9828",
    "system_name": "THE METHODIST HOSPITAL- CORPORATE DI",
    "hospitals": 8,
    "home_office_city": "HOUSTON",
    "home_office_state": "TX",
    "beds": 2822,
    "net_patient_revenue": "7027192220"
  },
  "ehr_vendors": [{ "vendor": "Epic", "hospitals": 7 }],
  "hospitals": [
    {
      "ccn": "450358",
      "name": "HOUSTON METHODIST HOSPITAL",
      "city": "HOUSTON",
      "state": "TX",
      "beds": 1000,
      "net_patient_revenue": "3100740283",
      "overall_rating": 5,
      "ehr_vendor": "Epic",
      "reported_name": "THE METHODIST HOSPITAL- CORPORATE DI"
    }
  ],
  "sql": { "system": "SELECT s.system_id, ...", "ehr_vendors": "SELECT e.vendor, ...", "hospitals": "SELECT s.ccn, h.name, ..." },
  "sources": ["hospital_systems", "hospitals", "hospital_quality", "hospital_ehr"],
  "ms": 162,
  "usage": { "credits": 1, "creditsUsed": 1672, "creditsLimit": 5000, "txid": "11192" }
}
```

An unknown id returns `404` with `No health system with that id.`

## Get hospital intel

```http
GET /api/facilities/:ccn/intel
```

Returns the account-level picture of one hospital: quality scorecard, EHR, health system, top DRGs and affiliated clinicians. Costs 1 credit, charged only if the hospital exists.

A CCN shorter than six characters is left-padded with zeros. A CCN that is not 1 to 6 letters or digits returns `400` with `CCN must be up to 6 letters or digits.`

### Response

| Field | Contents |
|---|---|
| `ccn` | The CCN, padded and upper-cased. |
| `hospital` | CCN, name, city, state, beds and facility type from [`hospitals`](https://openpipe.health/docs/data/tables.md#hospitals). `null` for the Veterans Affairs and military hospitals that are in Care Compare only. |
| `quality` | Every column of `hospital_quality`: hospital type, overall star rating, patient-survey stars and percentages, counts of measures better and worse than national, readmission and mortality rates, infection ratios, emergency department volume and wait, spending ratio. `null` if the hospital is not in Care Compare. |
| `ehr` | Program year, primary vendor, developer, product, `basis`, product and developer counts, other vendors, previous vendor and `vendor_changed`. `null` means unknown. |
| `ehr_products` | Up to 100 certified products on the same attestation, core EHR first. |
| `system` | The health system: id, name, number of hospitals, the name as reported, home office and fiscal year end. `null` means independent or unknown. |
| `top_drgs` | The 15 MS-DRGs with the most Medicare discharges, with average and total Medicare payment. |
| `affiliated_clinicians` | Number of clinicians affiliated with the hospital. |
| `clinician_specialties` | The 15 most common specialties among them, with counts. |
| `sql` | The eight statements, keyed `hospital`, `quality`, `ehr`, `ehr_products`, `system`, `top_drgs`, `clinicians` and `clinician_specialties`. |
| `sources` | The eight datasets read. |

```sh
curl "$OPH_API/api/facilities/450358/intel" -H "Authorization: Bearer $OPH_KEY"
```

```json
{
  "ccn": "450358",
  "hospital": { "ccn": "450358", "name": "HOUSTON METHODIST HOSPITAL", "city": "HOUSTON", "state": "TX", "beds": 1000, "facility_type": "STH" },
  "quality": {
    "hospital_type": "Acute Care Hospitals",
    "overall_rating": 5,
    "hcahps_star": 4,
    "recommend_pct": 82,
    "readmission_rate": 15.2,
    "mortality_rate": 2.1,
    "ed_median_minutes": 160,
    "spending_ratio": 0.98
  },
  "ehr": {
    "year": 2024,
    "vendor": "Epic",
    "product": "EpicCare Inpatient Base",
    "basis": "core_product",
    "product_count": 5,
    "other_vendors": "SCC Soft Computer",
    "previous_vendor": "Epic",
    "vendor_changed": false
  },
  "ehr_products": [
    { "year": 2024, "vendor": "Epic", "developer": "Epic Systems Corporation", "product": "EpicCare Inpatient Base", "is_core_ehr": true, "listings": 1 }
  ],
  "system": { "system_id": "HO9828", "system_name": "THE METHODIST HOSPITAL- CORPORATE DI", "system_hospitals": 8 },
  "top_drgs": [
    {
      "drg_code": "871",
      "drg_description": "SEPTICEMIA OR SEVERE SEPSIS WITHOUT MV >96 HOURS WITH MCC",
      "discharges": 808,
      "avg_medicare_payment": "16752",
      "total_medicare_payment": "13535350"
    }
  ],
  "affiliated_clinicians": 2337,
  "clinician_specialties": [{ "specialty": "Internal Medicine", "clinicians": 828 }],
  "sql": { "hospital": "SELECT ccn, name, ... FROM hospitals WHERE ccn = $1", "quality": "SELECT * FROM hospital_quality WHERE ccn = $1" },
  "sources": ["hospitals", "hospital_quality", "hospital_ehr", "hospital_ehr_products", "hospital_systems", "hospital_drgs", "clinician_facilities", "providers"],
  "ms": 931,
  "usage": { "credits": 1, "creditsUsed": 1673, "creditsLimit": 5000, "txid": "11194" }
}
```

The example is trimmed: `quality`, `ehr` and `system` have more fields, the arrays have more rows, and `sql` has all eight statements.

A CCN in neither `hospitals` nor Care Compare returns `404` with `No hospital with that CCN.`

## List a hospital's clinicians

```http
GET /api/facilities/:ccn/clinicians
```

Returns the clinicians affiliated with one hospital, highest Medicare payment first. Costs 1 credit, charged only if the hospital exists.

### Parameters

| Name | Type | Description |
|---|---|---|
| `specialty` | string | Substring of the registry specialty or the Medicare specialty, for example `cardio`. |
| `limit` | number | 1 to 200. Default 25. |
| `offset` | number | Rows to skip, 0 to 100,000. Default 0. |

### Example

```sh
curl "$OPH_API/api/facilities/450358/clinicians?specialty=cardio&limit=1" \
  -H "Authorization: Bearer $OPH_KEY"
```

```json
{
  "ccn": "450358",
  "total": 184,
  "limit": 1,
  "offset": 0,
  "rows": [
    {
      "npi": "1234567890",
      "name": "JANE EXAMPLE",
      "credentials": "M.D.",
      "specialty": "Internal Medicine",
      "medicare_specialty": "Interventional Cardiology",
      "city": "HOUSTON",
      "state": "TX",
      "facility_type": "Hospital",
      "medicare_patients": 1278,
      "medicare_payment": "2320325"
    }
  ],
  "sql": "SELECT f.npi, coalesce(p.name, ...) AS name, ... FROM clinician_facilities f LEFT JOIN providers p ON p.npi = f.npi LEFT JOIN medicare_provider m ON m.npi = f.npi WHERE f.ccn = $1 AND (p.specialty ILIKE $2 OR m.provider_type ILIKE $2) ORDER BY m.tot_payment DESC NULLS LAST, f.npi LIMIT 1 OFFSET 0",
  "params": ["450358", "%cardio%"],
  "sources": ["clinician_facilities", "providers", "medicare_provider"],
  "ms": 500,
  "usage": { "credits": 1, "creditsUsed": 1674, "creditsLimit": 5000, "txid": "11196" }
}
```

`total` is the number of clinicians that match, before paging. `medicare_patients` and `medicare_payment` are the clinician's Medicare Part B totals for 2024 across every place they work, not their activity at this hospital.

The list is a floor, not a staff roster. See [Affiliations come from claims](#affiliations-come-from-claims).

A CCN with no hospital, Care Compare or affiliation record returns `404` with `No hospital or facility with that CCN.`

## List a hospital's quality measures

```http
GET /api/facilities/:ccn/measures
```

Returns every Care Compare measure CMS scored for one hospital. Costs 1 credit, charged only if the hospital exists.

### Parameters

| Name | Type | Description |
|---|---|---|
| `domain` | string | One of `mortality`, `safety`, `readmission`, `infection`, `timely_care`, `patient_experience` or `spending`. Omit for all. |

There is no paging. A hospital has at most 113 measures and all of them come back, ordered by domain and measure id.

### Example

```sh
curl "$OPH_API/api/facilities/450358/measures?domain=mortality" \
  -H "Authorization: Bearer $OPH_KEY"
```

```json
{
  "ccn": "450358",
  "rows": [
    {
      "measure_id": "MORT_30_HF",
      "measure_name": "Death rate for heart failure patients",
      "domain": "mortality",
      "score": 6,
      "compared_to_national": null,
      "denominator": 1264,
      "period_start": "2022-07-01T00:00:00.000Z",
      "period_end": "2025-06-30T00:00:00.000Z"
    }
  ],
  "sql": "SELECT measure_id, measure_name, domain, score, compared_to_national, denominator, period_start, period_end FROM hospital_measures WHERE ccn = $1 AND domain = $2 ORDER BY domain, measure_id LIMIT 300",
  "params": ["450358", "mortality"],
  "sources": ["hospital_measures"],
  "ms": 35,
  "usage": { "credits": 1, "creditsUsed": 1675, "creditsLimit": 5000, "txid": "11198" }
}
```

Things to know:

- Scores are not on one scale. Rates, percentages, minutes, ratios and star ratings share the `score` column. Do not compare or average scores across different `measure_id` values.
- A measure with no row was not scored for that hospital: too few cases, not reported or not applicable. Missing is not zero.
- `compared_to_national` is published only for some measures. CMS left it blank for the mortality measures in this release.
- Each measure has its own measurement period, in `period_start` and `period_end`.

## List a hospital's DRG volume

```http
GET /api/facilities/:ccn/drgs
```

Returns Medicare inpatient discharges and payments for one hospital by MS-DRG, most discharges first. Costs 1 credit, charged only if the hospital exists.

### Parameters

| Name | Type | Description |
|---|---|---|
| `limit` | number | 1 to 200. Default 25. |
| `offset` | number | Rows to skip, 0 to 100,000. Default 0. |

### Example

```sh
curl "$OPH_API/api/facilities/450358/drgs?limit=1" \
  -H "Authorization: Bearer $OPH_KEY"
```

```json
{
  "ccn": "450358",
  "total": 227,
  "total_discharges": 10386,
  "limit": 1,
  "offset": 0,
  "rows": [
    {
      "drg_code": "871",
      "drg_description": "SEPTICEMIA OR SEVERE SEPSIS WITHOUT MV >96 HOURS WITH MCC",
      "year": 2024,
      "discharges": 808,
      "avg_covered_charges": "156750",
      "avg_total_payment": "22289",
      "avg_medicare_payment": "16752",
      "total_medicare_payment": "13535350"
    }
  ],
  "sql": "SELECT drg_code, drg_description, year, discharges, ... FROM hospital_drgs WHERE ccn = $1 ORDER BY discharges DESC, drg_code LIMIT 1 OFFSET 0",
  "params": ["450358"],
  "sources": ["hospital_drgs"],
  "ms": 23,
  "usage": { "credits": 1, "creditsUsed": 1676, "creditsLimit": 5000, "txid": "11200" }
}
```

`total` is the number of DRGs published for the hospital and `total_discharges` is their sum. Both leave out every DRG with fewer than 11 discharges, so `total_discharges` is lower than the hospital's real Medicare discharge count. A hospital with no DRG data returns an empty `rows` and is still charged.

Payments are averages per discharge. `total_medicare_payment` is the average Medicare payment multiplied by discharges. Charges are list prices, far above what is paid.

## List a clinician's facilities

```http
GET /api/providers/:npi/facilities
```

Returns the hospitals and other facilities one clinician is affiliated with, hospitals first, each with beds, star rating, EHR vendor and health system. Costs 1 credit, charged only if the provider exists.

`:npi` must be 10 digits, otherwise the call returns `400` with `NPI must be 10 digits.` There are no query parameters. At most 200 rows come back.

### Example

```sh
curl "$OPH_API/api/providers/1234567890/facilities" -H "Authorization: Bearer $OPH_KEY"
```

```json
{
  "npi": 1234567890,
  "rows": [
    {
      "ccn": "450358",
      "facility_type": "Hospital",
      "parent_ccn": null,
      "name": "HOUSTON METHODIST HOSPITAL",
      "city": "HOUSTON",
      "state": "TX",
      "beds": 1000,
      "overall_rating": 5,
      "ehr_vendor": "Epic",
      "system_id": "HO9828",
      "system_name": "THE METHODIST HOSPITAL- CORPORATE DI"
    }
  ],
  "sql": "SELECT f.ccn, f.facility_type, f.parent_ccn, coalesce(h.name, fa.name) AS name, ... FROM clinician_facilities f LEFT JOIN hospitals h ON h.ccn = f.ccn LEFT JOIN facilities fa ON fa.facility_id = f.ccn ... WHERE f.npi = $1 ORDER BY (f.facility_type = 'Hospital') DESC, h.beds DESC NULLS LAST, f.ccn LIMIT 200",
  "params": [1234567890],
  "sources": ["clinician_facilities", "hospitals", "facilities", "hospital_quality", "hospital_ehr", "hospital_systems"],
  "ms": 32,
  "usage": { "credits": 1, "creditsUsed": 1679, "creditsLimit": 5000, "txid": "11206" }
}
```

Things to know:

- A provider in the registry with no published affiliation returns an empty `rows` and is charged. An empty list means none were published, not that the clinician works nowhere. An NPI that is not in the registry and has no affiliation returns `404`.
- Name, city, state and beds come from `hospitals` for hospital rows and from `facilities` for nursing homes, home health agencies, hospices and dialysis facilities (about one nursing home row in ten has no match and stays `null`). Rating, EHR and system exist for hospitals only. For the full record of a non-hospital row, pass its `ccn` to [`GET /api/care-sites/:id`](https://openpipe.health/docs/api/care-sites.md#get-a-care-site).
- The top-level `npi` is a JSON number here.

## Caveats

### Volumes are Medicare fee-for-service only

DRG discharges and payments, and the clinicians' `medicare_patients` and `medicare_payment`, come from traditional Medicare claims. Commercial insurance, Medicare Advantage, Medicaid and self-pay are not counted. Use the figures to rank and compare, not as totals.

DRG data is calendar year 2024. It covers about 2,900 hospitals paid under the inpatient prospective payment system. Critical access hospitals and Maryland hospitals are not included. CMS leaves out any hospital and DRG with fewer than 11 discharges.

### EHR data is a 2024 attestation

`ehr` and `ehr_products` are what each hospital attested to CMS for the Medicare Promoting Interoperability program, decoded by ONC against its certified product list and published in January 2026.

- The program year is 2024 for most hospitals and 2023 where 2024 is missing. A go-live since 2024 is not reflected.
- About 4,200 hospitals are covered, which is 85% of acute care hospitals. Psychiatric, rehabilitation, long-term, children's and federal hospitals are mostly absent. No row means unknown, not "no EHR".
- `vendor` is the developer of the core inpatient EHR product (`basis` is `core_product` on 97% of rows). About 50 hospitals attest core products from two developers (`multiple_core_products`) and about 50 have no recognisable core product (`most_products`). Treat both as uncertain.
- `vendor_changed` compares program years 2023 and 2024. It is `null` unless `basis` is `core_product` in both years. A hospital that attests under a new parent system's ID can show as changed.
- Only ONC-certified products are listed. Most revenue-cycle, ERP, imaging and analytics software never appears, so `ehr_products` is not a full technology stack.

### Quality data is the November 2026 Care Compare release

Each figure has its own measurement period. Most are 2024 or 2025. Readmission and mortality cover July 2024 to June 2025.

`null` means CMS published no value: too few cases, not reported, or not applicable to that hospital type. About 40% of hospitals have no overall star rating, mostly critical access, psychiatric and federal hospitals.

Care Compare includes about 170 Veterans Affairs and Department of Defense hospitals that are not in `hospitals`. They do not appear in `GET /api/hospital-intel`, and `GET /api/facilities/:ccn/intel` returns them with `hospital` set to `null`.

### Health systems are derived

CMS does not publish a list of health systems. A system here is the home office a hospital names on its Medicare cost report for fiscal year 2024.

- Hospitals that report no chain, or filed no 2024 cost report, have no system. No system means independent or unknown.
- Each hospital types the name itself, so `system_id` and `system_name` are resolved from the home office number and the name spellings. A few systems are split, for example a regional division that reports its own home office, and their hospital counts are low.
- The home office is the legal or operating parent as reported to Medicare. It can differ from the consumer brand.
- `system_id` is a CMS home office number where one was reported, otherwise `N:` followed by the cleaned name. It is stable only within one load of the data. Do not store it as a permanent key.
- Physician groups, clinics and other non-hospital sites of a system are not included.

### Affiliations come from claims

Clinician affiliations are from the CMS Doctors and Clinicians release of November 2026. CMS lists a facility for a clinician when the clinician billed Medicare for services to patients there in recent months.

- It shows where a clinician practices. It is not employment, admitting privileges or a medical-staff roster.
- CMS publishes at most five hospitals per clinician, so the busiest multi-hospital clinicians are cut short.
- Clinicians who see no Medicare patients, and most residents, are absent.
