For the complete documentation index, see llms.txt. This page is also available as Markdown.

Medicare Part B Spending by Drug

The Medicare Part B by Drug dataset presents information on spending for drugs administered in doctors’ offices and other outpatient settings by physicians…

Part of the CMS Data Feeds Dataset › Medicare

Dataplex delivers this CMS feed as the analysis-ready table DWV.MEDICARE_PART_B_SPENDING_BY_DRUG on Snowflake and Databricks — four annual reporting periods (2021–2024) aligned to a single schema, refreshed automatically whenever CMS publishes a new file. Every row carries lineage back to the exact CMS source file that produced it.

Key facts

Snowflake

DWV.MEDICARE_PART_B_SPENDING_BY_DRUG

Databricks

cms_dwv.medicare_part_b_spending_by_drug

Coverage

Jan 2021 – Dec 2024 (4 of 4 annual reporting periods)

Rows

2,785 (total across all reporting periods)

Cadence

Annual

Update pattern

Time-partitioned — each file adds one reporting year

CMS published

2026-06-25

Loaded

2026-06-25

Columns

80 data + 6 lineage

Identifiers

HCPCS codes

File versions

4

License

CMS public data — U.S. Government work

Platforms

Snowflake Marketplace · Databricks Delta Sharing

Included in the CMS Data Feeds Dataset — start a free trial on Snowflake Marketplace.

Time-partitioned feed — each file version covers one reporting year, so history is additive. Query the full table for all years; filter on the reporting period columns for a single period. Do not filter to the latest file only — that would return just the 2024 reporting year.

Sample queries

About this feed

The Medicare Part B by Drug dataset presents information on spending for drugs administered in doctors’ offices and other outpatient settings by physicians and other healthcare providers to Medicare Part B enrollees.

The dataset focuses on average spending per dosage unit and change in average spending per dosage unit over time. It also includes consumer-friendly descriptions of the drug uses, clinical indications, and manufacturer(s).

Drug spending metrics for Part B drugs represent the full value of the product, including the Medicare payment and beneficiary liability. All Part B drug spending metrics are calculated at the HCPCS level.

Source: CMS feed metadata

Keywords: Medicare, Original Medicare, Drugs Theme: Medicare

Coverage timeline

2021 🟩 · 2022 🟩 · 2023 🟩 · 2024 🟩

4 of 4 annual reporting periods present — no gaps.

Release history

Reporting period
CMS published
Loaded
Latest file

2024-01-01 – 2024-12-31

2026-06-25

2026-06-25

2023-01-01 – 2023-12-31

2025-05-29

2025-05-29

2022-01-01 – 2022-12-31

2024-03-14

2024-03-14

2021-01-01 – 2021-12-31

2023-03-06

2023-08-29

Data dictionary

📋 80 data columns + 6 lineage columns

Column-level definitions are maintained by CMS in the official Medicare Part B Spending by Drug data dictionary.

Data columns

Column
Type

HCPCS_CD

TEXT

HCPCS_DESC

TEXT

BRND_NAME

TEXT

GNRC_NAME

TEXT

TOT_SPNDNG_2019

NUMBER

TOT_DSG_UNTS_2019

NUMBER

TOT_CLMS_2019

NUMBER

TOT_BENES_2019

NUMBER

AVG_SPNDNG_PER_DSG_UNT_2019

NUMBER

AVG_SPNDNG_PER_CLM_2019

NUMBER

AVG_SPNDNG_PER_BENE_2019

NUMBER

OUTLIER_FLAG_2019

NUMBER

TOT_SPNDNG_2020

NUMBER

TOT_DSG_UNTS_2020

NUMBER

TOT_CLMS_2020

NUMBER

TOT_BENES_2020

NUMBER

AVG_SPNDNG_PER_DSG_UNT_2020

NUMBER

AVG_SPNDNG_PER_CLM_2020

NUMBER

AVG_SPNDNG_PER_BENE_2020

NUMBER

OUTLIER_FLAG_2020

NUMBER

TOT_SPNDNG_2021

NUMBER

TOT_DSG_UNTS_2021

NUMBER

TOT_CLMS_2021

NUMBER

TOT_BENES_2021

NUMBER

AVG_SPNDNG_PER_DSG_UNT_2021

NUMBER

AVG_SPNDNG_PER_CLM_2021

NUMBER

AVG_SPNDNG_PER_BENE_2021

NUMBER

OUTLIER_FLAG_2021

NUMBER

TOT_SPNDNG_2022

NUMBER

TOT_DSG_UNTS_2022

NUMBER

TOT_CLMS_2022

NUMBER

TOT_BENES_2022

NUMBER

AVG_SPNDNG_PER_DSG_UNT_2022

NUMBER

AVG_SPNDNG_PER_CLM_2022

NUMBER

AVG_SPNDNG_PER_BENE_2022

NUMBER

OUTLIER_FLAG_2022

NUMBER

TOT_SPNDNG_2023

NUMBER

TOT_DSG_UNTS_2023

NUMBER

TOT_CLMS_2023

NUMBER

TOT_BENES_2023

NUMBER

AVG_SPNDNG_PER_DSG_UNT_2023

NUMBER

AVG_SPNDNG_PER_CLM_2023

NUMBER

AVG_SPNDNG_PER_BENE_2023

NUMBER

OUTLIER_FLAG_2023

NUMBER

AVG_DY23_ASP_PRICE

NUMBER

CHG_AVG_SPNDNG_PER_DSG_UNT_22_23

NUMBER

CAGR_AVG_SPND_PER_DSG_UNT_19_23

NUMBER

TOT_SPNDNG_2018

NUMBER

TOT_SPNDNG_2017

NUMBER

TOT_DSG_UNTS_2018

NUMBER

TOT_DSG_UNTS_2017

NUMBER

TOT_CLMS_2018

NUMBER

TOT_CLMS_2017

NUMBER

TOT_BENES_2018

NUMBER

TOT_BENES_2017

NUMBER

AVG_SPNDNG_PER_DSG_UNT_2018

NUMBER

AVG_SPNDNG_PER_DSG_UNT_2017

NUMBER

AVG_SPNDNG_PER_CLM_2018

NUMBER

AVG_SPNDNG_PER_CLM_2017

NUMBER

AVG_SPNDNG_PER_BENE_2018

NUMBER

AVG_SPNDNG_PER_BENE_2017

NUMBER

OUTLIER_FLAG_2018

NUMBER

OUTLIER_FLAG_2017

NUMBER

AVG_DY22_ASP_PRICE

NUMBER

AVG_DY21_ASP_PRICE

NUMBER

CHG_AVG_SPNDNG_PER_DSG_UNT_21_22

NUMBER

CHG_AVG_SPNDNG_PER_DSG_UNT_20_21

TEXT

CAGR_AVG_SPND_PER_DSG_UNT_18_22

NUMBER

CAGR_AVG_SPND_PER_DSG_UNT_17_21

NUMBER

TOT_SPNDNG_2024

NUMBER

TOT_DSG_UNTS_2024

NUMBER

TOT_CLMS_2024

NUMBER

TOT_BENES_2024

NUMBER

AVG_SPNDNG_PER_DSG_UNT_2024

NUMBER

AVG_SPNDNG_PER_CLM_2024

NUMBER

AVG_SPNDNG_PER_BENE_2024

NUMBER

OUTLIER_FLAG_2024

NUMBER

AVG_DY24_ASP_PRICE

NUMBER

CHG_AVG_SPNDNG_PER_DSG_UNT_23_24

TEXT

CAGR_AVG_SPND_PER_DSG_UNT_20_24

NUMBER

Lineage columns (present on every feed table)

Column
Type
Description

ROW_ID

TEXT

Unique row ID for this table (PK)

FILE_ID

TEXT

Source file — joins to FEEDS_FILES.ID (FK)

FILE_FEED_ID

TEXT

Parent feed — joins to FEEDS.ID (FK)

FILE_NAME

TEXT

Source file name as published by CMS

ROWNUM

NUMBER

Row number within the source file

CREATED_AT

TIMESTAMP_NTZ

Timestamp when the record was loaded

Row-level lineage

Every row in this table traces to the exact CMS source file that produced it. The FILE_ID column joins to the FEEDS_FILES catalog table, and FILE_FEED_ID joins to the FEEDS master table:

Trace any row back to its source file and reporting period:

Source & provenance

Published by the Centers for Medicare & Medicaid Services (bureau 009:38).

Frequently asked questions

How often is Medicare Part B Spending by Drug updated?

Annually. CMS last published this feed on 2026-06-25, and Dataplex loaded it to the warehouse the same day. New releases are added automatically when CMS publishes them.

What years does Medicare Part B Spending by Drug cover?

2021 through 2024 — four annual reporting periods with no gaps. Each reporting year arrives as its own file version, and all years remain queryable side by side.

How many records are in Medicare Part B Spending by Drug?

2,785 rows across all four reporting periods. Because this feed is time-partitioned, the full table total is the meaningful count — no deduplication needed.

How do I get Medicare Part B Spending by Drug data?

It's included in the CMS Data Feeds Dataset on the Snowflake Marketplace (free trial available) and via Databricks Delta Sharing. Once mounted, query DWV.MEDICARE_PART_B_SPENDING_BY_DRUG directly — no pipeline setup required.

Opioid Treatment Program ProvidersMedicare Quarterly Part B Spending by DrugMedicare Part B Discarded Drug UnitsMedicare Post-Acute Care Utilization - Home Health Agency by Geography, Provider and ServiceMedicare COVID-19 Cases & Hospitalizations

Get this feed

  1. Mount the share — the database and DWV schema appear in your account immediately

  2. Run the sample query above — no ETL, no pipeline maintenance

Questions about this feed? Contact us at notifications@dataplex-consulting.com.


Part of the CMS Data Feeds Dataset — 280+ feeds · 245B+ records · updated daily. Back to the full catalog →

Last updated