Healthcare Medication Adherence Dataset

This dataset provides comprehensive records of patient medication adherence, including prescription fulfillments, refill patterns, and relevant clinical and demographic factors. It enables detailed analysis of adherence behavior, identification of barriers, and supports interventions to improve patient outcomes and reduce healthcare costs.

  • opened 7 times
  • last updated 20 Aug 2025
  • by GoMask
The brief that made it

Medication adherence analytics and intervention targeting

Sample rows

preview · 8 of 200 rows · all 20 columns
adherence_idstringmedication_frequencystringadherence_scorefloatnonadherence_reasonstringpatient_idstringprescription_idstringmedication_namestringmedication_dosagestringprescription_datedateprescribing_physicianstringpharmacy_namestringfill_datedaterefill_countintegerlast_refill_datedatedays_supplyintegerclinical_factorsstringpatient_ageintegerpatient_genderstringpatient_zip_codestringinsurance_typestring
ADR-00001once daily0.92blankPAT-1001RX-10001Lisinopril20mg2022-03-10Dr. William PriceCVS Chicago2022-03-11122023-03-0130hypertension, obesity67female60616Medicare Advantage
ADR-00002twice daily0.89blankPAT-1002RX-10002Metformin500mg2023-05-18Physician_3801Walgreens Atlanta2023-05-1972023-11-2290diabetes type 2, hypertension65male30318Medicare Supplement
ADR-00003once daily0.79forgetfulnessPAT-1003RX-10003Sertraline50mg2023-09-23Dr. Lisa ChenCVS Boston2023-09-240blank30depression, anxiety28female02138Private PPO
ADR-00004three times daily0.72side effectsPAT-1004RX-10004Amoxicillin500mg2023-11-07Dr. Hannah PatelChildren's Hospital Pharmacy2023-11-070blank10ear infection6male60616Medicaid
ADR-00005once daily0.97blankPAT-1005RX-10005Levothyroxine100mcg2021-07-01Physician_9104CVS Atlanta2021-07-02242023-11-0190hypothyroidism71female30318Medicare
ADR-00006as needed0.61forgetfulnessPAT-1006RX-10006Albuterol90mcg2023-08-15Dr. Mark EvansNeighborhood Pharmacy2023-08-1512023-09-0114asthma16female02138Student Health
ADR-00007once nightly0.87blankPAT-1007RX-10007Atorvastatin40mg2022-12-22Physician_2503Walgreens Dallas2022-12-2382023-09-1530hyperlipidemia, hypertension57male75204Private PPO
ADR-00008as neededblankblankPAT-1008RX-10008Ibuprofen200mg2023-10-03Dr. Rachel KimOnline Rx Direct2023-10-040blank7ankle sprain34female60616Marketplace Bronze

What the 200 rows show

from the 200-row sample

As needed (medication frequency) stands out: mean adherence_score is 0.64, against 0.84 for the rest.

  • 0.84median adherence_score
  • 4patient genders
  • 14insurance types
  • 34medication dosages
  • 60medication names
  • 2median refill_count
Mean adherence_score by medication_frequency195 rows
00.510.85once …103 ro…0.81twice…42 rows0.84once …27 rows0.64as ne…16 rows0.77three…6 rows0.62four …1 rows
adherence_score195 rows, in bands of 0.1
0459013204285440.40.71adherence_score →

Median 0.84, from 0.42 to 0.97.

nonadherence_reason81 rows with a value · 119 left blank
  1. forgetfulness30
  2. side effects28
  3. stopped after symptoms resolved10
  4. cost7
  5. needle anxiety4
  6. difficulty using inhaler1
  7. cost concerns1
20 columns by typefrom the column list below
  • string 13
  • integer 3
  • float 1
  • date 3

Columns

20 columns in three groups
blueprint · 20 columns
columntypedescriptionexample
Text 13 columns
adherence_idstringUnique identifier for each medication adherence recorduniqueADR-00001
patient_idstringUnique identifier for the patientPAT-1001
prescription_idstringUnique identifier for the prescriptionRX-10001
medication_namestringName of the prescribed medicationLisinopril
medication_dosagestringDosage information for the medication (e.g., 20mg)20mg
medication_frequencystringFrequency of medication intake (e.g., once daily)6 frequenciesonce daily
prescribing_physicianstringName or identifier of the prescribing physicianoptionalDr. William Price
pharmacy_namestringName of the pharmacy where prescription was filledoptionalCVS Chicago
clinical_factorsstringRelevant clinical factors affecting adherence (e.g., comorbidities, side effects)optionalhypertension, obesity
nonadherence_reasonstringReason for nonadherence, if applicable (e.g., cost, forgetfulness, side effects)7 reasons · optionalforgetfulness
patient_genderstringGender of the patientmale · female · other · unknown · optionalfemale
patient_zip_codestringPostal code of the patient's residenceoptional60616
insurance_typestringType of insurance coverage for the patientoptionalMedicare Advantage
Numbers 4 columns
refill_countintegerNumber of times the prescription has been refilled0 or more12
days_supplyintegerNumber of days the medication supply is intended to last1 or more30
adherence_scorefloatCalculated score indicating medication adherence (e.g., proportion of days covered, 0-1)0 to 1 · optional0.92
patient_ageintegerAge of the patient at the time of prescription0 or more · optional67
Dates and times 3 columns
prescription_datedateDate when the prescription was issued2022-03-10
fill_datedateDate when the prescription was first filled2022-03-11
last_refill_datedateDate of the most recent refilloptional2023-03-01

Use it for

  • median adheren…0.84195 rowsmean adherence score …0.85once…0.81twic…0.84once…0.64as n…

    A healthcare dashboard

    Adherence_score by medication_frequency and a breakdown of nonadherence_reason. Excel, Power BI or Tableau.

  • Why do the 16 as needed rows have a mean adherence_score of 0.64?

    A root-cause class exercise

    Hand out the rows and one question. The answer is in the data, not in the brief.

  • A software demo

    Believable adherences with patient_id, prescription_id and medication_name to fill a screen in front of a buyer.

Not quite right?

Make it yours.

Same 20 columns, your size and your rules. See 20 rows before you pay.

Preview 20 rows free

1,000 rows: $1.99 · 10,000: $12.99One-time. No subscription. All prices

This dataset200 rows20 columns
Yours1,000 rows20 columnspatient_zip_code: UK only

blueprint · healthcare-medication-adherence-dataset

Behind this dataset

Same schema. As many rows as you need.

These 200 rows came out of a blueprint — 20 columns with generation rules behind each one. Open it in Data Factory to retune a column, add your own, wire in foreign keys, and run it at the size you actually need.

Rules it was built with
  • Include prescription issue and refill dates
  • Flag missed refills
  • Link with diagnosis and outcomes
  • Aggregate by drug type
  • Integrate provider specialty
Rows
Open the blueprint in Data Factory

1 credit per row. Preview 20 rows free. Buy rows for the full run.

Exports
CSV, JSON, JSONL, Parquet, SQL, Excel, TSV, XML
Licence
yours to use, including commercially
API slug
healthcare-medication-adherence-dataset

What should your data show?

Preview 20 rows free
No signup. No card.