Drugs and formularies

Part D excluded-drug coverage in the coverage gap (GAP_COV), CMS SPUF sidecar, 2019-Q1 to 2024-Q3

drug_silver.fact_drug_formulary_excluded_gap_coverage·live·silver
Rows
268,567
Columns
21
History
N/A
Card
nocolumns only
Typed tools
0

What it is

  1. 1Whether a plan covers each drug on its excluded-drug list (the supplemental coverage of drugs excluded from the basic Part D benefit) in the coverage gap: gap_cov true = Y, false = N, from the GAP_COV field of the quarterly SPUF excluded drugs file, which the original SPUF parser never read.
  2. 2A sidecar of drug_silver.fact_drug_formulary_excluded: join on (contract_id, plan_id, drug_identifier, drug_identifier_type, report_quarter) to the parent's is_current = true rows; every sidecar row joins exactly one parent row and every parent row in 2019-Q1..2024-Q3 has one.
  3. 3268,567 rows in 23 quarters: 189,204 covered, 79,363 not, 0 NULL;
  4. 419,537 NDC-keyed and 249,030 RxCUI-keyed rows (Athena d3768534).

Grain

KeyGrain
N/A
  1. 1One row per (report_quarter, contract_id, plan_id, drug_identifier, drug_identifier_type), the key of drug_silver.fact_drug_formulary_excluded.

Columns (21)

ColumnTypeMeaning
contract_idstring
plan_idstring
drug_identifierstring
drug_identifier_typestring
gap_covboolean
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_drug_formulary_excluded_gap_coverage")     # the card, live
query_substrate(sql="SELECT * FROM drug_silver.fact_drug_formulary_excluded_gap_coverage WHERE <filter> LIMIT 100")
ItemValue
Typed tools that read itnone; raw SQL
Identity keyreport_quarter,contract_id,plan_id,drug_identifier,drug_identifier_type
Joinhow_to_join(source_fqn="drug_silver.fact_drug_formulary_excluded_gap_coverage")
Raw doorAthena (read-only via query_substrate): drug_silver.fact_drug_formulary_excluded_gap_coverage JOIN drug_silver.fact_drug_formulary_excluded USING (contract_id, plan_id, drug_identifier, drug_identifier_type, report_quarter), parent is_current = true, pin report_quarter
NoteRegister source cms_part_d_spuf (w3, serve raw). RAW. Sidecar of drug_silver.fact_drug_formulary_excluded; the parent is unchanged. Loaded on the drug fleet 2026-10-06/07; registered 2026-10-07.

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