Drugs and formularies
Part D plan cost-share (CMS SPUF)
Rows
4,939,689
Columns
41
History
N/A
Card
nocolumns only
Typed tools
0
What it is
- 1Beneficiary cost-share fact from CMS SPUF — copay/coinsurance by coverage phase x tier x days_supply.
- 2The fact stores cost as cost_type_pref (CMS enum: 1=copay/dollar, 2=coinsurance/fraction) + cost_amt_pref plus min/max and preferred/non-preferred/mail-order variants (see FACT_PART_D_PLAN_COST_SHARE_SCHEMA). coverage_level int maps (per CMS SPUF Tech Notes) 0=pre_initial/deductible, 1=initial_coverage, 2=coverage_gap (donut hole), 3=catastrophic.
- 3Carries tier_specialty_yn, ded_applies_yn, and a methodology_era stamp.
Grain
| Key | Grain |
|---|---|
| N/A |
|
Columns (41)
| Column | Type | Meaning |
|---|---|---|
contract_id | string | |
plan_id | string | |
segment_id | string | |
coverage_level | int | |
tier | int | |
days_supply | int | |
report_quarter | string | |
cost_type_pref | int | |
cost_amt_pref | double | |
cost_min_amt_pref | double | |
cost_max_amt_pref | double | |
cost_type_nonpref | int | |
cost_amt_nonpref | double | |
cost_min_amt_nonpref | double | |
cost_max_amt_nonpref | double | |
cost_type_mail_pref | int | |
cost_amt_mail_pref | double | |
cost_min_amt_mail_pref | double | |
cost_max_amt_mail_pref | double | |
cost_type_mail_nonpref | int | |
cost_amt_mail_nonpref | double | |
cost_min_amt_mail_nonpref | double | |
cost_max_amt_mail_nonpref | double | |
tier_specialty_yn | boolean | |
ded_applies_yn | boolean | |
methodology_era | string | |
observed_period | date | |
asserted_at | date | |
effective_period_start | date | |
effective_period_end | date | |
cms_vintage_sequence | int | |
parse_revision | int | |
parser_artifact_hash | string | |
source_url | string | |
sha256_content_hash | string | |
source_id | string | |
is_current | boolean | |
bronze_object_key | string | |
s3_version_id | string | |
vintage_tag | string | |
drug_source_version_id | string |
Query it
describe_data_source(source_fqn="drug_silver.fact_part_d_plan_cost_share") # the card, live query_substrate(sql="SELECT * FROM drug_silver.fact_part_d_plan_cost_share WHERE <filter> LIMIT 100")
| Item | Value |
|---|---|
| Typed tools that read it | none; raw SQL |
| Identity key | contract_id,plan_id,segment_id |
| Join | how_to_join(source_fqn="drug_silver.fact_part_d_plan_cost_share") |
| Raw door | Tools: cost_share_lens, formulary_coverage_lookup; Athena: drug_silver.fact_part_d_plan_cost_share (filter is_current = true) |
| Note | SPUF cost-share fact; the cross-cut companion to formulary_coverage_lookup (single-(drug,plan)). Filter is_current = true. |
This page as markdown: /docs-md/data/drug_silver_fact_part_d_plan_cost_share.md · every page in one file: /llms-full.txt