Healthcare Patient Medication Adherence

This dataset provides a comprehensive view of patient medication adherence, combining pharmacy pickup/refill records with self-reported adherence and intervention tracking. It enables healthcare providers and researchers to identify nonadherence patterns, evaluate intervention effectiveness, and improve patient outcomes through targeted strategies.

  • opened 7 times
  • last updated 21 Jul 2025
  • by GoMask
The brief that made it

Identifying patients at risk of medication nonadherence for targeted interventions

Sample rows

preview · 8 of 200 rows · all 21 columns
patient_idstringself_reported_adherencestringadherence_scorefloatintervention_flagbooleannonadherence_reasonstringmedication_idstringprescription_idstringprescriber_idstringpharmacy_idstringprescription_datedatepickup_datedateexpected_refill_datedateactual_refill_datedatedays_supplyintegerintervention_datedateintervention_typestringmedication_namestringmedication_dosagestringmedication_frequencystringpatient_ageintegerpatient_genderstring
P20987always0.97falseblankM412CRX1000001DR101PH32012023-11-042023-11-052023-12-052023-12-0430blankblankAtorvastatin20mgonce daily59female
P20334always0.92falseblankM287BRX1000002DR102PH32022024-01-152024-01-162024-02-152024-02-1330blankblankMetformin500mgtwice daily72male
P21456never0trueforgotM981FRX1000003DR103PH32032023-07-21blankblankblankblank2023-07-31smsSertraline50mgonce daily27female
P21890always1falseblankM186GRX1000004DR104PH32042023-09-102023-09-102023-09-242023-09-2314blankblankAmoxicillin250mgthree times daily6male
P20222never0truecould not affordM401DRX1000005DR105blank2022-04-17blankblankblankblank2022-04-22phone_callLisinopril10mgonce daily45male
P21113always0.88falseblankM789NRX1000006DR106PH32052023-10-032023-10-032023-11-032023-11-0531blankblankLevothyroxine75mcgonce daily66female
P20654always0.96falseblankM333TRX1000007blankblank2024-03-082024-03-092024-04-082024-04-0730blankblankAmlodipine5mgonce daily61male
P21345sometimes0.77falseforgotM444ARX1000008DR107PH32062022-12-192022-12-192023-01-182023-01-1930blankblankHydrochlorothiazide25mgonce daily83female

What the 200 rows show

from the 200-row sample

Never (self reported adherence) stands out: mean adherence_score is 0.0, against 0.87 for the rest.

  • 30%intervention_flag = true
  • 0.88median adherence_score
  • 4patient genders
  • 5intervention types
  • 6medication frequencies
  • 35medication dosages
Mean adherence_score by self_reported_adherence200 rows
00.510.93always113 rows0.73sometimes27 rows0.32rarely5 rows0.0never55 rows
adherence_score200 rows, in bands of 0.1
0459055210118163185intervention_flag below 0.600.61adherence_score →

Every row with adherence_score under 0.6 has intervention_flag = true. None above it.

nonadherence_reason87 rows with a value · 113 left blank
  1. forgot21
  2. no symptoms11
  3. could not afford10
  4. travel10
  5. side effects9
  6. system error8
  7. difficulty swallowing6
  8. lost prescription5
  9. language barrier4
  10. prescription lost3
21 columns by typefrom the column list below
  • string 12
  • integer 2
  • float 1
  • date 5
  • boolean 1

Columns

21 columns in four groups
blueprint · 21 columns
columntypedescriptionexample
Text 12 columns
patient_idstringUnique identifier for each patientP20987
medication_idstringUnique identifier for each prescribed medicationM412C
prescription_idstringUnique identifier for each prescription eventuniqueRX1000001
prescriber_idstringUnique identifier for the healthcare provider who prescribed the medicationoptionalDR101
pharmacy_idstringUnique identifier for the pharmacy where the medication was dispensedoptionalPH3201
self_reported_adherencestringPatient's self-reported adherence status (e.g., always, sometimes, rarely, never)always · sometimes · rarely · never · optionalalways
nonadherence_reasonstringReason provided by the patient for nonadherence, if any10 reasons · optionalforgot
intervention_typestringType of intervention provided (e.g., phone call, SMS, counseling)phone_call · sms · counseling · education · other · optionalsms
medication_namestringName of the medication prescribedAtorvastatin
medication_dosagestringDosage information for the medication (e.g., 10mg, 1 tablet)optional20mg
medication_frequencystringFrequency of medication administration (e.g., once daily, twice daily)6 frequencies · optionalonce daily
patient_genderstringGender of the patientmale · female · other · unknown · optionalfemale
Numbers 3 columns
days_supplyintegerNumber of days the dispensed medication is expected to last1 or more · optional30
adherence_scorefloatCalculated score representing the patient's adherence to the medication regimen (0-1 scale)0 to 1 · optional0.97
patient_ageintegerAge of the patient at the time of prescription0 or more · optional59
Dates and times 5 columns
prescription_datedateDate when the medication was prescribed2023-11-04
pickup_datedateDate when the patient picked up the medication from the pharmacyoptional2023-11-05
expected_refill_datedateDate when the next refill is expected based on prescription instructionsoptional2023-12-05
actual_refill_datedateDate when the patient actually refilled the medicationoptional2023-12-04
intervention_datedateDate when an adherence intervention was initiated for the patientoptional2023-07-31
True or false 1 column
intervention_flagbooleanIndicates whether the patient has been targeted for an adherence interventionoptionalfalse

Use it for

  • intervention f…30%60 of 200 rowsmean adherence score …0.93alwa…0.73some…0.32rare…0.0never

    A healthcare dashboard

    The intervention_flag rate, adherence_score by self_reported_adherence and a breakdown of nonadherence_reason. Excel, Power BI or Tableau.

  • Why do the 55 never rows have a mean adherence_score of 0.0?

    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 patients with medication_id, prescription_id and prescriber_id to fill a screen in front of a buyer.

Not quite right?

Make it yours.

Same 21 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 rows21 columns
Yours1,000 rows21 columns

blueprint · healthcare-patient-medication-adherence

Behind this dataset

Same schema. As many rows as you need.

These 200 rows came out of a blueprint — 21 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
  • Patient ID, medication, prescribed schedule.
  • Adherence status and reason for missed doses.
  • Pickup date and refill interval.
  • Chronic vs. acute use flagged.
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-patient-medication-adherence

What should your data show?

Preview 20 rows free
No signup. No card.