Drugs and formularies

Part D plan dimension (CMS SPUF), plan type from CMS's organization type

drug_silver.vw_dim_part_d_plan_v3·live·semantic_view
Rows
166,440
Columns
33
History
N/A
Card
nocolumns only
Typed tools
0

What it is

  1. 1The SPUF Part D plan dim (every column of drug_silver.dim_part_d_plan) with plan_type from CMS's own organization type for the contract, read from CMS Monthly Enrollment by Contract/Plan (medicare_silver.enrollment_monthly_plan): 'MA-PD' (Local CCP, Regional CCP, PFFS, MSA), 'COST' (1876 Cost, HCPP - 1833 Cost), 'DEMO' (Demo: Medicare-Medicaid Plans), 'PACE' (National PACE), 'PDP'. cms_organization_type carries CMS's wording verbatim; plan_type_source says 'cms_contract_file' or, where CMS's contract file has no row for the contract, 'contract_prefix_fallback' (the record layout's H/R = MA, S = PDP rule); contract_id_prefix is the letter alone; plan_type_legacy keeps the stored value, which called every local MA-PD plan 'OTHER'.

Grain

KeyGrain
N/A
  1. 1One row per (contract_id, plan_id, segment_id, report_quarter) among is_current rows;
  2. 20 duplicate keys, 166,440 rows = drug_silver.dim_part_d_plan (Athena 622fdb61-469e-4096-90b8-2719a68c363b).

Columns (33)

ColumnTypeMeaning
contract_idstring
plan_idstring
segment_idstring
report_quarterstring
contract_namestring
plan_namestring
formulary_idstring
premiumdouble
deductibledouble
ma_region_codestring
pdp_region_codestring
snpstring
plan_suppressed_ynboolean
plan_typevarchar(5)
cms_organization_typestring
plan_type_sourcevarchar(24)
contract_id_prefixstring
plan_type_legacystring
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.vw_dim_part_d_plan_v3")     # the card, live
query_substrate(sql="SELECT * FROM drug_silver.vw_dim_part_d_plan_v3 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.vw_dim_part_d_plan_v3")
Raw doorTools: plan_landscape, formulary_coverage_lookup; Athena: drug_silver.vw_dim_part_d_plan_v3 (filter is_current = true)
NoteVersioned view (Data Tracker served-defect lane, 2026-09-30, defect PDPM-1 revision 3). Versioned, never overwritten; record docs/reference/source-audit/source-mastery/records/cms_monthly_pdp_formulary.json field_dictionary.defects PDPM-1.

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