Skip to main content
Facilities are the root entity in the RCI knowledge graph. Each facility is identified by a CCN (CMS Certification Number) and optionally an NPI (National Provider Identifier). Registering a facility enables cached knowledge resolution, enrichment for agent queries, and facility-level analytics.

Why register facilities?

When you register a facility, RCI:
  1. Parses the CCN to determine the state, facility type, and payment system
  2. Resolves L1-L6 knowledge layers and caches them for fast lookups
  3. Links the MAC, GPCI locality, and CBSA data to the facility profile
  4. Enables agent enrichment — agent jobs submitted with the facility’s CCN automatically receive the full knowledge context

Register a facility

Request body

Response

List facilities

Returns a paginated list of all facilities registered under your tenant:

Get a facility by CCN

Returns the full facility profile with cached knowledge layers, MAC, GPCI, and CBSA data.

Update a facility

All fields are optional — only the fields you include will be updated. The same expanded set as POST is supported (cbsa, facility_type, pos_code, is_rural).

Delete a facility

The DELETE endpoint supports both soft and hard delete:
Response:
Hard delete is irreversible and removes any cached knowledge layers, MAC/GPCI links, and historical resolutions tied to that CCN. Use soft delete unless you have a compliance reason to purge.

Facility and knowledge resolution

You don’t need to register a facility to use knowledge resolution. The /v1/knowledge/resolve endpoint accepts any valid CCN:
The difference is that registered facilities get cached layers for faster responses and enrichment on agent jobs, while ad-hoc resolution computes layers on the fly.

CCN format

Learn how the 6-digit CCN encodes state, facility type, and sequence.

Knowledge resolution

See how L1-L6 layers build on a facility’s CCN.