Dataset Viewer
Auto-converted to Parquet Duplicate
messages
listlengths
2
2
code
stringclasses
665 values
category
stringclasses
1 value
clinical_note
stringlengths
1k
2.73k
[ { "role": "user", "content": "Given the following clinical note, predict the ICD-10-CM diagnosis code:\n\n**SOAP Note**\n\n**Patient:** Jane Doe\n**Age:** 80\n**Date:** 2024-02-29\n\n**S: Subjective**\n\nThe patient presents to the Emergency Department with a chief complaint of severe, unrelenting pain in t...
G5772
Nervous System
**SOAP Note** **Patient:** Jane Doe **Age:** 80 **Date:** 2024-02-29 **S: Subjective** The patient presents to the Emergency Department with a chief complaint of severe, unrelenting pain in the left lower extremity. The patient reports the pain began approximately 3 weeks ago following a fall. The pain is described ...
[ { "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**Date:** 2024-02-29\n**Time:** 10:00 AM\n**Visit Number:** 6\n\n**Chief Complaint:** Follow-up for foot pain.\n\n**History of Present Illness:** The patient reports o...
G5763
Nervous System
**Progress Note** **Patient:** John Doe **Date:** 2024-02-29 **Time:** 10:00 AM **Visit Number:** 6 **Chief Complaint:** Follow-up for foot pain. **History of Present Illness:** The patient reports ongoing pain in the plantar aspect of both feet, which he describes as a burning sensation. The pain is present through...
[ { "role": "user", "content": "Assign the appropriate ICD-10-CM diagnosis code for this patient:\n\n**SOAP Note**\n\n**Patient:** [Patient Name]\n**Date:** October 26, 2023\n**Time:** 10:30 AM\n**MRN:** [Patient MRN]\n\n**S: Subjective**\n\nThe patient is an 80-year-old male presenting for evaluation of chro...
G5773
Nervous System
**SOAP Note** **Patient:** [Patient Name] **Date:** October 26, 2023 **Time:** 10:30 AM **MRN:** [Patient MRN] **S: Subjective** The patient is an 80-year-old male presenting for evaluation of chronic pain in the lower extremities. He reports a history of bilateral lower limb pain that began approximately 6 months a...
[ { "role": "user", "content": "Based on the clinical information below, identify the ICD-10-CM code:\n\n**Patient:** [Patient Name]\n**MRN:** [Patient MRN]\n**Date:** 2024-02-29\n**Time:** 10:30 AM\n**Attending Physician:** [Your Name]\n\n**Chief Complaint:** Insomnia.\n\n**History of Present Illness:** The ...
G4726
Nervous System
**Patient:** [Patient Name] **MRN:** [Patient MRN] **Date:** 2024-02-29 **Time:** 10:30 AM **Attending Physician:** [Your Name] **Chief Complaint:** Insomnia. **History of Present Illness:** The patient reports a persistent inability to sleep at night and excessive sleepiness during the day. She states that she has b...
[ { "role": "user", "content": "As a medical coder, determine the ICD-10-CM code for this encounter:\n\n**Patient:** Jane Doe\n**Age:** 74\n**Date:** 2024-02-29\n\n**Chief Complaint:** Patient presents today for evaluation of progressive weakness in her hands and feet.\n\n**History of Present Illness:** The p...
G64
Nervous System
**Patient:** Jane Doe **Age:** 74 **Date:** 2024-02-29 **Chief Complaint:** Patient presents today for evaluation of progressive weakness in her hands and feet. **History of Present Illness:** The patient reports that her weakness started approximately 6 months ago, initially affecting her right hand. The weakness ha...
[ { "role": "user", "content": "Review this clinical note and provide the ICD-10-CM diagnosis code:\n\n**SOAP Note**\n\n**Patient:** Jane Doe\n**Age:** 46\n**Date:** 2024-02-29\n\n**S: Subjective**\n\nThe patient presents to the emergency department today complaining of a persistent, non-restorative sleep. Sh...
G4769
Nervous System
**SOAP Note** **Patient:** Jane Doe **Age:** 46 **Date:** 2024-02-29 **S: Subjective** The patient presents to the emergency department today complaining of a persistent, non-restorative sleep. She reports difficulty falling asleep, frequent awakenings throughout the night, and a feeling of exhaustion upon waking. T...
[ { "role": "user", "content": "Identify the primary ICD-10-CM diagnosis code from this clinical note:\n\n**Patient:** John Doe\n**Age:** 54\n**Sex:** Male\n**Date:** 2024-02-29\n\n**Chief Complaint:** Weakness in right leg.\n\n**History of Present Illness:** The patient presents today complaining of weakness...
G8331
Nervous System
**Patient:** John Doe **Age:** 54 **Sex:** Male **Date:** 2024-02-29 **Chief Complaint:** Weakness in right leg. **History of Present Illness:** The patient presents today complaining of weakness in his right leg. He states the weakness began approximately one week ago, following a minor fall while gardening. He desc...
[ { "role": "user", "content": "What ICD-10-CM code best describes this patient's condition?\n\n**SOAP Note**\n\n**Patient:** John Doe\n**Date:** 2024-02-29\n\n**S: Subjective**\n\nThe patient is a 81-year-old male presenting today for a follow-up appointment. He reports that he has been experiencing pain and...
G90513
Nervous System
**SOAP Note** **Patient:** John Doe **Date:** 2024-02-29 **S: Subjective** The patient is a 81-year-old male presenting today for a follow-up appointment. He reports that he has been experiencing pain and discomfort in his upper extremities for the past 6 months. The pain is described as burning and aching, and it i...
[ { "role": "user", "content": "Provide the ICD-10-CM classification code for the following clinical scenario:\n\n**CONSULTATION NOTE**\n\n**Patient:** [Patient Name]\n**Date:** 2024-02-29\n**Referring Physician:** [Referring Physician Name]\n**Date of Visit:** 2024-02-29\n\n**Chief Complaint:** The patient r...
G4731
Nervous System
**CONSULTATION NOTE** **Patient:** [Patient Name] **Date:** 2024-02-29 **Referring Physician:** [Referring Physician Name] **Date of Visit:** 2024-02-29 **Chief Complaint:** The patient reports excessive daytime sleepiness and witnessed apneas during sleep. **History of Present Illness:** The patient states that she...
[ { "role": "user", "content": "Determine the correct ICD-10-CM billing code for this clinical encounter:\n\n**Patient:** John Smith\n**Date:** 2024-02-29\n**Time:** 10:00 AM\n**Visit Duration:** 15 minutes\n\n**Chief Complaint:** The patient reports progressive muscle weakness, particularly in the proximal m...
G729
Nervous System
**Patient:** John Smith **Date:** 2024-02-29 **Time:** 10:00 AM **Visit Duration:** 15 minutes **Chief Complaint:** The patient reports progressive muscle weakness, particularly in the proximal muscles of his upper and lower extremities. **History of Present Illness:** The patient states that the weakness began appro...
[ { "role": "user", "content": "Given the following clinical note, predict the ICD-10-CM diagnosis code:\n\n**Patient:** [Patient Name]\n**Date:** 2024-02-29\n**Time:** 10:00 AM\n**Visit Type:** Follow-up\n\n**Chief Complaint:** Follow-up for gait disturbance and cognitive decline.\n\n**History of Present Ill...
G912
Nervous System
**Patient:** [Patient Name] **Date:** 2024-02-29 **Time:** 10:00 AM **Visit Type:** Follow-up **Chief Complaint:** Follow-up for gait disturbance and cognitive decline. **History of Present Illness:** The patient presents today for a follow-up appointment regarding her progressive gait disturbance and cognitive decli...
[ { "role": "user", "content": "What is the correct ICD-10-CM code for this clinical encounter?\n\n**Patient:** Jane Doe\n**DOB:** 1972-05-10\n**MRN:** 1234567\n**Date of Visit:** 2024-02-29\n\n**Chief Complaint:** Follow-up for neurological symptoms.\n\n**History of Present Illness:** The patient presents to...
G467
Nervous System
**Patient:** Jane Doe **DOB:** 1972-05-10 **MRN:** 1234567 **Date of Visit:** 2024-02-29 **Chief Complaint:** Follow-up for neurological symptoms. **History of Present Illness:** The patient presents today for a follow-up visit regarding persistent neurological symptoms. She reports a gradual onset of symptoms over t...
[ { "role": "user", "content": "Assign the appropriate ICD-10-CM diagnosis code for this patient:\n\n**CONSULTATION NOTE**\n\n**Patient:** [Patient Name]\n**Date:** October 26, 2023\n**Referring Physician:** [Referring Physician Name]\n\n**Chief Complaint:** The patient presents today for evaluation of cognit...
G308
Nervous System
**CONSULTATION NOTE** **Patient:** [Patient Name] **Date:** October 26, 2023 **Referring Physician:** [Referring Physician Name] **Chief Complaint:** The patient presents today for evaluation of cognitive decline. **History of Present Illness:** The patient reports a gradual decline in cognitive function over the pa...
[ { "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:** Neurology\n\n**Chief Complaint:** The patient presents today with a progressive difficulty with eye movements and balance.\n...
G231
Nervous System
**Patient:** Jane Doe **Date:** 2024-02-29 **Time:** 10:00 AM **Visit Type:** Neurology **Chief Complaint:** The patient presents today with a progressive difficulty with eye movements and balance. **History of Present Illness:** The patient reports a gradual onset of symptoms over the past 6 months. She describes a ...
[ { "role": "user", "content": "As a medical coder, determine the ICD-10-CM code for this encounter:\n\n**Patient:** [Patient Name]\n**MRN:** [Patient MRN]\n**Date:** 2024-02-29\n**Time:** 10:00 AM\n**Visit Type:** Follow-up\n\n**Chief Complaint:** Follow-up for numbness in hands.\n\n**History of Present Illn...
G5623
Nervous System
**Patient:** [Patient Name] **MRN:** [Patient MRN] **Date:** 2024-02-29 **Time:** 10:00 AM **Visit Type:** Follow-up **Chief Complaint:** Follow-up for numbness in hands. **History of Present Illness:** The patient presents today for a follow-up visit regarding numbness in his hands. The patient states that the numbn...
[ { "role": "user", "content": "Review this clinical note and provide the ICD-10-CM diagnosis code:\n\n**Patient:** [Patient Name]\n**Date:** 2024-02-29\n**Time:** 10:30 AM\n**Visit Type:** Routine\n\n**Chief Complaint:** Headaches.\n\n**History of Present Illness:** The patient reports a history of headaches...
G43701
Nervous System
**Patient:** [Patient Name] **Date:** 2024-02-29 **Time:** 10:30 AM **Visit Type:** Routine **Chief Complaint:** Headaches. **History of Present Illness:** The patient reports a history of headaches, which have been occurring for several years. She describes the headaches as cyclical, with periods of frequent occurre...
[ { "role": "user", "content": "Identify the primary ICD-10-CM diagnosis code from this clinical note:\n\n**Progress Note**\n\n**Patient:** Jane Doe\n**Date:** 2024-02-29\n**Time:** 10:00 AM\n**H&P:**\n\nThe patient presents today with a chief complaint of persistent, unilateral facial numbness and tingling, ...
G521
Nervous System
**Progress Note** **Patient:** Jane Doe **Date:** 2024-02-29 **Time:** 10:00 AM **H&P:** The patient presents today with a chief complaint of persistent, unilateral facial numbness and tingling, primarily on the right side of her face. She reports this has been ongoing for approximately 6 months, gradually worsening ...
[ { "role": "user", "content": "What ICD-10-CM code best describes this patient's condition?\n\n**Consultation Note**\n\n**Patient:** John Doe\n**Age:** 83\n**Date:** 2024-10-27\n\n**Chief Complaint:** Patient presents with a persistent, intermittent, and often painful neck stiffness and torticollis.\n\n**His...
G243
Nervous System
**Consultation Note** **Patient:** John Doe **Age:** 83 **Date:** 2024-10-27 **Chief Complaint:** Patient presents with a persistent, intermittent, and often painful neck stiffness and torticollis. **History of Present Illness:** The patient reports a gradual onset of neck pain approximately 3 weeks ago, initially m...
[ { "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**MRN:** 1234567\n**Date:** 2024-02-29\n\n**Chief Complaint:** Patient reports numbness and weakness in the right hand and forearm.\n\n**History of Pres...
G588
Nervous System
**Progress Note** **Patient:** John Doe **MRN:** 1234567 **Date:** 2024-02-29 **Chief Complaint:** Patient reports numbness and weakness in the right hand and forearm. **History of Present Illness:** The patient reports a gradual onset of symptoms over the past 3 months. The right hand numbness started approximately...
[ { "role": "user", "content": "Determine the correct ICD-10-CM billing code for this clinical encounter:\n\n**Consultation Note**\n\n**Patient:** John Doe\n**Age:** 34\n**Date:** 2024-02-29\n\n**Chief Complaint:** Patient presents today for evaluation of persistent, unilateral facial numbness and difficulty ...
G521
Nervous System
**Consultation Note** **Patient:** John Doe **Age:** 34 **Date:** 2024-02-29 **Chief Complaint:** Patient presents today for evaluation of persistent, unilateral facial numbness and difficulty swallowing. **History of Present Illness:** The patient reports a gradual onset of facial numbness, primarily on the right s...
[ { "role": "user", "content": "Given the following clinical note, predict the ICD-10-CM diagnosis code:\n\n**Patient:** Jane Doe\n**Age:** 49\n**Date:** 2024-02-29\n\n**Chief Complaint:** Insomnia\n\n**History of Present Illness:** The patient reports a chronic difficulty falling asleep and waking up too ear...
G4721
Nervous System
**Patient:** Jane Doe **Age:** 49 **Date:** 2024-02-29 **Chief Complaint:** Insomnia **History of Present Illness:** The patient reports a chronic difficulty falling asleep and waking up too early. She describes a persistent sleep-wake cycle that is approximately 3 hours later than what is considered "normal" for her...
[ { "role": "user", "content": "What is the correct ICD-10-CM code for this clinical encounter?\n\n**Patient:** Jane Doe\n**MRN:** 1234567\n**Date:** 2024-02-29\n**Time:** 10:00 AM\n**Attending Physician:** Dr. [Your Name]\n\n**Chief Complaint:** Headaches.\n\n**History of Present Illness:** The patient prese...
G43E19
Nervous System
**Patient:** Jane Doe **MRN:** 1234567 **Date:** 2024-02-29 **Time:** 10:00 AM **Attending Physician:** Dr. [Your Name] **Chief Complaint:** Headaches. **History of Present Illness:** The patient presents with a history of chronic headaches. The headaches are described as debilitating and significantly impact her dai...
[ { "role": "user", "content": "Assign the appropriate ICD-10-CM diagnosis code for this patient:\n\n**SOAP Note**\n\n**Patient:** [Patient Name]\n**DOB:** [Patient DOB]\n**Date of Service:** 2024-02-29\n\n**S: Subjective**\n\nPatient presents today for evaluation of recurrent seizure-like events. The patient...
G40501
Nervous System
**SOAP Note** **Patient:** [Patient Name] **DOB:** [Patient DOB] **Date of Service:** 2024-02-29 **S: Subjective** Patient presents today for evaluation of recurrent seizure-like events. The patient reports that these events began approximately 6 months ago, initially occurring once a month. The events have been inc...
[ { "role": "user", "content": "Based on the clinical information below, identify the ICD-10-CM code:\n\n**SOAP Note**\n\n**Patient:** [Patient Name]\n**Date:** 2024-02-29\n**Time:** 10:00 AM\n**Location:** Rehabilitation Center\n\n**S: Subjective**\n\nThe patient is a 65-year-old female presenting to the reh...
G114
Nervous System
**SOAP Note** **Patient:** [Patient Name] **Date:** 2024-02-29 **Time:** 10:00 AM **Location:** Rehabilitation Center **S: Subjective** The patient is a 65-year-old female presenting to the rehabilitation center for continued management of a chronic neurological condition. She reports a gradual onset of progressive ...
[ { "role": "user", "content": "As a medical coder, determine the ICD-10-CM code for this encounter:\n\n**Patient:** [Patient Name]\n**Date of Service:** 2024-02-29\n**Time:** 14:35\n**Location:** Urgent Care\n\n**Chief Complaint:** Progressive vision problems.\n\n**History of Present Illness:** The patient p...
G231
Nervous System
**Patient:** [Patient Name] **Date of Service:** 2024-02-29 **Time:** 14:35 **Location:** Urgent Care **Chief Complaint:** Progressive vision problems. **History of Present Illness:** The patient presented today complaining of difficulty with eye movements, specifically with upward gaze. He reports that he has had th...
[ { "role": "user", "content": "Review this clinical note and provide the ICD-10-CM diagnosis code:\n\n**SOAP Note**\n\n**Patient:** John Doe\n**Date:** 2024-02-29\n**Time:** 10:00 AM\n**Visit Type:** Follow-up\n\n**S: Subjective**\n\nThe patient is a 63-year-old male presenting for a follow-up visit. He repo...
G4725
Nervous System
**SOAP Note** **Patient:** John Doe **Date:** 2024-02-29 **Time:** 10:00 AM **Visit Type:** Follow-up **S: Subjective** The patient is a 63-year-old male presenting for a follow-up visit. He reports that he has been experiencing difficulty adjusting to changes in his sleep schedule. He states that he is typically a ...
[ { "role": "user", "content": "Identify the primary ICD-10-CM diagnosis code from this clinical note:\n\n**SOAP Note**\n\n**Patient:** John Doe\n**Age:** 72\n**Date:** 2024-02-29\n\n**S: Subjective**\n\nThe patient is a 72-year-old male presenting to the inpatient ward with a 3-day history of progressive hea...
G062
Nervous System
**SOAP Note** **Patient:** John Doe **Age:** 72 **Date:** 2024-02-29 **S: Subjective** The patient is a 72-year-old male presenting to the inpatient ward with a 3-day history of progressive headache, nausea, and vomiting. He reports the headache began as a mild, generalized ache and has escalated in severity over th...
[ { "role": "user", "content": "What ICD-10-CM code best describes this patient's condition?\n\n**Patient:** Jane Doe\n**Date:** 2024-02-29\n**Time:** 10:30 AM\n**Provider:** [Your Name]\n\n**Chief Complaint:** Insomnia\n\n**History of Present Illness:**\n\nThe patient reports difficulty falling asleep and st...
G4701
Nervous System
**Patient:** Jane Doe **Date:** 2024-02-29 **Time:** 10:30 AM **Provider:** [Your Name] **Chief Complaint:** Insomnia **History of Present Illness:** The patient reports difficulty falling asleep and staying asleep for the past 3 months. She describes the onset as gradual, beginning with occasional difficulty windin...
[ { "role": "user", "content": "Provide the ICD-10-CM classification code for the following clinical scenario:\n\n**Consultation Note**\n\n**Patient:** [Patient Name]\n**Date:** 2024-02-29\n**Time:** 10:00 AM\n**Referring Physician:** [Referring Physician Name]\n\n**Chief Complaint:** Follow-up for neurologic...
G230
Nervous System
**Consultation Note** **Patient:** [Patient Name] **Date:** 2024-02-29 **Time:** 10:00 AM **Referring Physician:** [Referring Physician Name] **Chief Complaint:** Follow-up for neurological symptoms. **History of Present Illness:** The patient presents for a follow-up appointment to discuss her ongoing neurological ...
[ { "role": "user", "content": "Determine the correct ICD-10-CM billing code for this clinical encounter:\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 a follow-up appointment. He reports a history of progressively worsening...
G360
Nervous System
**Progress Note** **Patient:** John Doe **Date:** 2024-02-29 **Time:** 10:00 AM **H&P:** The patient presents today for a follow-up appointment. He reports a history of progressively worsening weakness in his legs, which began approximately two months ago. The weakness has been described as "heavy" and has made it di...
[ { "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 Number:** 1\n\n**Chief Complaint:** Headache\n\n**History of Present Illness:** The patient reports a persistent, generaliz...
G932
Nervous System
**Patient:** [Patient Name] **Date:** 2024-10-27 **Time:** 10:30 AM **Visit Number:** 1 **Chief Complaint:** Headache **History of Present Illness:** The patient reports a persistent, generalized headache for the past 3 weeks. The headaches are described as a dull ache, primarily located in the frontal region, but so...
[ { "role": "user", "content": "What is the correct ICD-10-CM code for this clinical encounter?\n\n**Patient:** John Smith\n**Date:** 2024-02-29\n**Time:** 10:00 AM\n**Location:** Rehabilitation Center\n\n**Chief Complaint:** Patient presents with complaints of lower back pain and bilateral leg weakness.\n\n*...
G544
Nervous System
**Patient:** John Smith **Date:** 2024-02-29 **Time:** 10:00 AM **Location:** Rehabilitation Center **Chief Complaint:** Patient presents with complaints of lower back pain and bilateral leg weakness. **History of Present Illness:** The patient reports a gradual onset of lower back pain over the past 6 months, initia...
[ { "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:** 2024-02-29\n**Time:** 10:00 AM\n**Visit Number:** 1\n\n**Chief Complaint:** Headaches\n\n**History of Present Illness:** The patient presents today w...
G44219
Nervous System
**Progress Note** **Patient:** [Patient Name] **Date:** 2024-02-29 **Time:** 10:00 AM **Visit Number:** 1 **Chief Complaint:** Headaches **History of Present Illness:** The patient presents today with complaints of episodic headaches. She reports experiencing headaches approximately 2-3 times per month for the past ...
[ { "role": "user", "content": "Based on the clinical information below, identify the ICD-10-CM code:\n\n**SOAP Note**\n\n**Patient:** John Doe\n**Date:** 2024-02-29\n**Time:** 10:00 AM\n**Visit Type:** Routine\n\n**S: Subjective**\n\nThe patient is a 53-year-old male presenting today for a routine check-up. ...
G2401
Nervous System
**SOAP Note** **Patient:** John Doe **Date:** 2024-02-29 **Time:** 10:00 AM **Visit Type:** Routine **S: Subjective** The patient is a 53-year-old male presenting today for a routine check-up. He reports a gradual onset of involuntary movements, primarily in his lower extremities. These movements are described as "j...
[ { "role": "user", "content": "As a medical coder, determine the ICD-10-CM code for this encounter:\n\n**Patient:** John Doe\n**Age:** 65\n**Sex:** Male\n**Date:** 2024-02-29\n\n**Chief Complaint:** Insomnia\n\n**History of Present Illness:** The patient reports a chronic difficulty falling asleep and stayin...
G478
Nervous System
**Patient:** John Doe **Age:** 65 **Sex:** Male **Date:** 2024-02-29 **Chief Complaint:** Insomnia **History of Present Illness:** The patient reports a chronic difficulty falling asleep and staying asleep for the past 6 months. He states he typically goes to bed around 11 PM and is awake by 4 AM. He describes the sl...
[ { "role": "user", "content": "Review this clinical note and provide the ICD-10-CM diagnosis code:\n\n**Consultation Note**\n\n**Patient:** Jane Doe\n**Age:** 47\n**Date:** 2024-02-29\n\n**Chief Complaint:** Patient presents today for evaluation of bilateral lower extremity weakness and numbness.\n\n**Histor...
G5783
Nervous System
**Consultation Note** **Patient:** Jane Doe **Age:** 47 **Date:** 2024-02-29 **Chief Complaint:** Patient presents today for evaluation of bilateral lower extremity weakness and numbness. **History of Present Illness:** The patient reports a gradual onset of weakness and numbness in both legs, beginning approximatel...
[ { "role": "user", "content": "Identify the primary ICD-10-CM diagnosis code from this clinical note:\n\n**Patient:** [Patient Name]\n**Age:** 18\n**Date:** 2024-02-29\n**Time:** 14:30\n**Location:** Inpatient Ward\n\n**Chief Complaint:** Patient presents with altered mental status and progressive neurologic...
G9389
Nervous System
**Patient:** [Patient Name] **Age:** 18 **Date:** 2024-02-29 **Time:** 14:30 **Location:** Inpatient Ward **Chief Complaint:** Patient presents with altered mental status and progressive neurological deficits. **History of Present Illness:** The patient initially presented to the emergency department on 2024-02-28 wi...
[ { "role": "user", "content": "What ICD-10-CM code best describes this patient's condition?\n\n**Patient:** Jane Doe\n**Age:** 46\n**Gender:** Female\n**Date:** 2024-10-27\n\n**Chief Complaint:** \"I've been having these strange shaking episodes, and they're getting more frequent.\"\n\n**History of Present I...
G2583
Nervous System
**Patient:** Jane Doe **Age:** 46 **Gender:** Female **Date:** 2024-10-27 **Chief Complaint:** "I've been having these strange shaking episodes, and they're getting more frequent." **History of Present Illness:** The patient reports experiencing episodes of involuntary shaking, primarily in her hands and arms. These ...
[ { "role": "user", "content": "Provide the ICD-10-CM classification code for the following clinical scenario:\n\n**Patient:** Jane Doe\n**Date:** 2024-02-29\n**Time:** 10:00 AM\n**Visit Type:** Routine Check-up\n\n**Chief Complaint:** Patient presents today for a routine check-up.\n\n**History of Present Ill...
G119
Nervous System
**Patient:** Jane Doe **Date:** 2024-02-29 **Time:** 10:00 AM **Visit Type:** Routine Check-up **Chief Complaint:** Patient presents today for a routine check-up. **History of Present Illness:** Patient reports a progressive, insidious onset of balance difficulties over the past 6 months. She describes a feeling of u...
[ { "role": "user", "content": "Determine the correct ICD-10-CM billing code for this clinical encounter:\n\n**Progress Note**\n\n**Patient:** Jane Doe\n**DOB:** 1976-05-10\n**MRN:** 1234567\n**Date:** 2024-02-29\n**Time:** 14:30\n\n**Chief Complaint:** Severe headache and hypertension.\n\n**History of Presen...
G904
Nervous System
**Progress Note** **Patient:** Jane Doe **DOB:** 1976-05-10 **MRN:** 1234567 **Date:** 2024-02-29 **Time:** 14:30 **Chief Complaint:** Severe headache and hypertension. **History of Present Illness:** The patient presented to the Emergency Department today complaining of a severe, sudden onset headache, described as...
[ { "role": "user", "content": "Given the following clinical note, predict the ICD-10-CM diagnosis code:\n\n**SOAP Note**\n\n**Patient:** [Patient Name]\n**Date:** 2024-02-29\n**Time:** 10:30 AM\n**Location:** Inpatient Ward\n\n**S: Subjective**\n\nThe patient presents to the ward today complaining of a heada...
G4486
Nervous System
**SOAP Note** **Patient:** [Patient Name] **Date:** 2024-02-29 **Time:** 10:30 AM **Location:** Inpatient Ward **S: Subjective** The patient presents to the ward today complaining of a headache that began approximately two weeks ago. The headache is described as a dull, aching pain primarily located in the neck and ...
[ { "role": "user", "content": "What is the correct ICD-10-CM code for this clinical encounter?\n\n**Patient:** John Doe\n**DOB:** 1957-05-10\n**Age:** 66\n**Sex:** Male\n**Date of Visit:** 2024-02-29\n\n**Chief Complaint:** Seizures.\n\n**History of Present Illness:** The patient reports a history of seizure...
G40A01
Nervous System
**Patient:** John Doe **DOB:** 1957-05-10 **Age:** 66 **Sex:** Male **Date of Visit:** 2024-02-29 **Chief Complaint:** Seizures. **History of Present Illness:** The patient reports a history of seizures, which he describes as "brief, unprovoked episodes of altered consciousness" lasting approximately 15-30 seconds. H...
[ { "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\nThe patient presents today with complaints of pain in his left lower extremity. He reports that the pain began approximately 6...
G90529
Nervous System
**Patient:** [Patient Name] **Date:** 2024-02-29 **Time:** 10:00 AM **H&P:** The patient presents today with complaints of pain in his left lower extremity. He reports that the pain began approximately 6 months ago after a minor ankle sprain. The pain is described as burning and aching, and it is exacerbated by activi...
[ { "role": "user", "content": "Based on the clinical information below, identify the ICD-10-CM code:\n\n**Patient:** John Doe\n**Date:** 2024-02-29\n**Time:** 10:00 AM\n**Visit Type:** Follow-up\n\n**Chief Complaint:** Headache.\n\n**History of Present Illness:** The patient reports a severe headache that be...
G001
Nervous System
**Patient:** John Doe **Date:** 2024-02-29 **Time:** 10:00 AM **Visit Type:** Follow-up **Chief Complaint:** Headache. **History of Present Illness:** The patient reports a severe headache that began approximately 3 days ago. The headache is described as a generalized, throbbing pain, and is rated as 7/10 in severity...
[ { "role": "user", "content": "As a medical coder, determine the ICD-10-CM code for this encounter:\n\n**Patient:** Jane Doe\n**DOB:** 01/01/1953\n**MRN:** 1234567\n**Date:** 2024-10-27\n\n**Chief Complaint:** Follow-up for neurological symptoms.\n\n**History of Present Illness:** The patient presents for fo...
G0401
Nervous System
**Patient:** Jane Doe **DOB:** 01/01/1953 **MRN:** 1234567 **Date:** 2024-10-27 **Chief Complaint:** Follow-up for neurological symptoms. **History of Present Illness:** The patient presents for follow-up regarding a recent neurological illness. She reports onset of symptoms approximately 3 months ago, following a vi...
[ { "role": "user", "content": "Review this clinical note and provide the ICD-10-CM diagnosis code:\n\n**Patient:** [Patient Name]\n**DOB:** [Patient DOB]\n**MRN:** [Patient MRN]\n**Date:** 2024-10-27\n**Time:** 14:30\n**Setting:** Urgent Care\n\n**Chief Complaint:** Headache\n\n**History of Present Illness:*...
G468
Nervous System
**Patient:** [Patient Name] **DOB:** [Patient DOB] **MRN:** [Patient MRN] **Date:** 2024-10-27 **Time:** 14:30 **Setting:** Urgent Care **Chief Complaint:** Headache **History of Present Illness:** The patient presented to the urgent care today complaining of a sudden onset, severe headache that began approximately 4...
[ { "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**Provider:** [Your Name], MD\n\n**S: Subjective**\n\nThe patient is a 67-year-old female presenting to the rehabili...
G721
Nervous System
**SOAP Note** **Patient:** [Patient Name] **Date:** 2024-02-29 **Time:** 10:00 AM **Provider:** [Your Name], MD **S: Subjective** The patient is a 67-year-old female presenting to the rehabilitation center for continued care following a recent hospitalization for alcohol withdrawal. She reports a history of chronic ...
End of preview. Expand in Data Studio

MedGemma ICD-10 Clinical Notes Dataset

Synthetic clinical notes (english) generated by MedGemma-4B-IT for fine-tuning ICD-10-CM diagnosis code prediction models. Focused on Chapter 6: Diseases of the Nervous System (G00-G99).

Dataset Summary

Split Examples Unique ICD-10 Codes
Train 3,325 665
Eval 250 50

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 665 billable G-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 β€” ED, outpatient neurology, inpatient, primary care, urgent care, rehab, follow-up
  • 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 ~25 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: G57.72\nDiagnosis: Causalgia of left lower limb\nShort: Causalgia of left lower limb"
    }
  ],
  "code": "G5772",
  "category": "Nervous 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 "Nervous System" for this dataset
clinical_note The generated clinical note (same text embedded in the user message)

Clinical Note Statistics

Metric Value
Average length 1,898 characters (~265 words)
Minimum length 1,004 characters (~152 words)
Maximum length 2,728 characters (~445 words)
Note styles SOAP, H&P, progress, consultation, assessment
Augmentation 5 notes per ICD-10 code

ICD-10 Coverage

  • Chapter: 6 β€” Diseases of the Nervous System
  • Code range: G00–G99
  • Total billable codes: 665
  • Source: CMS ICD-10-CM 2026 code descriptions (icd10cm_order_2026.txt)

Covers conditions including:

  • Meningitis & encephalitis (G00-G09)
  • Parkinson's disease & movement disorders (G20-G26)
  • Epilepsy & seizure disorders (G40-G47)
  • Migraine & headache syndromes (G43-G44)
  • Nerve, nerve root & plexus disorders (G50-G59)
  • Polyneuropathies (G60-G65)
  • Myasthenia gravis & myopathies (G70-G73)
  • Cerebral palsy & paralytic syndromes (G80-G83)

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 Nervous System (G00-G99), 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

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
15

Models trained or fine-tuned on singhankit16/ICD-10-LLM-generated-Synthetic-Clinical-Note-G00-G99