Patient Health Record Summaries

This dataset provides anonymized, longitudinal summaries of patient health records, including detailed information on encounters, diagnoses, laboratory results, and medications. Designed for cohort analysis and predictive healthcare modeling, it enables researchers and analysts to track patient journeys, identify trends, and develop clinical insights while maintaining strict privacy standards.

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

Cohort analysis for chronic disease management and outcomes research

Sample rows

preview · 8 of 200 rows · all 23 columns
patient_idstringencounter_typestringlength_of_stay_daysfloatreadmission_within_30_daysbooleanrace_ethnicitystringencounter_idstringencounter_datedateage_at_encounterintegersexstringdiagnosis_codestringsecondary_diagnosis_codesstringprocedure_codestringprocedure_descriptionstringlab_test_codestringlab_test_namestringlab_result_valuefloatlab_result_unitstringlab_result_flagstringmedication_namestringmedication_dosestringmedication_routestringdischarge_dispositionstringdiagnosis_descriptionstring
P0001inpatient5.2falseWhiteENC00000012022-01-1785femaleI10E11.9,E78.593000Electrocardiogram, routine ECG2345-7Glucose [Mass/volume] in Blood225.4mg/dLabnormalLisinopril10 mgoralhomeEssential (primary) hypertension
P0002outpatient0falseBlack/African AmericanENC00000022022-02-1122maleF32.1blankblankblankblankblankblankblankblankSertraline50 mgoralblankMajor depressive disorder, moderate
P0003emergency0.8falseHispanic/LatinoENC00000032022-03-091femaleJ21.0blank36415Collection of venous blood718-7Hemoglobin [Mass/volume] in Blood8.5g/dLcriticalblankblankblankhomeAcute bronchiolitis due to RSV
P0004inpatient8.6trueWhiteENC00000042022-03-1893femaleN39.0E11.981001Urinalysis, automated, with microscopy5804-0Leukocytes [#/volume] in Urine130/uLabnormalNitrofurantoin100 mgoraltransferredUrinary tract infection, site not specified
P0005outpatient0falseAsianENC00000052022-04-0529otherM54.5blankblankblankblankblankblankblankblankblankblankblankblankLow back pain
P0006emergency3.7falseWhiteENC00000062022-05-1044femaleI21.4E78.592928Percutaneous coronary intervention777-3Troponin I [Mass/volume] in Serum16.8ng/mLcriticalAspirin325 mgoralexpiredAcute subendocardial myocardial infarction
P0001inpatient6trueWhiteENC00000072022-06-1686femaleJ18.9I10,E11.971045Chest X-ray20565-8C-reactive protein [Mass/volume] in Serum180mg/LcriticalAzithromycin500 mgoralhomePneumonia, unspecified organism
P0007outpatient0falsePacific IslanderENC00000082022-07-0136femaleF41.1blankblankblankblankblankblankblankblankEscitalopram10 mgoralblankGeneralized anxiety disorder

What the 200 rows show

from the 200-row sample

Inpatient (encounter type) stands out: mean length_of_stay_days is 7.5, against 0.92 for the rest.

  • 20%readmission_within_30_days = true
  • 0.75median length_of_stay_days
  • 3lab result flags
  • 4sexes
  • 4medication routes
  • 5discharge dispositions
Mean length_of_stay_days by encounter_type200 rows
0487.5inpati…66 rows0.03outpat…64 rows2.4emerge…50 rows0.0telehe…10 rows0.03other10 rows
length_of_stay_days200 rows, in bands of 2
05511011013322211480814length_of_stay_days →

Median 0.75, from 0.0 to 13.6.

race_ethnicity187 rows with a value · 13 left blank
  1. White56
  2. Black/African American34
  3. Other17
  4. Native Hawaiian16
  5. Asian14
  6. Pacific Islander14
  7. Hispanic/Latino13
  8. Native American12
  9. Middle Eastern11
23 columns by typefrom the column list below
  • string 18
  • integer 1
  • float 2
  • date 1
  • boolean 1

Columns

23 columns in four groups
blueprint · 23 columns
columntypedescriptionexample
Text 18 columns
patient_idstringAnonymized unique identifier for each patientP0001
encounter_idstringUnique identifier for each patient encounter or visituniqueENC0000001
encounter_typestringType of encounter (e.g., inpatient, outpatient, emergency)inpatient · outpatient · emergency · telehealth · otherinpatient
sexstringPatient's recorded sex at birthmale · female · other · unknownfemale
race_ethnicitystringPatient's self-reported race or ethnicity9 ethnicities · optionalWhite
diagnosis_codestringPrimary diagnosis code (e.g., ICD-10) for the encounterI10
diagnosis_descriptionstringText description of the primary diagnosisoptionalLow back pain
secondary_diagnosis_codesstringComma-separated list of secondary diagnosis codes for the encounter12 codeses · optionalE11.9,E78.5
procedure_codestringPrimary procedure code (e.g., CPT) performed during the encounter, if anyoptional93000
procedure_descriptionstringText description of the primary procedure performedoptionalChest X-ray
lab_test_codestringCode for the primary laboratory test performed during the encounteroptional2345-7
lab_test_namestringName of the primary laboratory test performedoptionalGlucose, Serum
lab_result_unitstringUnit of measurement for the laboratory result value12 units · optionalmg/dL
lab_result_flagstringFlag indicating if the lab result is normal, abnormal, or criticalnormal · abnormal · critical · unknown · optionalabnormal
medication_namestringName of the primary medication prescribed during the encounteroptionalLisinopril
medication_dosestringDosage of the medication prescribedoptional10 mg
medication_routestringRoute of administration for the medication (e.g., oral, IV)4 routes · optionaloral
discharge_dispositionstringDisposition of the patient at discharge (e.g., home, transferred, expired)5 values · optionalhome
Numbers 3 columns
age_at_encounterintegerPatient's age (in years) at the time of the encounter0 to 12085
lab_result_valuefloatNumeric value of the primary laboratory test resultoptional225.4
length_of_stay_daysfloatLength of stay for the encounter in days0 or more · optional5.2
Dates and times 1 column
encounter_datedateDate of the patient encounter2022-01-17
True or false 1 column
readmission_within_30_daysbooleanIndicates if the patient was readmitted within 30 days of dischargeoptionalfalse

Use it for

  • readmission wi…20%39 of 200 rowsmean length of stay d…7.5inpa…0.03outp…2.4emer…0.0tele…

    A healthcare dashboard

    The readmission_within_30_days rate, length_of_stay_days by encounter_type and a breakdown of race_ethnicity. Excel, Power BI or Tableau.

  • Why do the 66 inpatient rows have a mean length_of_stay_days of 7.5?

    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 encounter_id, encounter_date and encounter_type to fill a screen in front of a buyer.

Not quite right?

Make it yours.

Same 23 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 rows23 columns
Yours1,000 rows23 columns

blueprint · patient-health-record-summaries

Behind this dataset

Same schema. As many rows as you need.

These 200 rows came out of a blueprint — 23 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
  • Unique patient IDs per longitudinal record
  • Each record includes diagnoses, meds, labs
  • Encounter types (inpatient, outpatient, ER) flagged
  • Dates of care and provider anonymized
  • Outcome measures (readmission, mortality) included
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
patient-health-record-summaries

What should your data show?

Preview 20 rows free
No signup. No card.