Drugs and formularies

Part D plan service area (CMS SPUF)

drug_silver.fact_part_d_plan_service_area·live·silver·Part D Plans & Formularies
Rows
2,387,499
Columns
21
History
N/A
Card
nocolumns only
Typed tools
0

What it is

  1. 1Plan x geography fact from CMS SPUF — which counties each Part D plan serves.
  2. 2Split out of dim_part_d_plan on 2026-05-17 (Gate A.5) because a plan serves many counties and the source row is plan x service-area, not plan alone.
  3. 3Columns: contract_id, plan_id, segment_id, state, county_code (FIPS), report_quarter, plus is_current.
  4. 4The geographic-filter axis for plan_landscape.

Grain

KeyGrain
N/A
  1. 1One row per (contract_id, plan_id, segment_id, state, county_code, report_quarter).

Columns (21)

ColumnTypeMeaning
contract_idstring
plan_idstring
segment_idstring
statestring
county_codestring
report_quarterstring
observed_perioddate
asserted_atdate
effective_period_startdate
effective_period_enddate
cms_vintage_sequenceint
parse_revisionint
parser_artifact_hashstring
source_urlstring
sha256_content_hashstring
source_idstring
is_currentboolean
bronze_object_keystring
s3_version_idstring
vintage_tagstring
drug_source_version_idstring

Query it

describe_data_source(source_fqn="drug_silver.fact_part_d_plan_service_area")     # the card, live
query_substrate(sql="SELECT * FROM drug_silver.fact_part_d_plan_service_area WHERE <filter> LIMIT 100")
ItemValue
Typed tools that read itnone; raw SQL
Identity keycontract_id,plan_id,segment_id
Joinhow_to_join(source_fqn="drug_silver.fact_part_d_plan_service_area")
Raw doorTool: plan_landscape; Athena: drug_silver.fact_part_d_plan_service_area (filter is_current = true)
NoteSPUF service-area fact; PK widened from the dim per feedback_family_acceptance_standard (widen-where-structurally-needed). Filter is_current = true.

This page as markdown: /docs-md/data/drug_silver_fact_part_d_plan_service_area.md · every page in one file: /llms-full.txt