---
title: "How the data connects"
kind: "explain"
audiences: ["strategist","technical-partner","agent"]
track: "our-data"
date: "2026-10-25"
summary: "The keys that join the datasets: NPI for clinicians, group PAC for billing groups, ZIP and ZIP area for places and people, and the hospital licence and CMS certification number for hospitals. Where each join holds and where it breaks."
order: 2
html_url: /library/how-the-data-connects.html
markdown_url: /library/how-the-data-connects.md
---

Each dataset names things in its own way. A handful of shared keys join them, and every market figure depends on one of these joins. Knowing the key tells you what a figure can and cannot say.

## The keys

| Key | What it names | Joins | Watch for |
|---|---|---|---|
| NPI | One clinician | Enrollment, NPPES, Part B, Part D, your Directory | Self-reported registry details; see [Data gaps](/library/data-gaps#self-reported-and-stale-registry-data) |
| Group PAC ID | One Medicare billing group | Clinicians to the groups they bill under, at a door | A billing group, not an owner or employer |
| Enrollment address | One door | A clinician and a group to a place | Not a verified practice site |
| ZIP and ZIP area (ZCTA) | A place, and the people who live there | Doors to Census and CDC figures; home ZIPs to patient travel | A postal ZIP is close to its Census ZIP area, not exact |
| Hospital licence | One licensed California facility | The facility listing, utilization and patient origin | One licence can cover more than one campus |
| CMS certification number (CCN) | One Medicare-certified hospital | A licence to CMS hospital data, through the state's crosswalk, never by name or address | Tells acute care from long-term care and rehabilitation |

## From a clinician to a market

A market is a set of ZIPs and a set of specialties. The joins run in this order:

1. **Clinician to door.** Each clinician's NPI carries one or more enrollment addresses. A door in the market's ZIPs puts the clinician in the market.
2. **Door to group.** At each door, the clinician bills under a group PAC ID, or on their own NPI with no group.
3. **Clinician to billing.** The NPI joins Part B and Part D. These are national totals, so they follow the clinician to every door.
4. **Door to people.** The door's ZIP joins the Census and CDC figures for its ZIP area.

A clinician with doors in two regions counts in both regions. The market total counts each clinician once.

## From a hospital to its patients

1. **Licence to hospital.** The facility listing gives each licence its category. A general acute care licence is a hospital.
2. **Licence to size.** The same licence joins the utilization report: licensed beds and its volumes.
3. **Licence to patients.** Patient origin joins each facility to the home ZIPs of its patients, for each care setting and year.
4. **Home ZIP to market.** A home ZIP inside the market's ZIPs makes an encounter local. From these come retention and outflow.

## Clinicians and hospitals

No public key ties a clinician to a hospital. A clinician's door can sit at a hospital's address, but that does not show privileges or employment. Treat a clinician at a hospital address as a lead to check, and say "has an enrollment address at", never "works for".

## Your records on the same keys

A record in your Directory can hold an NPI and other public identifiers. When it does, your record and the public data meet on the same key: your notes and links sit beside the clinician's doors, groups and billing. A record with no identifier stays your own, and joins nothing public.

## When a join breaks

- A **missing NPI** on your record means it cannot join billing or enrollment.
- A **unit variant** of one address adds a door.
- A **ZIP with no ZIP area**, such as a post office box ZIP, has no Census figures.
- A **place outside California** has no licensed beds, state hospital volumes or patient-travel layers, and no Census or health figures today. Its Medicare-certified hospitals and surgery centers still show on the Facilities layer, and its hospitals on the Hospitals tab.

[Data gaps](/library/data-gaps) covers each of these, with what to say instead.
