dafesmi/medical-ehr-gepa
Updated
query
stringlengths 23
54
| expected_answer
stringlengths 21
76
| expected_strategy
stringclasses 1
value | expected_snomed_codes
listlengths 1
3
| expected_demographics
dict | expected_neo4j_count
int64 8
156
| query_complexity
stringclasses 1
value | medical_category
stringclasses 8
values | expected_excluded_conditions
listlengths 0
0
|
|---|---|---|---|---|---|---|---|---|
Find patients with memory issues
|
Found 21 patients with memory issues (SNOMED: 26929004, 230265002, 52448006)
|
ENRICHMENT
|
[
"26929004",
"230265002",
"52448006"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 21
|
simple
|
neurological
|
[] |
How many patients have memory issues?
|
21 patients have memory issues
|
ENRICHMENT
|
[
"26929004",
"230265002",
"52448006"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 21
|
simple
|
neurological
|
[] |
List all patients diagnosed with memory issues
|
Patient list for memory issues: 21 total patients
|
ENRICHMENT
|
[
"26929004",
"230265002",
"52448006"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 21
|
simple
|
neurological
|
[] |
Show me patients who have memory issues
|
Displaying 21 patients with memory issues
|
ENRICHMENT
|
[
"26929004",
"230265002",
"52448006"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 21
|
simple
|
neurological
|
[] |
Give me a list of patients with memory issues
|
Patient list: 21 patients with memory issues
|
ENRICHMENT
|
[
"26929004",
"230265002",
"52448006"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 21
|
simple
|
neurological
|
[] |
Find patients with Alzheimer's disease
|
Found 18 patients with Alzheimer's disease (SNOMED: 26929004)
|
ENRICHMENT
|
[
"26929004"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 18
|
simple
|
neurological
|
[] |
How many patients have Alzheimer's disease?
|
18 patients have Alzheimer's disease
|
ENRICHMENT
|
[
"26929004"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 18
|
simple
|
neurological
|
[] |
List all patients diagnosed with Alzheimer's disease
|
Patient list for Alzheimer's disease: 18 total patients
|
ENRICHMENT
|
[
"26929004"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 18
|
simple
|
neurological
|
[] |
Show me patients who have Alzheimer's disease
|
Displaying 18 patients with Alzheimer's disease
|
ENRICHMENT
|
[
"26929004"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 18
|
simple
|
neurological
|
[] |
Give me a list of patients with Alzheimer's disease
|
Patient list: 18 patients with Alzheimer's disease
|
ENRICHMENT
|
[
"26929004"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 18
|
simple
|
neurological
|
[] |
Find patients with dementia
|
Found 23 patients with dementia (SNOMED: 52448006)
|
ENRICHMENT
|
[
"52448006"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 23
|
simple
|
neurological
|
[] |
How many patients have dementia?
|
23 patients have dementia
|
ENRICHMENT
|
[
"52448006"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 23
|
simple
|
neurological
|
[] |
List all patients diagnosed with dementia
|
Patient list for dementia: 23 total patients
|
ENRICHMENT
|
[
"52448006"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 23
|
simple
|
neurological
|
[] |
Show me patients who have dementia
|
Displaying 23 patients with dementia
|
ENRICHMENT
|
[
"52448006"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 23
|
simple
|
neurological
|
[] |
Give me a list of patients with dementia
|
Patient list: 23 patients with dementia
|
ENRICHMENT
|
[
"52448006"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 23
|
simple
|
neurological
|
[] |
Find patients with stroke
|
Found 15 patients with stroke (SNOMED: 230690007)
|
ENRICHMENT
|
[
"230690007"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 15
|
simple
|
neurological
|
[] |
How many patients have stroke?
|
15 patients have stroke
|
ENRICHMENT
|
[
"230690007"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 15
|
simple
|
neurological
|
[] |
List all patients diagnosed with stroke
|
Patient list for stroke: 15 total patients
|
ENRICHMENT
|
[
"230690007"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 15
|
simple
|
neurological
|
[] |
Show me patients who have stroke
|
Displaying 15 patients with stroke
|
ENRICHMENT
|
[
"230690007"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 15
|
simple
|
neurological
|
[] |
Give me a list of patients with stroke
|
Patient list: 15 patients with stroke
|
ENRICHMENT
|
[
"230690007"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 15
|
simple
|
neurological
|
[] |
Find patients with Parkinson's disease
|
Found 8 patients with Parkinson's disease (SNOMED: 49049000)
|
ENRICHMENT
|
[
"49049000"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 8
|
simple
|
neurological
|
[] |
How many patients have Parkinson's disease?
|
8 patients have Parkinson's disease
|
ENRICHMENT
|
[
"49049000"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 8
|
simple
|
neurological
|
[] |
List all patients diagnosed with Parkinson's disease
|
Patient list for Parkinson's disease: 8 total patients
|
ENRICHMENT
|
[
"49049000"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 8
|
simple
|
neurological
|
[] |
Show me patients who have Parkinson's disease
|
Displaying 8 patients with Parkinson's disease
|
ENRICHMENT
|
[
"49049000"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 8
|
simple
|
neurological
|
[] |
Give me a list of patients with Parkinson's disease
|
Patient list: 8 patients with Parkinson's disease
|
ENRICHMENT
|
[
"49049000"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 8
|
simple
|
neurological
|
[] |
Find patients with headache
|
Found 45 patients with headache (SNOMED: 25064002)
|
ENRICHMENT
|
[
"25064002"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 45
|
simple
|
neurological
|
[] |
How many patients have headache?
|
45 patients have headache
|
ENRICHMENT
|
[
"25064002"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 45
|
simple
|
neurological
|
[] |
List all patients diagnosed with headache
|
Patient list for headache: 45 total patients
|
ENRICHMENT
|
[
"25064002"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 45
|
simple
|
neurological
|
[] |
Show me patients who have headache
|
Displaying 45 patients with headache
|
ENRICHMENT
|
[
"25064002"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 45
|
simple
|
neurological
|
[] |
Give me a list of patients with headache
|
Patient list: 45 patients with headache
|
ENRICHMENT
|
[
"25064002"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 45
|
simple
|
neurological
|
[] |
Find patients with migraine
|
Found 28 patients with migraine (SNOMED: 37796009)
|
ENRICHMENT
|
[
"37796009"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 28
|
simple
|
neurological
|
[] |
How many patients have migraine?
|
28 patients have migraine
|
ENRICHMENT
|
[
"37796009"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 28
|
simple
|
neurological
|
[] |
List all patients diagnosed with migraine
|
Patient list for migraine: 28 total patients
|
ENRICHMENT
|
[
"37796009"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 28
|
simple
|
neurological
|
[] |
Show me patients who have migraine
|
Displaying 28 patients with migraine
|
ENRICHMENT
|
[
"37796009"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 28
|
simple
|
neurological
|
[] |
Give me a list of patients with migraine
|
Patient list: 28 patients with migraine
|
ENRICHMENT
|
[
"37796009"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 28
|
simple
|
neurological
|
[] |
Find patients with seizure
|
Found 12 patients with seizure (SNOMED: 91175000)
|
ENRICHMENT
|
[
"91175000"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 12
|
simple
|
neurological
|
[] |
How many patients have seizure?
|
12 patients have seizure
|
ENRICHMENT
|
[
"91175000"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 12
|
simple
|
neurological
|
[] |
List all patients diagnosed with seizure
|
Patient list for seizure: 12 total patients
|
ENRICHMENT
|
[
"91175000"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 12
|
simple
|
neurological
|
[] |
Show me patients who have seizure
|
Displaying 12 patients with seizure
|
ENRICHMENT
|
[
"91175000"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 12
|
simple
|
neurological
|
[] |
Give me a list of patients with seizure
|
Patient list: 12 patients with seizure
|
ENRICHMENT
|
[
"91175000"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 12
|
simple
|
neurological
|
[] |
Find patients with chest pain
|
Found 67 patients with chest pain (SNOMED: 29857009)
|
ENRICHMENT
|
[
"29857009"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 67
|
simple
|
cardiovascular
|
[] |
How many patients have chest pain?
|
67 patients have chest pain
|
ENRICHMENT
|
[
"29857009"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 67
|
simple
|
cardiovascular
|
[] |
List all patients diagnosed with chest pain
|
Patient list for chest pain: 67 total patients
|
ENRICHMENT
|
[
"29857009"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 67
|
simple
|
cardiovascular
|
[] |
Show me patients who have chest pain
|
Displaying 67 patients with chest pain
|
ENRICHMENT
|
[
"29857009"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 67
|
simple
|
cardiovascular
|
[] |
Give me a list of patients with chest pain
|
Patient list: 67 patients with chest pain
|
ENRICHMENT
|
[
"29857009"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 67
|
simple
|
cardiovascular
|
[] |
Find patients with shortness of breath
|
Found 89 patients with shortness of breath (SNOMED: 267036007)
|
ENRICHMENT
|
[
"267036007"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 89
|
simple
|
cardiovascular
|
[] |
How many patients have shortness of breath?
|
89 patients have shortness of breath
|
ENRICHMENT
|
[
"267036007"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 89
|
simple
|
cardiovascular
|
[] |
List all patients diagnosed with shortness of breath
|
Patient list for shortness of breath: 89 total patients
|
ENRICHMENT
|
[
"267036007"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 89
|
simple
|
cardiovascular
|
[] |
Show me patients who have shortness of breath
|
Displaying 89 patients with shortness of breath
|
ENRICHMENT
|
[
"267036007"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 89
|
simple
|
cardiovascular
|
[] |
Give me a list of patients with shortness of breath
|
Patient list: 89 patients with shortness of breath
|
ENRICHMENT
|
[
"267036007"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 89
|
simple
|
cardiovascular
|
[] |
Find patients with hypertension
|
Found 156 patients with hypertension (SNOMED: 38341003)
|
ENRICHMENT
|
[
"38341003"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 156
|
simple
|
cardiovascular
|
[] |
How many patients have hypertension?
|
156 patients have hypertension
|
ENRICHMENT
|
[
"38341003"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 156
|
simple
|
cardiovascular
|
[] |
List all patients diagnosed with hypertension
|
Patient list for hypertension: 156 total patients
|
ENRICHMENT
|
[
"38341003"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 156
|
simple
|
cardiovascular
|
[] |
Show me patients who have hypertension
|
Displaying 156 patients with hypertension
|
ENRICHMENT
|
[
"38341003"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 156
|
simple
|
cardiovascular
|
[] |
Give me a list of patients with hypertension
|
Patient list: 156 patients with hypertension
|
ENRICHMENT
|
[
"38341003"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 156
|
simple
|
cardiovascular
|
[] |
Find patients with high blood pressure
|
Found 156 patients with high blood pressure (SNOMED: 38341003)
|
ENRICHMENT
|
[
"38341003"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 156
|
simple
|
cardiovascular
|
[] |
How many patients have high blood pressure?
|
156 patients have high blood pressure
|
ENRICHMENT
|
[
"38341003"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 156
|
simple
|
cardiovascular
|
[] |
List all patients diagnosed with high blood pressure
|
Patient list for high blood pressure: 156 total patients
|
ENRICHMENT
|
[
"38341003"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 156
|
simple
|
cardiovascular
|
[] |
Show me patients who have high blood pressure
|
Displaying 156 patients with high blood pressure
|
ENRICHMENT
|
[
"38341003"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 156
|
simple
|
cardiovascular
|
[] |
Give me a list of patients with high blood pressure
|
Patient list: 156 patients with high blood pressure
|
ENRICHMENT
|
[
"38341003"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 156
|
simple
|
cardiovascular
|
[] |
Find patients with heart failure
|
Found 34 patients with heart failure (SNOMED: 84114007)
|
ENRICHMENT
|
[
"84114007"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 34
|
simple
|
cardiovascular
|
[] |
How many patients have heart failure?
|
34 patients have heart failure
|
ENRICHMENT
|
[
"84114007"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 34
|
simple
|
cardiovascular
|
[] |
List all patients diagnosed with heart failure
|
Patient list for heart failure: 34 total patients
|
ENRICHMENT
|
[
"84114007"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 34
|
simple
|
cardiovascular
|
[] |
Show me patients who have heart failure
|
Displaying 34 patients with heart failure
|
ENRICHMENT
|
[
"84114007"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 34
|
simple
|
cardiovascular
|
[] |
Give me a list of patients with heart failure
|
Patient list: 34 patients with heart failure
|
ENRICHMENT
|
[
"84114007"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 34
|
simple
|
cardiovascular
|
[] |
Find patients with palpitations
|
Found 42 patients with palpitations (SNOMED: 80313002)
|
ENRICHMENT
|
[
"80313002"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 42
|
simple
|
cardiovascular
|
[] |
How many patients have palpitations?
|
42 patients have palpitations
|
ENRICHMENT
|
[
"80313002"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 42
|
simple
|
cardiovascular
|
[] |
List all patients diagnosed with palpitations
|
Patient list for palpitations: 42 total patients
|
ENRICHMENT
|
[
"80313002"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 42
|
simple
|
cardiovascular
|
[] |
Show me patients who have palpitations
|
Displaying 42 patients with palpitations
|
ENRICHMENT
|
[
"80313002"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 42
|
simple
|
cardiovascular
|
[] |
Give me a list of patients with palpitations
|
Patient list: 42 patients with palpitations
|
ENRICHMENT
|
[
"80313002"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 42
|
simple
|
cardiovascular
|
[] |
Find patients with atrial fibrillation
|
Found 29 patients with atrial fibrillation (SNOMED: 49436004)
|
ENRICHMENT
|
[
"49436004"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 29
|
simple
|
cardiovascular
|
[] |
How many patients have atrial fibrillation?
|
29 patients have atrial fibrillation
|
ENRICHMENT
|
[
"49436004"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 29
|
simple
|
cardiovascular
|
[] |
List all patients diagnosed with atrial fibrillation
|
Patient list for atrial fibrillation: 29 total patients
|
ENRICHMENT
|
[
"49436004"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 29
|
simple
|
cardiovascular
|
[] |
Show me patients who have atrial fibrillation
|
Displaying 29 patients with atrial fibrillation
|
ENRICHMENT
|
[
"49436004"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 29
|
simple
|
cardiovascular
|
[] |
Give me a list of patients with atrial fibrillation
|
Patient list: 29 patients with atrial fibrillation
|
ENRICHMENT
|
[
"49436004"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 29
|
simple
|
cardiovascular
|
[] |
Find patients with myocardial infarction
|
Found 18 patients with myocardial infarction (SNOMED: 22298006)
|
ENRICHMENT
|
[
"22298006"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 18
|
simple
|
cardiovascular
|
[] |
How many patients have myocardial infarction?
|
18 patients have myocardial infarction
|
ENRICHMENT
|
[
"22298006"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 18
|
simple
|
cardiovascular
|
[] |
List all patients diagnosed with myocardial infarction
|
Patient list for myocardial infarction: 18 total patients
|
ENRICHMENT
|
[
"22298006"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 18
|
simple
|
cardiovascular
|
[] |
Show me patients who have myocardial infarction
|
Displaying 18 patients with myocardial infarction
|
ENRICHMENT
|
[
"22298006"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 18
|
simple
|
cardiovascular
|
[] |
Give me a list of patients with myocardial infarction
|
Patient list: 18 patients with myocardial infarction
|
ENRICHMENT
|
[
"22298006"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 18
|
simple
|
cardiovascular
|
[] |
Find patients with heart attack
|
Found 18 patients with heart attack (SNOMED: 22298006)
|
ENRICHMENT
|
[
"22298006"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 18
|
simple
|
cardiovascular
|
[] |
How many patients have heart attack?
|
18 patients have heart attack
|
ENRICHMENT
|
[
"22298006"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 18
|
simple
|
cardiovascular
|
[] |
List all patients diagnosed with heart attack
|
Patient list for heart attack: 18 total patients
|
ENRICHMENT
|
[
"22298006"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 18
|
simple
|
cardiovascular
|
[] |
Show me patients who have heart attack
|
Displaying 18 patients with heart attack
|
ENRICHMENT
|
[
"22298006"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 18
|
simple
|
cardiovascular
|
[] |
Give me a list of patients with heart attack
|
Patient list: 18 patients with heart attack
|
ENRICHMENT
|
[
"22298006"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 18
|
simple
|
cardiovascular
|
[] |
Find patients with cough
|
Found 78 patients with cough (SNOMED: 49727002)
|
ENRICHMENT
|
[
"49727002"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 78
|
simple
|
respiratory
|
[] |
How many patients have cough?
|
78 patients have cough
|
ENRICHMENT
|
[
"49727002"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 78
|
simple
|
respiratory
|
[] |
List all patients diagnosed with cough
|
Patient list for cough: 78 total patients
|
ENRICHMENT
|
[
"49727002"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 78
|
simple
|
respiratory
|
[] |
Show me patients who have cough
|
Displaying 78 patients with cough
|
ENRICHMENT
|
[
"49727002"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 78
|
simple
|
respiratory
|
[] |
Give me a list of patients with cough
|
Patient list: 78 patients with cough
|
ENRICHMENT
|
[
"49727002"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 78
|
simple
|
respiratory
|
[] |
Find patients with asthma
|
Found 41 patients with asthma (SNOMED: 195967001)
|
ENRICHMENT
|
[
"195967001"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 41
|
simple
|
respiratory
|
[] |
How many patients have asthma?
|
41 patients have asthma
|
ENRICHMENT
|
[
"195967001"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 41
|
simple
|
respiratory
|
[] |
List all patients diagnosed with asthma
|
Patient list for asthma: 41 total patients
|
ENRICHMENT
|
[
"195967001"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 41
|
simple
|
respiratory
|
[] |
Show me patients who have asthma
|
Displaying 41 patients with asthma
|
ENRICHMENT
|
[
"195967001"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 41
|
simple
|
respiratory
|
[] |
Give me a list of patients with asthma
|
Patient list: 41 patients with asthma
|
ENRICHMENT
|
[
"195967001"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 41
|
simple
|
respiratory
|
[] |
Find patients with COPD
|
Found 31 patients with COPD (SNOMED: 13645005)
|
ENRICHMENT
|
[
"13645005"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 31
|
simple
|
respiratory
|
[] |
How many patients have COPD?
|
31 patients have COPD
|
ENRICHMENT
|
[
"13645005"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 31
|
simple
|
respiratory
|
[] |
List all patients diagnosed with COPD
|
Patient list for COPD: 31 total patients
|
ENRICHMENT
|
[
"13645005"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 31
|
simple
|
respiratory
|
[] |
Show me patients who have COPD
|
Displaying 31 patients with COPD
|
ENRICHMENT
|
[
"13645005"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 31
|
simple
|
respiratory
|
[] |
Give me a list of patients with COPD
|
Patient list: 31 patients with COPD
|
ENRICHMENT
|
[
"13645005"
] |
{
"age_filter": "",
"filter": "",
"gender_filter": ""
}
| 31
|
simple
|
respiratory
|
[] |
Training dataset for Medical EHR GEPA-optimized module.
This dataset contains 382 medical EHR query examples for training DSPy GEPA optimization.
{
"query": "Show me diabetic patients",
"expected_strategy": "ENRICHMENT",
"expected_snomed_codes": ["73211009", "44054006"],
"expected_neo4j_count": 15,
"query_complexity": "simple",
"medical_category": "endocrine"
}
| Split | Examples |
|---|---|
| train | 267 |
| validation | 57 |
| test | 58 |
| Total | 382 |
17 categories covering:
from datasets import load_dataset
dataset = load_dataset("dafesmi/medical-ehr-training-data")
# Access splits
train_data = dataset['train']
val_data = dataset['validation']
test_data = dataset['test']
print(f"Training examples: {len(train_data)}")
Apache 2.0