Dataset Viewer
Auto-converted to Parquet Duplicate
messages
listlengths
2
2
code
stringlengths
3
6
category
stringclasses
1 value
clinical_note
stringlengths
1.2k
2.55k
[ { "role": "user", "content": "Given the following clinical note, predict the ICD-10-CM diagnosis code:\n\n**Patient:** [Patient Name]\n**Date:** October 26, 2023\n**Time:** 10:00 AM\n**DOB:** [Patient DOB]\n\n**Chief Complaint:** Cognitive decline.\n\n**History of Present Illness:** The patient is a 88-year...
I69914
Circulatory System
**Patient:** [Patient Name] **Date:** October 26, 2023 **Time:** 10:00 AM **DOB:** [Patient DOB] **Chief Complaint:** Cognitive decline. **History of Present Illness:** The patient is a 88-year-old female presenting today with a progressive decline in executive function. The patient reports difficulty with planning, ...
[ { "role": "user", "content": "What is the correct ICD-10-CM code for this clinical encounter?\n\n**Patient:** [Patient Name]\n**MRN:** [Patient MRN]\n**Date:** 2024-02-29\n**Time:** 10:00 AM\n**Attending Physician:** [Your Name]\n\n**Chief Complaint:** Chest pain\n\n**History of Present Illness:** The patie...
I092
Circulatory System
**Patient:** [Patient Name] **MRN:** [Patient MRN] **Date:** 2024-02-29 **Time:** 10:00 AM **Attending Physician:** [Your Name] **Chief Complaint:** Chest pain **History of Present Illness:** The patient is a 73-year-old female presenting to the cardiac unit with a 3-day history of chest pain, described as a dull, ac...
[ { "role": "user", "content": "Assign the appropriate ICD-10-CM diagnosis code for this patient:\n\n**Progress Note**\n\n**Patient:** [Patient Name]\n**DOB:** [Patient DOB]\n**MRN:** [MRN]\n**Date:** 2024-10-27\n**Time:** 10:00 AM\n**Source:** Primary Care\n\n**CC:** Chest pain.\n\n**HPI:** The patient prese...
I311
Circulatory System
**Progress Note** **Patient:** [Patient Name] **DOB:** [Patient DOB] **MRN:** [MRN] **Date:** 2024-10-27 **Time:** 10:00 AM **Source:** Primary Care **CC:** Chest pain. **HPI:** The patient presents today with a 6-month history of progressive chest pain, described as a pressure-like sensation, exacerbated by exertio...
[ { "role": "user", "content": "Based on the clinical information below, identify the ICD-10-CM code:\n\n**Patient:** Jane Doe\n**Date:** 2024-02-29\n**Time:** 10:00 AM\n**Visit Type:** Cardiac Rehabilitation\n\n**Chief Complaint:** Chest pain.\n\n**History of Present Illness:** The patient reports onset of c...
I69361
Circulatory System
**Patient:** Jane Doe **Date:** 2024-02-29 **Time:** 10:00 AM **Visit Type:** Cardiac Rehabilitation **Chief Complaint:** Chest pain. **History of Present Illness:** The patient reports onset of chest pain approximately 3 weeks ago, which began as a dull ache and progressed to a more acute, squeezing pain. The pain i...
[ { "role": "user", "content": "As a medical coder, determine the ICD-10-CM code for this encounter:\n\n**Progress Note**\n\n**Patient:** [Patient Name]\n**Date:** 2024-02-29\n**Time:** 10:00 AM\n**Provider:** [Your Name], MD\n\n**Chief Complaint:** Chest pain.\n\n**History of Present Illness:** The patient p...
I69165
Circulatory System
**Progress Note** **Patient:** [Patient Name] **Date:** 2024-02-29 **Time:** 10:00 AM **Provider:** [Your Name], MD **Chief Complaint:** Chest pain. **History of Present Illness:** The patient presents today with a chief complaint of chest pain. The pain began approximately 3 days ago and is described as a pressure-...
[ { "role": "user", "content": "Review this clinical note and provide the ICD-10-CM diagnosis code:\n\n**SOAP Note**\n\n**Patient:** [Patient Name]\n**Date:** 2024-10-27\n**Time:** 10:00 AM\n**ID:** [Patient ID]\n\n**S: Subjective**\n\nThe patient is a 20-year-old male presenting to the cardiac rehabilitation...
I723
Circulatory System
**SOAP Note** **Patient:** [Patient Name] **Date:** 2024-10-27 **Time:** 10:00 AM **ID:** [Patient ID] **S: Subjective** The patient is a 20-year-old male presenting to the cardiac rehabilitation center for a follow-up appointment. He reports a 3-month history of intermittent, pulsatile abdominal pain that radiates ...
[ { "role": "user", "content": "Identify the primary ICD-10-CM diagnosis code from this clinical note:\n\n**SOAP Note**\n\n**Patient:** [Patient Name]\n**Date:** 2024-02-29\n**Time:** 10:00 AM\n**MRN:** [Patient MRN]\n\n**S: Subjective**\n\nThe patient is a 56-year-old male presenting for evaluation of abdomi...
I723
Circulatory System
**SOAP Note** **Patient:** [Patient Name] **Date:** 2024-02-29 **Time:** 10:00 AM **MRN:** [Patient MRN] **S: Subjective** The patient is a 56-year-old male presenting for evaluation of abdominal pain. He reports a 3-month history of intermittent, dull, left-sided abdominal pain that is exacerbated by exertion and r...
[ { "role": "user", "content": "What ICD-10-CM code best describes this patient's condition?\n\n**Patient:** John Doe\n**Date:** 2024-10-27\n**Time:** 10:00 AM\n**H&P:**\n\n**Chief Complaint:** Chest pain.\n\n**History of Present Illness:** The patient reports a 6-month history of intermittent chest pain, des...
I82703
Circulatory System
**Patient:** John Doe **Date:** 2024-10-27 **Time:** 10:00 AM **H&P:** **Chief Complaint:** Chest pain. **History of Present Illness:** The patient reports a 6-month history of intermittent chest pain, described as a dull ache, located primarily in the left upper extremity. The pain is typically triggered by exertion...
[ { "role": "user", "content": "Provide the ICD-10-CM classification code for the following clinical scenario:\n\n**Progress Note**\n\n**Patient:** [Patient Name]\n**MRN:** [Patient MRN]\n**Date:** 2024-02-29\n**Time:** 14:35\n\n**Chief Complaint:** Chest pain.\n\n**History of Present Illness:** The patient p...
I4589
Circulatory System
**Progress Note** **Patient:** [Patient Name] **MRN:** [Patient MRN] **Date:** 2024-02-29 **Time:** 14:35 **Chief Complaint:** Chest pain. **History of Present Illness:** The patient presented to the Emergency Department today complaining of chest pain that began approximately 3 hours prior to arrival. The pain is d...
[ { "role": "user", "content": "Determine the correct ICD-10-CM billing code for this clinical encounter:\n\n**SOAP Note**\n\n**Patient:** [Patient Name]\n**Age:** 49\n**Date:** 2024-02-29\n\n**S: Subjective**\n\nThe patient presented to the Emergency Department today complaining of left-sided weakness and sp...
I6529
Circulatory System
**SOAP Note** **Patient:** [Patient Name] **Age:** 49 **Date:** 2024-02-29 **S: Subjective** The patient presented to the Emergency Department today complaining of left-sided weakness and speech difficulty that began approximately 3 hours prior to arrival. He reports a history of hypertension and hyperlipidemia. He ...
[ { "role": "user", "content": "Given the following clinical note, predict the ICD-10-CM diagnosis code:\n\n**Consultation Note**\n\n**Patient:** John Doe\n**Date:** 2024-02-29\n**Referring Physician:** Dr. Jane Smith\n\n**Chief Complaint:** Patient presents today with a new onset of left leg pain and swellin...
I744
Circulatory System
**Consultation Note** **Patient:** John Doe **Date:** 2024-02-29 **Referring Physician:** Dr. Jane Smith **Chief Complaint:** Patient presents today with a new onset of left leg pain and swelling. **History of Present Illness:** The patient reports a sudden onset of pain and swelling in his left leg approximately 3 ...
[ { "role": "user", "content": "What is the correct ICD-10-CM code for this clinical encounter?\n\n**Progress Note**\n\n**Patient:** John Doe\n**MRN:** 1234567\n**Date:** 2024-10-27\n**Time:** 14:30\n\n**Chief Complaint:** Chest pain and shortness of breath.\n\n**History of Present Illness:** The patient pres...
I5089
Circulatory System
**Progress Note** **Patient:** John Doe **MRN:** 1234567 **Date:** 2024-10-27 **Time:** 14:30 **Chief Complaint:** Chest pain and shortness of breath. **History of Present Illness:** The patient presents today with a 3-day history of increasing exertional chest pain and progressive shortness of breath. The chest pai...
[ { "role": "user", "content": "Assign the appropriate ICD-10-CM diagnosis code for this patient:\n\n**Progress Note**\n\n**Patient:** [Patient Name]\n**Date:** October 26, 2023\n**Time:** 10:00 AM\n**Visit Type:** Follow-up\n\n**Chief Complaint:** The patient presents for a follow-up appointment regarding a ...
I82531
Circulatory System
**Progress Note** **Patient:** [Patient Name] **Date:** October 26, 2023 **Time:** 10:00 AM **Visit Type:** Follow-up **Chief Complaint:** The patient presents for a follow-up appointment regarding a persistent leg pain and swelling. **History of Present Illness:** The patient reports a history of right popliteal ve...
[ { "role": "user", "content": "Based on the clinical information below, identify the ICD-10-CM code:\n\n**Progress Note**\n\n**Patient:** [Patient Name]\n**Date:** 2024-02-29\n**Time:** 10:30 AM\n**Location:** Primary Care Office\n\n**Chief Complaint:** Chest pain\n\n**History of Present Illness:** The patie...
I70499
Circulatory System
**Progress Note** **Patient:** [Patient Name] **Date:** 2024-02-29 **Time:** 10:30 AM **Location:** Primary Care Office **Chief Complaint:** Chest pain **History of Present Illness:** The patient presents today complaining of chest pain, which he describes as a dull ache, radiating to his left arm. He reports the pa...
[ { "role": "user", "content": "As a medical coder, determine the ICD-10-CM code for this encounter:\n\n**Patient:** Jane Doe\n**Date:** 2024-10-27\n**Time:** 10:00 AM\n**Referring Physician:** Dr. Smith\n\n**Chief Complaint:** Chest pain.\n\n**History of Present Illness:** The patient presents today complain...
I6930
Circulatory System
**Patient:** Jane Doe **Date:** 2024-10-27 **Time:** 10:00 AM **Referring Physician:** Dr. Smith **Chief Complaint:** Chest pain. **History of Present Illness:** The patient presents today complaining of chest pain that began approximately 3 weeks ago. The pain is described as a dull ache, located primarily in the le...
[ { "role": "user", "content": "Review this clinical note and provide the ICD-10-CM diagnosis code:\n\n**Progress Note**\n\n**Patient:** [Patient Name]\n**Date:** 2024-02-29\n**Time:** 10:30 AM\n**H&P:**\n\nThe patient presents today complaining of bilateral arm swelling and pain. The patient reports the swel...
I82A13
Circulatory System
**Progress Note** **Patient:** [Patient Name] **Date:** 2024-02-29 **Time:** 10:30 AM **H&P:** The patient presents today complaining of bilateral arm swelling and pain. The patient reports the swelling started approximately 3 days ago, and the pain began two days ago. The patient denies any recent trauma or surgery ...
[ { "role": "user", "content": "Identify the primary ICD-10-CM diagnosis code from this clinical note:\n\n**Patient:** Jane Doe\n**DOB:** 01/01/2004\n**Age:** 19\n**Date:** 2023-10-27\n\n**Chief Complaint:** Chest pain.\n\n**History of Present Illness:** The patient presents today complaining of chest pain. T...
I2541
Circulatory System
**Patient:** Jane Doe **DOB:** 01/01/2004 **Age:** 19 **Date:** 2023-10-27 **Chief Complaint:** Chest pain. **History of Present Illness:** The patient presents today complaining of chest pain. The pain started approximately 3 months ago and is described as a sharp, stabbing pain, located in the center of her chest. ...
[ { "role": "user", "content": "What ICD-10-CM code best describes this patient's condition?\n\n**Patient:** [Patient Name]\n**MRN:** [Patient MRN]\n**Date:** 2024-10-27\n**Time:** 14:35\n\n**Chief Complaint:** Acute onset of left arm swelling and pain.\n\n**History of Present Illness:** The patient presents ...
I82A12
Circulatory System
**Patient:** [Patient Name] **MRN:** [Patient MRN] **Date:** 2024-10-27 **Time:** 14:35 **Chief Complaint:** Acute onset of left arm swelling and pain. **History of Present Illness:** The patient presents with a 3-day history of acute onset of left arm swelling and pain. The patient reports the swelling began gradual...
[ { "role": "user", "content": "Provide the ICD-10-CM classification code for the following clinical scenario:\n\n**Progress Note**\n\n**Patient:** [Patient Name]\n**MRN:** [Patient MRN]\n**Date:** 2024-02-29\n**Time:** 14:30\n\n**Chief Complaint:** Chest pain.\n\n**History of Present Illness:** The patient i...
I061
Circulatory System
**Progress Note** **Patient:** [Patient Name] **MRN:** [Patient MRN] **Date:** 2024-02-29 **Time:** 14:30 **Chief Complaint:** Chest pain. **History of Present Illness:** The patient initially presented to the Emergency Department on 2024-02-27 with substernal chest pain radiating to the left arm, which he described...
[ { "role": "user", "content": "Determine the correct ICD-10-CM billing code for this clinical encounter:\n\n**SOAP Note**\n\n**Patient:** John Doe\n**Date:** 2024-02-29\n**Time:** 10:00 AM\n**H&P:**\n\nThe patient presents today for evaluation of rest pain in the left lower extremity. He reports that the pai...
I70622
Circulatory System
**SOAP Note** **Patient:** John Doe **Date:** 2024-02-29 **Time:** 10:00 AM **H&P:** The patient presents today for evaluation of rest pain in the left lower extremity. He reports that the pain started approximately 6 months ago and has been progressively worsening. The pain is described as a dull, aching discomfort,...
[ { "role": "user", "content": "Given the following clinical note, predict the ICD-10-CM diagnosis code:\n\n**Patient:** [Patient Name]\n**Date:** 2024-10-27\n**Time:** 10:30 AM\n**Visit Type:** Cardiology Outpatient Clinic\n\n**Chief Complaint:** The patient presents today with a complaint of bilateral lower...
I87323
Circulatory System
**Patient:** [Patient Name] **Date:** 2024-10-27 **Time:** 10:30 AM **Visit Type:** Cardiology Outpatient Clinic **Chief Complaint:** The patient presents today with a complaint of bilateral lower extremity edema and discomfort, worsening over the past 6 months. **History of Present Illness:** The patient reports a g...
[ { "role": "user", "content": "What is the correct ICD-10-CM code for this clinical encounter?\n\n**SOAP Note**\n\n**Patient:** [Patient Name]\n**Age:** 24\n**Date:** 2024-02-29\n\n**S: Subjective**\n\nThe patient presents to the Emergency Department complaining of sudden onset of bilateral lower extremity w...
I69065
Circulatory System
**SOAP Note** **Patient:** [Patient Name] **Age:** 24 **Date:** 2024-02-29 **S: Subjective** The patient presents to the Emergency Department complaining of sudden onset of bilateral lower extremity weakness and sensory changes. She reports the symptoms began approximately 24 hours prior to arrival. She denies any h...
[ { "role": "user", "content": "Assign the appropriate ICD-10-CM diagnosis code for this patient:\n\n**Patient:** John Smith\n**Date:** 2024-02-29\n**Time:** 10:00 AM\n**Location:** Primary Care Office\n\n**HPI:** Mr. Smith presents today with a chief complaint of acute onset of right lower extremity pain and...
I82461
Circulatory System
**Patient:** John Smith **Date:** 2024-02-29 **Time:** 10:00 AM **Location:** Primary Care Office **HPI:** Mr. Smith presents today with a chief complaint of acute onset of right lower extremity pain and swelling. He reports the pain began approximately 3 days ago, worsening over the past 24 hours. He denies any traum...
[ { "role": "user", "content": "Based on the clinical information below, identify the ICD-10-CM code:\n\n**Patient:** [Patient Name]\n**MRN:** [MRN Number]\n**Date:** 2024-02-29\n**Time:** 14:35\n\n**Chief Complaint:** Chest pain\n\n**History of Present Illness:** The patient presents to the Emergency Departm...
I25708
Circulatory System
**Patient:** [Patient Name] **MRN:** [MRN Number] **Date:** 2024-02-29 **Time:** 14:35 **Chief Complaint:** Chest pain **History of Present Illness:** The patient presents to the Emergency Department complaining of chest pain that began approximately 3 hours prior to arrival. The pain is described as a pressure-like ...
[ { "role": "user", "content": "As a medical coder, determine the ICD-10-CM code for this encounter:\n\n**SOAP Note**\n\n**Patient:** John Doe\n**Age:** 89\n**Date:** 2024-02-29\n\n**S: Subjective**\n\nThe patient presented to the Emergency Department today complaining of increasing lower extremity pain, part...
I70599
Circulatory System
**SOAP Note** **Patient:** John Doe **Age:** 89 **Date:** 2024-02-29 **S: Subjective** The patient presented to the Emergency Department today complaining of increasing lower extremity pain, particularly with ambulation. He reports the pain has been worsening over the past several weeks, becoming more frequent and m...
[ { "role": "user", "content": "Review this clinical note and provide the ICD-10-CM diagnosis code:\n\n**Patient:** Jane Doe\n**Age:** 73\n**Gender:** Female\n**Date:** 2024-02-29\n\n**Chief Complaint:** Chest pain.\n\n**History of Present Illness:** The patient presented to the Emergency Department with acut...
I70698
Circulatory System
**Patient:** Jane Doe **Age:** 73 **Gender:** Female **Date:** 2024-02-29 **Chief Complaint:** Chest pain. **History of Present Illness:** The patient presented to the Emergency Department with acute onset chest pain approximately 3 hours prior to arrival. The patient describes the pain as a pressure-like sensation i...
[ { "role": "user", "content": "Identify the primary ICD-10-CM diagnosis code from this clinical note:\n\n**SOAP Note**\n\n**Patient:** [Patient Name]\n**Age:** 32\n**Date:** 2024-02-29\n\n**S: Subjective**\n\nThe patient presents to the Emergency Department complaining of bilateral leg pain and swelling, ons...
I80223
Circulatory System
**SOAP Note** **Patient:** [Patient Name] **Age:** 32 **Date:** 2024-02-29 **S: Subjective** The patient presents to the Emergency Department complaining of bilateral leg pain and swelling, onset over the past 3 days. She reports the pain is described as a deep, aching sensation, exacerbated by walking and relieved ...
[ { "role": "user", "content": "What ICD-10-CM code best describes this patient's condition?\n\n**Patient:** [Patient Name]\n**MRN:** [MRN Number]\n**Date:** 2024-02-29\n**Time:** 08:00\n\n**Chief Complaint:** Chest pain.\n\n**History of Present Illness:** The patient presents with a 3-day history of chest pa...
I400
Circulatory System
**Patient:** [Patient Name] **MRN:** [MRN Number] **Date:** 2024-02-29 **Time:** 08:00 **Chief Complaint:** Chest pain. **History of Present Illness:** The patient presents with a 3-day history of chest pain, which began as a sharp, pleuritic pain, localized to the precordial region. The pain has evolved to a more co...
[ { "role": "user", "content": "Provide the ICD-10-CM classification code for the following clinical scenario:\n\n**Patient:** John Doe\n**Date:** 2024-02-29\n**Time:** 10:00 AM\n**Location:** Cardiac Rehab Center\n\n**Chief Complaint:** Chest pain.\n\n**History of Present Illness:** The patient presents toda...
I27848
Circulatory System
**Patient:** John Doe **Date:** 2024-02-29 **Time:** 10:00 AM **Location:** Cardiac Rehab Center **Chief Complaint:** Chest pain. **History of Present Illness:** The patient presents today for cardiac rehabilitation. He reports experiencing chest pain for the past 3 months, which he describes as a dull, aching sensat...
[ { "role": "user", "content": "Determine the correct ICD-10-CM billing code for this clinical encounter:\n\n**Progress Note**\n\n**Patient:** [Patient Name]\n**MRN:** [Medical Record Number]\n**Date:** 2024-02-29\n**Time:** 14:35\n\n**Chief Complaint:** Chest pain.\n\n**History of Present Illness:** The pati...
I358
Circulatory System
**Progress Note** **Patient:** [Patient Name] **MRN:** [Medical Record Number] **Date:** 2024-02-29 **Time:** 14:35 **Chief Complaint:** Chest pain. **History of Present Illness:** The patient presents to the Emergency Department complaining of chest pain that began approximately 3 hours prior to arrival. The pain i...
[ { "role": "user", "content": "Given the following clinical note, predict the ICD-10-CM diagnosis code:\n\n**Patient:** [Patient Name]\n**MRN:** [Patient MRN]\n**Date:** 2024-10-27\n**Time:** 14:30\n**Attending Physician:** [Your Name]\n\n**Chief Complaint:** Acute onset of neurological deficits.\n\n**Histor...
I63019
Circulatory System
**Patient:** [Patient Name] **MRN:** [Patient MRN] **Date:** 2024-10-27 **Time:** 14:30 **Attending Physician:** [Your Name] **Chief Complaint:** Acute onset of neurological deficits. **History of Present Illness:** The patient presented to the Emergency Department today complaining of sudden onset of left-sided weak...
[ { "role": "user", "content": "What is the correct ICD-10-CM code for this clinical encounter?\n\n**SOAP Note**\n\n**Patient:** John Doe\n**Date:** 2024-02-29\n**Time:** 10:00 AM\n\n**S: Subjective**\n\nPatient presents today complaining of sudden onset of chest pain over the past 24 hours. The pain is descr...
I511
Circulatory System
**SOAP Note** **Patient:** John Doe **Date:** 2024-02-29 **Time:** 10:00 AM **S: Subjective** Patient presents today complaining of sudden onset of chest pain over the past 24 hours. The pain is described as sharp and located in the anterior chest, radiating to the left arm. The pain is not associated with exertion ...
[ { "role": "user", "content": "Assign the appropriate ICD-10-CM diagnosis code for this patient:\n\n**Patient:** [Patient Name]\n**Date:** 2024-02-29\n**Time:** 10:00 AM\n**H&P:**\n\n**Chief Complaint:** The patient presents today for evaluation of exertional leg pain.\n\n**History of Present Illness:** The ...
I70319
Circulatory System
**Patient:** [Patient Name] **Date:** 2024-02-29 **Time:** 10:00 AM **H&P:** **Chief Complaint:** The patient presents today for evaluation of exertional leg pain. **History of Present Illness:** The patient reports a 6-month history of intermittent claudication in her lower extremities, primarily affecting her calve...
[ { "role": "user", "content": "Based on the clinical information below, identify the ICD-10-CM code:\n\n**Patient:** Jane Doe\n**Age:** 32\n**Sex:** Female\n**Date:** 2024-02-29\n\n**Chief Complaint:** Chest pain\n\n**History of Present Illness:** The patient presents to the Emergency Department complaining ...
I4589
Circulatory System
**Patient:** Jane Doe **Age:** 32 **Sex:** Female **Date:** 2024-02-29 **Chief Complaint:** Chest pain **History of Present Illness:** The patient presents to the Emergency Department complaining of chest pain for the past 24 hours. The pain is described as a sharp, stabbing sensation, located in the center of the ch...
[ { "role": "user", "content": "As a medical coder, determine the ICD-10-CM code for this encounter:\n\n**Patient:** [Patient Name]\n**Date:** October 26, 2023\n**Time:** 10:00 AM\n**Visit Type:** Cardiology Clinic\n\n**Chief Complaint:** The patient presents with a 3-day history of right-sided weakness and a...
I69131
Circulatory System
**Patient:** [Patient Name] **Date:** October 26, 2023 **Time:** 10:00 AM **Visit Type:** Cardiology Clinic **Chief Complaint:** The patient presents with a 3-day history of right-sided weakness and altered mental status, with a recent onset of headache. **History of Present Illness:** The patient reports a sudden on...
[ { "role": "user", "content": "Review this clinical note and provide the ICD-10-CM diagnosis code:\n\n**Progress Note**\n\n**Patient:** [Patient Name]\n**MRN:** [Patient MRN]\n**Date:** October 26, 2023\n**Time:** 14:30\n\n**Chief Complaint:** Shortness of breath.\n\n**History of Present Illness:** The patie...
I052
Circulatory System
**Progress Note** **Patient:** [Patient Name] **MRN:** [Patient MRN] **Date:** October 26, 2023 **Time:** 14:30 **Chief Complaint:** Shortness of breath. **History of Present Illness:** The patient presents to the inpatient cardiac unit with a history of progressive shortness of breath over the past several weeks. T...
[ { "role": "user", "content": "Identify the primary ICD-10-CM diagnosis code from this clinical note:\n\n**Patient:** [Patient Name]\n**MRN:** [Patient MRN]\n**Date:** 2024-02-29\n**Time:** 14:35\n\n**Chief Complaint:** Shortness of breath.\n\n**History of Present Illness:** The patient presented to the Emer...
I82422
Circulatory System
**Patient:** [Patient Name] **MRN:** [Patient MRN] **Date:** 2024-02-29 **Time:** 14:35 **Chief Complaint:** Shortness of breath. **History of Present Illness:** The patient presented to the Emergency Department today complaining of sudden onset shortness of breath over the past 24 hours. She reports the onset was gr...
[ { "role": "user", "content": "What ICD-10-CM code best describes this patient's condition?\n\n**Patient:** [Patient Name]\n**Date:** October 26, 2023\n**Time:** 10:00 AM\n**H&P:**\n\nThe patient presents today for evaluation of rest pain in the left lower extremity. She reports a gradual onset of pain over ...
I70722
Circulatory System
**Patient:** [Patient Name] **Date:** October 26, 2023 **Time:** 10:00 AM **H&P:** The patient presents today for evaluation of rest pain in the left lower extremity. She reports a gradual onset of pain over the past 6 months, initially occurring with exercise and now present at rest. The pain is described as a dull a...
[ { "role": "user", "content": "Provide the ICD-10-CM classification code for the following clinical scenario:\n\n**Progress Note**\n\n**Patient:** John Doe\n**Age:** 52\n**Date:** 2024-02-29\n\n**Chief Complaint:** Chest pain.\n\n**History of Present Illness:** The patient presented to the emergency departme...
I7411
Circulatory System
**Progress Note** **Patient:** John Doe **Age:** 52 **Date:** 2024-02-29 **Chief Complaint:** Chest pain. **History of Present Illness:** The patient presented to the emergency department today complaining of sudden onset of severe chest pain, radiating to his back. The pain began approximately 4 hours prior to arri...
[ { "role": "user", "content": "Determine the correct ICD-10-CM billing code for this clinical encounter:\n\n**Patient:** [Patient Name]\n**MRN:** [MRN Number]\n**Date:** October 26, 2023\n**Time:** 10:00 AM\n**Location:** Cardiac Unit\n\n**Chief Complaint:** Chest pain and shortness of breath.\n\n**History o...
I97638
Circulatory System
**Patient:** [Patient Name] **MRN:** [MRN Number] **Date:** October 26, 2023 **Time:** 10:00 AM **Location:** Cardiac Unit **Chief Complaint:** Chest pain and shortness of breath. **History of Present Illness:** The patient presents with a history of a recent [Procedure Name] performed on [Date of Procedure] for [Rea...
[ { "role": "user", "content": "Given the following clinical note, predict the ICD-10-CM diagnosis code:\n\n**Progress Note**\n\n**Patient:** John Doe\n**Date:** 2024-02-29\n**Time:** 10:00 AM\n**H&P:**\n\nThe patient presents today for evaluation of chest pain. He reports experiencing a sudden, severe, sharp...
I7773
Circulatory System
**Progress Note** **Patient:** John Doe **Date:** 2024-02-29 **Time:** 10:00 AM **H&P:** The patient presents today for evaluation of chest pain. He reports experiencing a sudden, severe, sharp pain in the epigastrium approximately 3 days ago, which he initially attributed to indigestion. The pain was localized to th...
[ { "role": "user", "content": "What is the correct ICD-10-CM code for this clinical encounter?\n\n**Patient:** John Doe\n**Date:** 2024-02-29\n**Time:** 10:00 AM\n**Location:** Cardiac Rehab Center\n\n**Chief Complaint:** Shortness of breath.\n\n**History of Present Illness:** The patient presents with a 6-m...
I5083
Circulatory System
**Patient:** John Doe **Date:** 2024-02-29 **Time:** 10:00 AM **Location:** Cardiac Rehab Center **Chief Complaint:** Shortness of breath. **History of Present Illness:** The patient presents with a 6-month history of progressive dyspnea, initially occurring with exertion and now present at rest. He reports a signifi...
[ { "role": "user", "content": "Assign the appropriate ICD-10-CM diagnosis code for this patient:\n\n**Patient:** [Patient Name]\n**Date:** October 26, 2023\n**Time:** 14:30\n**Attending Physician:** [Your Name]\n\n**Chief Complaint:** Chest pain.\n\n**History of Present Illness:** The patient presents with a...
I421
Circulatory System
**Patient:** [Patient Name] **Date:** October 26, 2023 **Time:** 14:30 **Attending Physician:** [Your Name] **Chief Complaint:** Chest pain. **History of Present Illness:** The patient presents with a 6-month history of exertional chest pain, described as a pressure-like sensation, typically occurring during exercise...
[ { "role": "user", "content": "Based on the clinical information below, identify the ICD-10-CM code:\n\n**Progress Note**\n\n**Patient:** [Patient Name]\n**MRN:** [Patient MRN]\n**Date:** 2024-02-29\n**Time:** 10:00 AM\n**Provider:** [Your Name], MD\n\n**Chief Complaint:** Leg pain and skin changes.\n\n**His...
I70363
Circulatory System
**Progress Note** **Patient:** [Patient Name] **MRN:** [Patient MRN] **Date:** 2024-02-29 **Time:** 10:00 AM **Provider:** [Your Name], MD **Chief Complaint:** Leg pain and skin changes. **History of Present Illness:** The patient presents today with a chief complaint of worsening leg pain and skin changes in both l...
End of preview. Expand in Data Studio

MedGemma ICD-10 Clinical Notes Dataset — Circulatory System

Synthetic clinical notes generated by MedGemma-4B-IT for fine-tuning ICD-10-CM diagnosis code prediction models. Focused on Chapter 9: Diseases of the Circulatory System (I00-I99).

Dataset Summary

Split Examples Unique ICD-10 Codes
Train 6,275 1,255

Each example is a realistic clinical note paired with its ICD-10-CM diagnosis code, formatted as a chat conversation for instruction fine-tuning.

How It Was Generated

Clinical notes were generated using MedGemma-4B-IT (Google's medical LLM) loaded locally with 4-bit NF4 quantization — a form of self-distillation. For each of the 1,255 billable I-codes in ICD-10-CM 2026, the model generated 5 clinical notes with:

  • 10 prompt templates — varying documentation styles (SOAP notes, H&P, progress notes, consultation reports, brief assessments)
  • Randomized demographics — patient ages 18-89, male/female
  • Weighted clinical settings — cardiology outpatient clinic, emergency department, cardiac catheterization lab, inpatient cardiac unit, primary care office, vascular surgery clinic, cardiac rehabilitation center
  • No data leakage — the model was explicitly instructed to never mention ICD codes or state the exact diagnosis name, only describe the clinical presentation

Generation took ~80 hours on a single NVIDIA RTX 5070 (12GB VRAM).

Data Format

Each record contains:

{
  "messages": [
    {
      "role": "user",
      "content": "Given the following clinical note, predict the ICD-10-CM diagnosis code:\n\n<clinical note text>"
    },
    {
      "role": "assistant",
      "content": "ICD-10-CM Code: I25.10\nDiagnosis: Atherosclerotic heart disease of native coronary artery without angina pectoris\nShort: Athscl heart disease of native cor art w/o ang pctrs"
    }
  ],
  "code": "I2510",
  "category": "Circulatory System",
  "clinical_note": "<raw clinical note text>"
}

Fields

Field Description
messages Chat-format conversation (user prompt + assistant target) ready for instruction fine-tuning
code Raw ICD-10-CM code (without dot separator)
category ICD-10 chapter — always "Circulatory System" for this dataset
clinical_note The generated clinical note (same text embedded in the user message)

Clinical Note Statistics

Metric Value
Average length 2,021 characters (~280 words)
Minimum length 1,202 characters (~170 words)
Maximum length 2,549 characters (~360 words)
Note styles SOAP, H&P, progress, consultation, assessment
Augmentation 5 notes per ICD-10 code

ICD-10 Coverage

  • Chapter: 9 — Diseases of the Circulatory System
  • Code range: I00–I99
  • Total billable codes: 1,255
  • Source: CMS ICD-10-CM 2026 code descriptions (icd10cm_order_2026.txt)

Covers conditions including:

  • Acute rheumatic fever (I00-I02)
  • Chronic rheumatic heart diseases (I05-I09)
  • Hypertensive diseases (I10-I16)
  • Ischemic heart diseases (I20-I25)
  • Pulmonary heart disease (I26-I28)
  • Other forms of heart disease (I30-I52)
  • Cerebrovascular diseases (I60-I69)
  • Diseases of arteries, arterioles & capillaries (I70-I79)
  • Diseases of veins & lymphatics (I80-I89)
  • Other circulatory disorders (I95-I99)

Intended Use

  • Fine-tuning medical LLMs for automated ICD-10 diagnosis coding
  • Benchmarking clinical NLP models on structured code prediction
  • Research into synthetic medical data generation and self-distillation

Limitations

  • Synthetic data — generated by an LLM, not sourced from real clinical records
  • Single chapter — covers only Circulatory System (I00-I99), not the full ICD-10-CM
  • Single diagnosis — each note maps to one code; real encounters often have multiple diagnoses
  • No validation by medical professionals — notes may contain clinical inaccuracies

Loading the Dataset

from datasets import load_dataset

# Load from local directory
dataset = load_dataset("json", data_files="train_data.json")

# Or load from Hugging Face Hub (after upload)
# dataset = load_dataset("YOUR_USERNAME/medgemma-icd10-circulatory")

Citation

If you use this dataset, please cite the repository:

@misc{medgemma_icd10_finetuning,
  title={Fine-Tuning MedGemma-4B for ICD-10 Diagnosis Coding},
  author={singhak-abbvie},
  year={2026}
}

Disclaimer

This dataset is for research and educational purposes only. It is not intended for clinical use without proper validation. Always consult certified medical coders and healthcare professionals for production ICD-10 coding.

Downloads last month
20