Hospital Readmission Prediction

This dataset provides detailed, labeled records of hospital admissions, including patient demographics, diagnoses, procedures, and outcomes related to readmission. It is designed to support predictive modeling for hospital readmissions, enabling health systems to identify risk factors, optimize care transitions, and reduce costs. The comprehensive schema facilitates advanced analytics and machine learning applications in healthcare quality improvement.

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

Predicting patient risk of hospital readmission

Sample rows

preview · 8 of 200 rows · all 22 columns
patient_idstringinsurance_typestringageintegerreadmittedbooleanethnicitystringadmission_idstringadmission_datedatedischarge_datedatereadmission_datedategenderstringprimary_diagnosis_codestringsecondary_diagnosis_codesstringprocedure_codesstringlength_of_stayintegeradmission_typestringdischarge_dispositionstringcomorbiditiesstringhospital_idstringhospital_citystringhospital_statestringhospital_postal_codestringhospital_countrystring
PAT-0001private32falsewhiteADM-000012023-01-102023-01-15blankfemaleI10E11,K21CPT992145electivehomehypertensionHOSP-0001New YorkNY10001USA
PAT-0002medicare71trueblackADM-000022023-02-032023-02-082023-02-20maleI50E11,I10CPT930105emergencyhomeheart failure, diabetes, hypertensionHOSP-0002ChicagoIL60601USA
PAT-0003medicare85falseasianADM-000032023-03-122023-03-12blankfemaleJ18blankblank0emergencydeceasedcardiac arrest, sepsisHOSP-0003San FranciscoCA94103USA
PAT-0004medicaid8falsehispanicADM-000042022-10-212022-10-23blankmaleJ45blankCPT940102emergencyhomeasthmaHOSP-0004HoustonTX77002USA
PAT-0005medicare62truewhiteADM-000052022-12-012022-12-092022-12-20femaleE11I10,E78CPT80053,CPT992138urgenthomediabetes, hypertension, hyperlipidemiaHOSP-0005BostonMA02108USA
PAT-0006private27falseasianADM-000062023-03-202023-03-22blankmaleS72blankCPT271302electivehomeblankHOSP-0006Los AngelesCA90001USA
PAT-0007private35falsehispanicADM-000072023-01-192023-01-20blankfemaleN39blankblank1emergencyhomeblankHOSP-0007MiamiFL33101USA
PAT-0008medicare67truewhiteADM-000082022-09-072022-09-122022-09-25maleI25blankCPT929285emergencytransferredischemic heart disease, hypertensionHOSP-0008PhiladelphiaPA19103USA

What the 200 rows show

from the 200-row sample

Medicaid (insurance type) stands out: mean age is 8.4, against 56.2 for the rest.

  • 16%readmitted = true
  • 45median age
  • 3admission types
  • 4genders
  • 4discharge dispositions
  • 39hospital states
Mean age by insurance_type200 rows
05010039.9private99 rows79.4medica…61 rows8.4medica…32 rows36.0self-p…2 rows94.8other6 rows
age200 rows, in bands of 20
0255036484540238060120age →

Median 45, from 0 to 120.

ethnicity182 rows with a value · 18 left blank
  1. White36
  2. white34
  3. asian22
  4. Asian17
  5. hispanic15
  6. Other13
  7. other12
  8. Black12
  9. Hispanic11
  10. black10
22 columns by typefrom the column list below
  • string 16
  • integer 2
  • date 3
  • boolean 1

Columns

22 columns in four groups
blueprint · 22 columns
columntypedescriptionexample
Text 16 columns
patient_idstringUnique identifier for each patient in the datasetuniquePAT-0001
admission_idstringUnique identifier for each hospital admission eventuniqueADM-00001
genderstringGender of the patientmale · female · other · unknownfemale
ethnicitystringEthnicity of the patient10 ethnicities · optionalwhite
primary_diagnosis_codestringICD code for the primary diagnosis at admissionI10
secondary_diagnosis_codesstringComma-separated ICD codes for secondary diagnoses at admissionoptionalE11,K21
procedure_codesstringComma-separated codes for procedures performed during admissionoptionalCPT99214
admission_typestringType of hospital admission (e.g., emergency, elective, urgent)emergency · elective · urgent · otherelective
discharge_dispositionstringDisposition of the patient at discharge (e.g., home, transferred, deceased)home · transferred · deceased · otherhome
comorbiditiesstringComma-separated list of comorbid conditions present at admissionoptionalhypertension
insurance_typestringType of insurance coverage for the patientprivate · medicare · medicaid · self-pay · other · optionalprivate
hospital_idstringUnique identifier for the hospital where the admission occurredHOSP-0001
hospital_citystringCity where the hospital is locatedoptionalNew York
hospital_statestringState where the hospital is locatedoptionalNY
hospital_postal_codestringPostal code of the hospital locationoptional10001
hospital_countrystringCountry where the hospital is locatedoptionalUSA
Numbers 2 columns
ageintegerAge of the patient at the time of admission0 to 12032
length_of_stayintegerNumber of days the patient stayed in the hospital during this admission1 or more5
Dates and times 3 columns
admission_datedateDate when the patient was admitted to the hospital2023-01-10
discharge_datedateDate when the patient was discharged from the hospital2023-01-15
readmission_datedateDate of readmission, if applicable (null if not readmitted)optional2023-02-20
True or false 1 column
readmittedbooleanIndicates whether the patient was readmitted within the prediction window (e.g., 30 days post-discharge)false

Use it for

  • readmitted16%31 of 200 rowsmean age by insurance…39.9priv…79.4medi…8.4medi…36.0self…

    A healthcare dashboard

    The readmitted rate, age by insurance_type and a breakdown of ethnicity. Excel, Power BI or Tableau.

  • Why do the 32 medicaid rows have a mean age of 8.4?

    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 admission_id, admission_date and discharge_date to fill a screen in front of a buyer.

Not quite right?

Make it yours.

Same 22 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 rows22 columns
Yours1,000 rows22 columnshospital_city: UK only

blueprint · hospital-readmission-prediction

Behind this dataset

Same schema. As many rows as you need.

These 200 rows came out of a blueprint — 22 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 demographics and diagnosis
  • Discharge and readmission dates captured
  • Readmission window: 30/60/90 days
  • Synthetic data for privacy compliance
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
hospital-readmission-prediction

What should your data show?

Preview 20 rows free
No signup. No card.