2026 NPPES data Legal Medicine NPI 1881766293 M.D.
Verify on CMS →

Rafay Mehdi, M.D.

Legal Medicine in Hanover, Massachusetts.

This profile is drawn from the federal National Provider Identifier Registry (CMS NPPES), which lists more than 7 million U.S. healthcare providers - including 1,045 in Legal Medicine, and covers specialty classification, practice address, and Medicare Part D prescribing data when reported. According to CMS, every field reflects the provider's official federal registration, see our methodology.

Federal data, no proprietary rating. We show these CMS records as-is - no composite score, no star rating, no editorial opinion layered on top.
Prescribing volume
8K
Medicare Part D claims · 411 beneficiaries · Legal Medicine avg: 3K
Generic prescribing
90%
generic claims · 10% brand-name · higher generic rates reduce patient out-of-pocket costs
MIPS score
19.2/100
▼ 64 pts below national avg 83.5 · Below average
Industry payments
$757.86
33 payments · CMS Open Payments (Sunshine Act)

What the federal data shows

Rafay Mehdi, M.D. reported a CMS MIPS final score of 19.2/100 - below the 83.5 national average - and filed 7,562 Medicare Part D claims in 2024.

19.2/100
MIPS score · -64 vs avg
8K
Part D claims, 2024
90%
generic prescribing
$757.86
industry payments (Sunshine Act)

Every figure on this page comes straight from federal CMS records (NPPES, Medicare Part D, MIPS, Open Payments) - no proprietary rating or editorial opinion is applied.

Federal trust snapshot

What official records show about Rafay Mehdi, M.D.

Federal records show an active NPI with both Medicare prescribing volume and a measured CMS quality score — objective registry data, not patient reviews.

  • Verified

    NPI registry status

    Active listing in the CMS National Provider Identifier Registry (NPI 1881766293), first enumerated 11/14/2006.

    Source: CMS NPPES

  • Reported

    Medicare Part D participation

    Filed 7,562 Medicare Part D prescription claims in the 2023 CMS public use file — indicates active Medicare prescribing participation.

    Source: CMS Part D Prescriber PUF

  • Reported

    CMS quality reporting (MIPS)

    Reported a CMS MIPS final score of 19.2/100 in the Quality Payment Program — a federal quality measure, not a patient review.

    Source: CMS Quality Payment Program

  • Reported

    Industry payment transparency

    $757.86 in reported industry payments (33 transfers) in 2024 under the federal Sunshine Act — disclosed transfers of value, not a quality rating.

    Source: CMS Open Payments

  • State context

    State board disciplinary context

    Massachusetts statewide board action statistics are published annually — these figures describe aggregate state activity, not Rafay Mehdi, M.D.'s individual license status. Verify directly with the state medical board.

    Source: BORIM annual report 2023

  • Not in federal data

    Individual sanction lookup

    PlainDoctor does not publish per-provider disciplinary determinations. Confirm current license and any individual actions through the state medical board or FSMB verification service.

    Source: State medical board / FSMB

This trust snapshot summarizes only what appears in federal CMS/NPPES public records. It is not a composite score, star rating, patient review, or clinical recommendation. PlainDoctor never fabricates reviews or AggregateRating schema.

CMS NPPES provider registry desk

NPI 1881766293 · Legal Medicine

NPI-10 · ENUM-LEGACY · TAX-NARROW · MIPS-LOW · RX-MID · BOOK-THIN · PHOTO-FINISH

  • NPI-10 1881766293
  • ENUM-LEGACY 2006
  • TAX-NARROW 1,045
  • MIPS-LOW 19.2/100
  • RX-MID 7,562
  • BOOK-THIN 13 in Massachusetts
  • PHOTO-FINISH Frank Parasmo, M.D. · ±1.9

MIPS final-score neighbourhood

Same-specialty nationwide peers by CMS final score, not geographic proximity

MIPS pts

What this shows Nearest measured MIPS peers for this NUCC specialty (2023 performance year).

Source CMS Quality Payment Program (MIPS) As of 2023

Rafay Mehdi, M.D.'s MIPS score vs every measured U.S. clinician

CMS Merit-based Incentive Payment System (MIPS) final score, 2023, the federal quality measure. Clinicians whose score CMS assigned without scoring any category are excluded.

19 ≥ 3rd percentile 3% of 454,083 measured providers are in lower value bands

0–10: 8,684 measured providers (2%). Below this entry. 10–20: 3,008 measured providers (1%). This entry sits in this band. 20–30: 3,069 measured providers (1%). Above this entry. 30–40: 2,746 measured providers (1%). Above this entry. 40–50: 2,928 measured providers (1%). Above this entry. 50–60: 5,882 measured providers (1%). Above this entry. 60–70: 13,906 measured providers (3%). Above this entry. 70–80: 94,570 measured providers (21%). Above this entry. 80–90: 129,887 measured providers (29%). Above this entry. 90+: 189,403 measured providers (42%). Above this entry. This provider 0 100 every measured MIPS clinician, bucketed by value

Each bar is a band; taller bars hold more measured providers. The dashed line + filled bar mark this entry. Hover or tap any bar for its full count, share, and where it sits relative to this entry.

The percentile is a conservative whole-score-point band: it counts only measured clinicians in lower score bands. A CMS MIPS metric is not a recommendation or a clinical-quality rating by PlainDoctor. See methodology § corpus placement.

Source CMS Merit-based Incentive Payment System (MIPS) · 2023

Where Rafay Mehdi, M.D. sits

This provider among legal medicine peers

Across the 77 legal medicine providers who report both Medicare Part D prescribing and a MIPS quality score, Rafay Mehdi, M.D. writes more Part D claims than 86% of them and scores higher on MIPS quality than 12% - placing this provider in the high-volume, lower-quality quadrant. Volume reflects patient-panel size and specialty, not quality; the two axes are independent.

Lower volume · High qualityHigh volume · High qualityLower volume · Lower qualityHigh volume · Lower quality0255075100024.148.372.496.6Part D claim volume, percentile in specialtyMIPS quality, percentilePoint, Part D claim volume, percentile in specialty: 52 · MIPS quality, percentile: 35Point, Part D claim volume, percentile in specialty: 67 · MIPS quality, percentile: 10Point, Part D claim volume, percentile in specialty: 57 · MIPS quality, percentile: 85Point, Part D claim volume, percentile in specialty: 37 · MIPS quality, percentile: 85Point, Part D claim volume, percentile in specialty: 95 · MIPS quality, percentile: 15Point, Part D claim volume, percentile in specialty: 100 · MIPS quality, percentile: 92Point, Part D claim volume, percentile in specialty: 5 · MIPS quality, percentile: 27Point, Part D claim volume, percentile in specialty: 75 · MIPS quality, percentile: 47Point, Part D claim volume, percentile in specialty: 77 · MIPS quality, percentile: 57Point, Part D claim volume, percentile in specialty: 42 · MIPS quality, percentile: 8Point, Part D claim volume, percentile in specialty: 48 · MIPS quality, percentile: 88Point, Part D claim volume, percentile in specialty: 2 · MIPS quality, percentile: 0Point, Part D claim volume, percentile in specialty: 8 · MIPS quality, percentile: 32Point, Part D claim volume, percentile in specialty: 45 · MIPS quality, percentile: 73Point, Part D claim volume, percentile in specialty: 43 · MIPS quality, percentile: 55Point, Part D claim volume, percentile in specialty: 28 · MIPS quality, percentile: 52Point, Part D claim volume, percentile in specialty: 10 · MIPS quality, percentile: 68Point, Part D claim volume, percentile in specialty: 0 · MIPS quality, percentile: 18Point, Part D claim volume, percentile in specialty: 25 · MIPS quality, percentile: 80Point, Part D claim volume, percentile in specialty: 32 · MIPS quality, percentile: 33Point, Part D claim volume, percentile in specialty: 55 · MIPS quality, percentile: 88Point, Part D claim volume, percentile in specialty: 53 · MIPS quality, percentile: 35Point, Part D claim volume, percentile in specialty: 68 · MIPS quality, percentile: 17Point, Part D claim volume, percentile in specialty: 13 · MIPS quality, percentile: 28Point, Part D claim volume, percentile in specialty: 97 · MIPS quality, percentile: 58Point, Part D claim volume, percentile in specialty: 80 · MIPS quality, percentile: 63Point, Part D claim volume, percentile in specialty: 85 · MIPS quality, percentile: 77Point, Part D claim volume, percentile in specialty: 88 · MIPS quality, percentile: 42Point, Part D claim volume, percentile in specialty: 60 · MIPS quality, percentile: 35Point, Part D claim volume, percentile in specialty: 12 · MIPS quality, percentile: 45Point, Part D claim volume, percentile in specialty: 23 · MIPS quality, percentile: 70Point, Part D claim volume, percentile in specialty: 62 · MIPS quality, percentile: 92Point, Part D claim volume, percentile in specialty: 92 · MIPS quality, percentile: 83Point, Part D claim volume, percentile in specialty: 70 · MIPS quality, percentile: 35Point, Part D claim volume, percentile in specialty: 98 · MIPS quality, percentile: 92Point, Part D claim volume, percentile in specialty: 30 · MIPS quality, percentile: 92Point, Part D claim volume, percentile in specialty: 35 · MIPS quality, percentile: 62Point, Part D claim volume, percentile in specialty: 65 · MIPS quality, percentile: 82Point, Part D claim volume, percentile in specialty: 93 · MIPS quality, percentile: 72Point, Part D claim volume, percentile in specialty: 18 · MIPS quality, percentile: 65Point, Part D claim volume, percentile in specialty: 72 · MIPS quality, percentile: 53Point, Part D claim volume, percentile in specialty: 50 · MIPS quality, percentile: 20Point, Part D claim volume, percentile in specialty: 20 · MIPS quality, percentile: 75Point, Part D claim volume, percentile in specialty: 22 · MIPS quality, percentile: 28Point, Part D claim volume, percentile in specialty: 58 · MIPS quality, percentile: 22Point, Part D claim volume, percentile in specialty: 82 · MIPS quality, percentile: 50Point, Part D claim volume, percentile in specialty: 90 · MIPS quality, percentile: 48Point, Part D claim volume, percentile in specialty: 73 · MIPS quality, percentile: 67Point, Part D claim volume, percentile in specialty: 33 · MIPS quality, percentile: 0Point, Part D claim volume, percentile in specialty: 63 · MIPS quality, percentile: 43Point, Part D claim volume, percentile in specialty: 83 · MIPS quality, percentile: 78Point, Part D claim volume, percentile in specialty: 17 · MIPS quality, percentile: 92Point, Part D claim volume, percentile in specialty: 78 · MIPS quality, percentile: 7Point, Part D claim volume, percentile in specialty: 15 · MIPS quality, percentile: 5Point, Part D claim volume, percentile in specialty: 38 · MIPS quality, percentile: 0Point, Part D claim volume, percentile in specialty: 7 · MIPS quality, percentile: 13Point, Part D claim volume, percentile in specialty: 40 · MIPS quality, percentile: 60Point, Part D claim volume, percentile in specialty: 3 · MIPS quality, percentile: 92Point, Part D claim volume, percentile in specialty: 47 · MIPS quality, percentile: 23Point, Part D claim volume, percentile in specialty: 27 · MIPS quality, percentile: 25Rafay Mehdi, M.D., Part D claim volume, percentile in specialty: 86 · MIPS quality, percentile: 12
Part D claim volume vs MIPS quality, by specialty percentile

Each dot is one legal medicine peer from a representative sample of 60; the gold marker is Rafay Mehdi, M.D.. Source: CMS Medicare Part D Prescriber data and the CMS Merit-based Incentive Payment System, 2023.

What does the federal data show about Rafay Mehdi, M.D.?

Below national average

NPI registry status

Active

Issued 11/14/2006

NPI 1881766293

Primary specialty

Legal Medicine

Niche

1,045 US NPIs in this specialty

Medicare Part D claims

7,562 168% vs specialty avg

2024 prescription claims

Specialty avg: 2,818

MIPS final score

19.2/100 64.3 pts vs avg

Below average band

vs 83.5 national avg

Specialty distribution in Massachusetts

How Legal Medicine compares to other specialties among Massachusetts providers

Massachusetts providers
Mental Health Counselor8.3%Clinical Social Worker7.7%Student in an Organized Heal…6.2%Behavior Technician5.3%Counselor4.3%Internal Medicine Physician3.6%Legal Medicine0%
Largest specialties in Massachusetts (% of in-state providers)

Medicare quality performance, MIPS

Rafay Mehdi, M.D.'s 2023 MIPS final score plotted against the Legal Medicine national average

Below national average
MIPS Final Score
19.2/100
vs 83.5 national avg · 2023 performance year
0%100%National avg84%19.2%
MIPS final score (Legal Medicine) - 19.2/100 vs national avg 83.5
How MIPS and board certification work

The Merit-based Incentive Payment System (MIPS) scores providers 0–100 across four performance categories: Quality, Cost, Promoting Interoperability, and Improvement Activities, weighted under 42 CFR §414.1380. Reporting is voluntary for many small practices, so absence of a MIPS score is not a quality signal.

Board certification through an ABMS or AOA member board signals voluntary post-licensure examination plus continuous Maintenance of Certification cycles. Verify any individual provider's status through certificationmatters.org (ABMS) or osteopathic.org (AOA).

Practice Address

20 EAST ST
Hanover, MA 02339

Provider Details

NPI 1881766293
Specialty Legal Medicine
Credentials M.D.
Gender Male
NPI Issued 11/14/2006

CMS Quality Score (MIPS)

Merit-based Incentive Payment System (MIPS) scores from CMS, 2023 performance year.

19.1758
Final Score
Measured-score avg: 83.5
0
Quality
63.9194
Cost

Reporting: Individual

Industry payments received (2024) - CMS Open Payments transparency data

The federal Physician Payments Sunshine Act (part of the Affordable Care Act) requires drug and medical-device manufacturers + group purchasing organizations to publicly report payments and other transfers of value to physicians and teaching hospitals. The data below covers 2024 for Rafay Mehdi, M.D.. Source: openpaymentsdata.cms.gov.

Total received

$758

Largest payer

AstraZeneca Pharmaceuticals LP

Most common payment type

Food and Beverage

Industry payments are not necessarily indicators of bias, they include research funding, consulting fees for evidence-based work, royalties for inventions, food at conferences, and similar items. The disclosure exists for transparency. Read our methodology for how we interpret this data.

License & disciplinary context - Massachusetts BORIM 2023 annual report

Aggregate state board data only, NOT a determination of any individual provider's status. The figures below describe statewide disciplinary activity across all ~38K Massachusetts medical licensees in 2023 - they are NOT specific to Rafay Mehdi, M.D.. To verify Rafay Mehdi, M.D.'s current license status, search the BORIM public license lookup directly, or check the Federation of State Medical Boards (FSMB) verification service.

80
Total board actions, Massachusetts 2023
Across 78 cases
2.11
Actions per 1,000 licensees
Massachusetts statewide rate
probation
Most common action type
29 cases

BORIM publishes annual disciplinary statistics as part of public-record reporting under each state's Administrative Procedure Act. See the full breakdown by action type and year on the Massachusetts disciplinary trends page. Cross-checked against FSMB U.S. Medical Regulatory Trends.

Brand vs generic prescribing mix · Typical

Rafay Mehdi, M.D. - brand share 10.0%
Legal Medicine average

10% brand-name claims vs 90% generic, on 7,562 2024 Medicare Part D claims.

The federal Medicare Part D Generic Dispensing Rate national benchmark sits near 90% generic / 10% brand for primary-care prescribers, per CMS Office of the Actuary 2024 estimates. Higher brand share is common in specialty prescribing where generic equivalents are not available.

Medicare Part D Prescribing Data

CMS Medicare Part D prescriber-level data for calendar year 2024.

7,562
Total Claims
$519K
Total Drug Cost
411
Medicare Beneficiaries

Prescribing Breakdown

30-Day Fills
12,926.6
Total Day Supply
360,018
Brand vs Generic
10% brand / 90% generic
Brand Drug Cost
$429K
Generic Drug Cost
$89K
Opioid Claims
252 (3.3% rate)
Antibiotic Claims
505

Patient Demographics

Average Patient Age
71.6 years
Avg HCC Risk Score
0.98
Gender Split
52% female / 48% male
Age Distribution
<65: 45, 65-74: 233, 75-84: 106, 85+: 27

Top Prescribed Drugs (Medicare Part D)

Top drugs by claim count for calendar year 2024. Based on Medicare Part D data only.

What Rafay Mehdi, M.D. prescribes most

Top Medicare Part D drugs by claim count, 2024

claims
Source CMS Medicare Part D Prescriber Public Use File As of 2024
Drug Claims
Atorvastatin Calcium
362
Levothyroxine Sodium
330
Losartan Potassium
284
Amlodipine Besylate
256
Lorazepam
247
Lisinopril
221
Metoprolol Succinate
187
Omeprazole
168
Prednisone
159
Sertraline Hcl
153

* Counts below 11 are suppressed by CMS for patient privacy. Generic names shown where available from CMS Part D data.

Legal Medicine Overview

How Rafay Mehdi, M.D. fits within the Legal Medicine landscape nationally.

1,045
Legal Medicine Providers in US
50
States with Legal Medicine
2,818
Avg Claims per Provider

Rafay Mehdi, M.D.'s 7,562 claims are above the specialty average of 2,818.

Nationwide Legal Medicine peers with similar MIPS or enrollment year

Two federal-record peer sets for Mehdi, both outside Massachusetts so the neighborhoods are not geographic containment.

Similar MIPS final score

Nearest same-specialty clinicians by CMS MIPS final score (19.2 here).

Same NPPES enumeration year (2006)

Same-specialty clinicians who entered the NPI registry in the same calendar year, outside this state.

Nearby Legal Medicine Providers in Massachusetts

Other clinicians with the same primary specialty enrolled in Massachusetts, drawn from the same CMS NPPES roster as Mehdi.

One of 13 Legal Medicine providers enrolled in Massachusetts, 5 are shown here.

Compare Legal Medicine nationally: see state-by-state distribution →

Frequently Asked Questions

What is Rafay Mehdi, M.D.'s specialty?
Rafay Mehdi, M.D. specializes in Legal Medicine and practices in Hanover, Massachusetts. Credentials: M.D..
How much does Rafay Mehdi, M.D. prescribe under Medicare Part D?
In 2024, Rafay Mehdi, M.D. wrote 7,562 Medicare Part D claims totaling $519K in drug costs for 411 beneficiaries.
What is Rafay Mehdi, M.D.'s Medicare quality score?
Rafay Mehdi, M.D. has a CMS MIPS Final Score of 19.2/100 (Quality: 0, Cost: 63.9). The average MIPS Final Score across the 454,083 clinicians with at least one published category score is 83.5; clinicians whose score CMS assigned without scoring any category are excluded from that average. Source: CMS Merit-based Incentive Payment System (MIPS) 2023.
Where is Rafay Mehdi, M.D. located?
Rafay Mehdi, M.D. is located at 20 EAST ST, Hanover, MA, 02339. Phone: (781) 826-3146.
What is Rafay Mehdi, M.D.'s NPI number?
Rafay Mehdi, M.D.'s National Provider Identifier (NPI) is 1881766293, issued on 11/14/2006.
Does Rafay Mehdi, M.D. prescribe more brand-name or generic drugs?
Rafay Mehdi, M.D.'s prescribing is 10% brand-name and 90% generic drugs by claim count, with $429K in brand drug costs.
Does Rafay Mehdi, M.D. prescribe opioids?
Yes, Rafay Mehdi, M.D. had 252 opioid claims in 2024 with an opioid prescribing rate of 3.3%.
How many Legal Medicine providers are there in the US?
There are 1,045 Legal Medicine providers across 50 states in the US. The average Legal Medicine provider writes 2,818 Medicare Part D claims per year.
What drugs does Rafay Mehdi, M.D. prescribe most often?
Based on 2024 Medicare Part D data, Rafay Mehdi, M.D.'s most frequently prescribed drugs include Atorvastatin Calcium, Levothyroxine Sodium, Losartan Potassium. This reflects Medicare Part D prescriptions only and does not include commercial insurance or other payer types.
Does Rafay Mehdi, M.D. accept Medicare?
Rafay Mehdi, M.D. appears in CMS Medicare data with 7,562 Part D claims and 411 Medicare beneficiaries in 2024. Contact the provider's office directly to confirm current Medicare enrollment and accepted plans.
How can I verify Rafay Mehdi, M.D.'s credentials?
Rafay Mehdi, M.D.'s NPI is 1881766293 with credentials M.D.. You can verify this through the NPPES NPI Registry, check state medical board records, and confirm board certification through the ABMS or AOA.

Data Sources

View source datasets and methodology notes
Provider Directory
CMS National Plan and Provider Enumeration System (NPPES), download.cms.gov/nppes, updated monthly. Contains NPI, specialty, credentials, and practice location.
Specialty Classification
NUCC Health Care Provider Taxonomy (nucc.org), the industry standard for classifying provider specialties in Medicare and Medicaid billing.
Prescribing Data
CMS Medicare Part D Prescriber Public Use File (2024). Includes claims, drug costs, beneficiaries, and opioid prescribing rates.
Quality Performance
CMS Merit-based Incentive Payment System (MIPS) - 2023 performance year.
Limitations
Provider data is self-reported to CMS. Prescribing data reflects Medicare Part D only and does not include commercial insurance, Medicaid, or cash prescriptions. Claims below 11 beneficiaries are suppressed by CMS for privacy.

See our complete data methodology for details on how we collect and process government data.

Data as of August 2026 (NPPES) / 2024 (Medicare Part D). Source: Centers for Medicare & Medicaid Services (CMS).

Disclaimer: Data from CMS NPPES and Medicare Part D. PlainDoctor does not rate or rank providers. Provider information is self-reported and may not be current. Always verify information directly with the provider. About · Methodology

Every figure on PlainDoctor is rendered directly from the federal CMS NPPES registry, Medicare Part D, MIPS, and Open Payments records, no number is typed in by an editor. See our editorial standards & corrections policy, the methodology behind these numbers, or report a data error. Data current as of August 2026.