> For the complete documentation index, see [llms.txt](https://docs.dataplex-consulting.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dataplex-consulting.com/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog/medicare-part-d-opioid-prescribing-rates-by-geography.md).

# Medicare Part D Opioid Prescribing Rates - by Geography

Part of the [CMS Data Feeds Dataset](/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog.md) › Medicare

Dataplex delivers this CMS feed as the analysis-ready table `DWV.MEDICARE_PART_D_OPIOID_PRESCRIBING_RATES__BY_GEOGRAPHY` on Snowflake and Databricks — five 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_D_OPIOID_PRESCRIBING_RATES__BY_GEOGRAPHY`     |
| **Databricks**     | `cms_dwv.medicare_part_d_opioid_prescribing_rates__by_geography` |
| **Coverage**       | Jan 2021 – Dec 2024 (4 of 4 annual reporting periods)            |
| **Rows**           | 1,584,088 (total across all reporting periods)                   |
| **Cadence**        | Annual                                                           |
| **Update pattern** | Time-partitioned — each file adds one reporting year             |
| **CMS published**  | 2026-06-11                                                       |
| **Loaded**         | 2026-06-11                                                       |
| **Columns**        | 18 data + 6 lineage                                              |
| **File versions**  | 5                                                                |
| **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](https://app.snowflake.com/marketplace/listing/GZT1Z125KDH/dataplex-consulting-data-products-cms-data-feeds-dataset).

{% hint style="success" %}
**Current** — CMS last published this feed on 2026-06-11. Coverage is complete through the 2024 reporting year. Next CMS release expected \~Jun 2027.
{% endhint %}

{% hint style="info" %}
**Time-partitioned feed** — each file version covers one reporting year, so history is additive. Query the full table for all years; filter on `YEAR` for a single period. Do **not** filter to the latest file only — that would return just the 2024 reporting year.
{% endhint %}

## Sample queries

{% tabs %}
{% tab title="Snowflake" %}

```sql
-- Each file version covers one reporting period (2021, 2022, 2023, 2024) — history is additive
SELECT *
FROM DWV.MEDICARE_PART_D_OPIOID_PRESCRIBING_RATES__BY_GEOGRAPHY
LIMIT 100;
```

{% endtab %}

{% tab title="Databricks" %}

```sql
-- Each file version covers one reporting period (2021, 2022, 2023, 2024) — history is additive
SELECT *
FROM cms_dwv.medicare_part_d_opioid_prescribing_rates__by_geography
LIMIT 100;
```

{% endtab %}
{% endtabs %}

## About this feed

> The Medicare Part D Opioid Prescribing Rates by Geography dataset provides information on geographic comparisons of the number and percentage of Medicare Part D opioid prescriptions at the state, county, and ZIP code levels.
>
> — *Source: CMS feed metadata*

**Keywords:** National, States & Territories, Counties, ZIP Code, Rural-Urban, Medicare, Medicare Prescription Drug, Physicians & Practitioners, Drugs, Health Equity **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-11    | 2026-06-11 | ✓           |
| 2023-01-01 – 2023-12-31 | 2025-08-20    | 2025-10-18 |             |
| 2023-01-01 – 2023-12-31 | 2025-06-12    | 2025-06-12 |             |
| 2022-01-01 – 2022-12-31 | 2024-06-04    | 2024-06-07 |             |
| 2021-01-01 – 2021-12-31 | 2023-05-24    | 2023-08-29 |             |

## Data dictionary

<details>

<summary>📋 <strong>18 data columns + 6 lineage columns</strong></summary>

Column-level definitions are maintained by CMS in the official [Medicare Part D Opioid Prescribing Rates - by Geography data dictionary](https://data.cms.gov/resources/medicare-part-d-opioid-prescribing-rates-by-geography-data-dictionary).

**Data columns**

| Column                           | Type   |
| -------------------------------- | ------ |
| `YEAR`                           | NUMBER |
| `PRSCRBR_GEO_LVL`                | TEXT   |
| `PRSCRBR_GEO_CD`                 | NUMBER |
| `PRSCRBR_GEO_DESC`               | TEXT   |
| `RUCA_CD`                        | NUMBER |
| `BREAKOUT_TYPE`                  | TEXT   |
| `BREAKOUT`                       | TEXT   |
| `TOT_PRSCRBRS`                   | NUMBER |
| `TOT_OPIOID_PRSCRBRS`            | NUMBER |
| `TOT_OPIOID_CLMS`                | NUMBER |
| `TOT_CLMS`                       | NUMBER |
| `OPIOID_PRSCRBNG_RATE`           | NUMBER |
| `OPIOID_PRSCRBNG_RATE_5Y_CHG`    | NUMBER |
| `OPIOID_PRSCRBNG_RATE_1Y_CHG`    | NUMBER |
| `LA_TOT_OPIOID_CLMS`             | NUMBER |
| `LA_OPIOID_PRSCRBNG_RATE`        | NUMBER |
| `LA_OPIOID_PRSCRBNG_RATE_5Y_CHG` | NUMBER |
| `LA_OPIOID_PRSCRBNG_RATE_1Y_CHG` | 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         |

</details>

## 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:

```mermaid
erDiagram
    FEEDS ||--o{ FEEDS_FILES : "ID = FEED_ID"
    FEEDS ||--o{ MEDICARE_PART_D_OPIOID_PRESCRIBING_RATES__BY_GEOGRAPHY : "ID = FILE_FEED_ID"
    FEEDS_FILES ||--o{ MEDICARE_PART_D_OPIOID_PRESCRIBING_RATES__BY_GEOGRAPHY : "ID = FILE_ID"

    FEEDS {
        text ID PK
        text TITLE
        text VIEW_NAME
        text ACCURAL_PERIODICITY
    }
    FEEDS_FILES {
        text ID PK
        text FEED_ID FK
        date TEMPORAL_START
        date TEMPORAL_END
        date CMS_FEED_MODIFIED
        number IS_LATEST
    }
    MEDICARE_PART_D_OPIOID_PRESCRIBING_RATES__BY_GEOGRAPHY {
        text ROW_ID PK
        text FILE_ID FK
        text FILE_FEED_ID FK
        number YEAR
        text PRSCRBR_GEO_LVL
        number PRSCRBR_GEO_CD
        text PRSCRBR_GEO_DESC
        number remaining_14_data_columns
    }
```

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

```sql
SELECT d.YEAR, d.PRSCRBR_GEO_LVL, d.PRSCRBR_GEO_CD,
       ff.TEMPORAL_START, ff.TEMPORAL_END, ff.CMS_FEED_MODIFIED
FROM DWV.MEDICARE_PART_D_OPIOID_PRESCRIBING_RATES__BY_GEOGRAPHY d
JOIN DWV.FEEDS_FILES ff ON d.FILE_ID = ff.ID;
```

## Source & provenance

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

* [Official CMS data dictionary](https://data.cms.gov/resources/medicare-part-d-opioid-prescribing-rates-by-geography-data-dictionary)
* [Medicare Part D Opioid Prescribing Rates by Geography Methodology 0](https://data.cms.gov/resources/medicare-part-d-opioid-prescribing-rates-by-geography-methodology-0)

## Frequently asked questions

### How often is Medicare Part D Opioid Prescribing Rates - by Geography updated?

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

### What years does Medicare Part D Opioid Prescribing Rates - by Geography 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 D Opioid Prescribing Rates - by Geography?

1,584,088 rows across all five 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 D Opioid Prescribing Rates - by Geography data?

It's included in the CMS Data Feeds Dataset on the [Snowflake Marketplace](https://app.snowflake.com/marketplace/listing/GZT1Z125KDH/dataplex-consulting-data-products-cms-data-feeds-dataset) (free trial available) and via [Databricks Delta Sharing](https://checkout.dataplex-consulting.com/b/3cIdR2e1J59Sh2w7pWbQY00). Once mounted, query `DWV.MEDICARE_PART_D_OPIOID_PRESCRIBING_RATES__BY_GEOGRAPHY` directly — no pipeline setup required.

## Related feeds

{% content-ref url="/pages/S696BTb9VK7JkeRV2a52" %}
[Medicare Part D Prescribers - by Geography and Drug](/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog/medicare-part-d-prescribers-by-geography-and-drug.md)
{% endcontent-ref %}

{% content-ref url="/pages/uxn7MKni7n1pinf1CT6a" %}
[Medicare Monthly Enrollment](/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog/medicare-monthly-enrollment.md)
{% endcontent-ref %}

{% content-ref url="/pages/mLAzRSEXMTntOoMnqquk" %}
[Medicare Durable Medical Equipment, Devices & Supplies - by Geography and Service](/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog/medicare-durable-medical-equipment-devices-supplies-by-geography-and-service.md)
{% endcontent-ref %}

{% content-ref url="/pages/3Gpjb984k3o8xLswelN4" %}
[Medicare Part D Prescribers - by Provider](/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog/medicare-part-d-prescribers-by-provider.md)
{% endcontent-ref %}

{% content-ref url="/pages/5H1w0p0jmbbBcj2z19zh" %}
[Medicare Geographic Variation - by National, State & County](/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog/medicare-geographic-variation-by-national-state-county.md)
{% endcontent-ref %}

## Get this feed

1. [Start a free trial on Snowflake Marketplace](https://app.snowflake.com/marketplace/listing/GZT1Z125KDH/dataplex-consulting-data-products-cms-data-feeds-dataset) or purchase via [Databricks](https://checkout.dataplex-consulting.com/b/3cIdR2e1J59Sh2w7pWbQY00)
2. Mount the share — the database and `DWV` schema appear in your account immediately
3. Run the [sample query](#sample-queries) above — no ETL, no pipeline maintenance

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

***

Part of the [CMS Data Feeds Dataset](/data-catalog/cms-data-feeds-dataset.md) — 280+ feeds · 245B+ records · updated daily. [Back to the full catalog →](/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog.md#medicare-part-d-opioid-prescribing-rates-by-geography)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.dataplex-consulting.com/data-catalog/cms-data-feeds-dataset/cms-data-feeds-catalog/medicare-part-d-opioid-prescribing-rates-by-geography.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
