Dataset Viewer
Auto-converted to Parquet Duplicate
prompt
stringlengths
457
56.9k
prompt_type
stringclasses
3 values
choices
listlengths
5
5
answer_idx
int64
0
4
completion
stringclasses
5 values
id
stringlengths
34
46
You are an assistant tasked with analyzing medical histories to determine which medication is missing from the patient’s current regimen. <PatientData> Demographics: {'race': 'Black or African American', 'gender': 'MALE', 'year of birth': 1999} Visit 1: {'visit': 'Outpatient Visit', 'visit type': 'EHR encounter record...
missing_medication_mcq
[ "Fexofenadine hydrochloride 30 MG Oral Tablet", "diphenhydrAMINE Hydrochloride 25 MG Oral Tablet", "Phenazopyridine hydrochloride 100 MG [Pyridium]", "Norinyl 1+50 28 Day Pack", "Acetaminophen 160 MG" ]
4
E
7632880344774341067missing_medication_mcq
You are an assistant tasked with analyzing medical histories to provide a second opinion on possible future diagnoses. <PatientData> Demographics: {'race': 'Black or African American', 'gender': 'MALE', 'year of birth': 1999} Prior Diagnosis 1: {'condition': 'Otitis media', 'condition status': 'Not Extracted', 'start ...
next_diagnosis_mcq
[ "Acute bronchitis (disorder)", "Bullet wound", "Coronary Heart Disease", "Rupture of patellar tendon", "Fracture of clavicle" ]
0
A
7632880344774341067next_diagnosis_mcq
You are an assistant tasked with analyzing measurement histories to predict the patient's next laboratory or vital sign value. <PatientData> Demographics: {'race': 'Black or African American', 'gender': 'MALE', 'year of birth': 1999} Prior Diagnosis 1: {'condition': 'Acute bronchitis (disorder)', 'condition status': 'N...
next_measurement_value_mcq
[ "187.0", "190.18", "75.81", "94.19", "162.73" ]
0
A
7632880344774341067next_measurement_value_mcq
You are an assistant tasked with analyzing measurement histories to predict the patient's next laboratory or vital sign value. <PatientData> Demographics: {'race': 'Asian', 'gender': 'MALE', 'year of birth': 2016} Last Systolic Blood Pressure measurement on 2017-01-26 00:00:00: {'measurement': 'Systolic Blood Pressure'...
next_measurement_value_mcq
[ "103.0", "134.0", "118.0", "129.0", "112.0" ]
0
A
13786147010275926969next_measurement_value_mcq
You are an assistant tasked with analyzing medical histories to determine which medication is missing from the patient’s current regimen. <PatientData> Demographics: {'race': 'White', 'gender': 'FEMALE', 'year of birth': 1979} Visit 1: {'visit': 'Outpatient Visit', 'visit type': 'EHR encounter record', 'start datetime...
missing_medication_mcq
[ "Tacrine 10 MG Oral Capsule", "Amoxicillin 200 MG Oral Tablet", "Camila 28 Day Pack", "Acetaminophen 300 MG / HYDROcodone Bitartrate 5 MG [Vicodin]", "Fexofenadine hydrochloride 30 MG Oral Tablet" ]
2
C
9007310879013046642missing_medication_mcq
You are an assistant tasked with analyzing medical histories to provide a second opinion on possible future diagnoses. <PatientData> Demographics: {'race': 'White', 'gender': 'FEMALE', 'year of birth': 1979} Prior Diagnosis 1: {'condition': 'Acute viral pharyngitis (disorder)', 'condition status': 'Not Extracted', 'st...
next_diagnosis_mcq
[ "Viral sinusitis (disorder)", "Concussion injury of brain", "Overlapping malignant neoplasm of colon", "Acute allergic reaction", "Laceration of forearm" ]
0
A
9007310879013046642next_diagnosis_mcq
You are an assistant tasked with analyzing measurement histories to predict the patient's next laboratory or vital sign value. <PatientData> Demographics: {'race': 'White', 'gender': 'FEMALE', 'year of birth': 1979} Prior Diagnosis 1: {'condition': 'Acute viral pharyngitis (disorder)', 'condition status': 'Not Extracte...
next_measurement_value_mcq
[ "151.11", "177.94", "177.29", "160.7", "167.87" ]
0
A
9007310879013046642next_measurement_value_mcq
You are an assistant tasked with analyzing medical histories to provide a second opinion on possible future diagnoses. <PatientData> Demographics: {'race': 'White', 'gender': 'FEMALE', 'year of birth': 1956} </PatientData> Based on the trajectory above, which diagnosis is the patient **most likely** to receive by 2007...
next_diagnosis_mcq
[ "Recurrent rectal polyp", "Tubal pregnancy", "Laceration of thigh", "Blindness due to type 2 diabetes mellitus (disorder)", "Prediabetes" ]
4
E
1123022758069007711next_diagnosis_mcq
You are an assistant tasked with analyzing measurement histories to predict the patient's next laboratory or vital sign value. <PatientData> Demographics: {'race': 'White', 'gender': 'FEMALE', 'year of birth': 1956} Prior Diagnosis 1: {'condition': 'Prediabetes', 'condition status': 'Not Extracted', 'start date': '2007...
next_measurement_value_mcq
[ "177.0", "247.0", "198.0", "242.0", "175.0" ]
0
A
1123022758069007711next_measurement_value_mcq
You are an assistant tasked with analyzing medical histories to determine which medication is missing from the patient’s current regimen. <PatientData> Demographics: {'race': 'White', 'gender': 'MALE', 'year of birth': 1993} Visit 1: {'visit': 'Outpatient Visit', 'visit type': 'EHR encounter record', 'start datetime':...
missing_medication_mcq
[ "Tacrine 10 MG Oral Capsule", "oxaliplatin 5 MG/ML [Eloxatin]", "Captopril 25 MG Oral Tablet", "Penicillin V Potassium 250 MG", "Implanon 68 MG Drug Implant" ]
3
D
1286333924602262366missing_medication_mcq
You are an assistant tasked with analyzing medical histories to provide a second opinion on possible future diagnoses. <PatientData> Demographics: {'race': 'White', 'gender': 'MALE', 'year of birth': 1993} Prior Diagnosis 1: {'condition': 'Acute viral pharyngitis (disorder)', 'condition status': 'Not Extracted', 'star...
next_diagnosis_mcq
[ "Primary small cell malignant neoplasm of lung TNM stage 3 (disorder)", "Non-small cell lung cancer (disorder)", "Viral sinusitis (disorder)", "Primary fibromyalgia syndrome", "Coronary Heart Disease" ]
2
C
1286333924602262366next_diagnosis_mcq
You are an assistant tasked with analyzing measurement histories to predict the patient's next laboratory or vital sign value. <PatientData> Demographics: {'race': 'White', 'gender': 'MALE', 'year of birth': 1993} Prior Diagnosis 1: {'condition': 'Acute viral pharyngitis (disorder)', 'condition status': 'Not Extracted'...
next_measurement_value_mcq
[ "20.1", "36.95", "36.94", "11.77", "19.01" ]
2
C
1286333924602262366next_measurement_value_mcq
You are an assistant tasked with analyzing medical histories to determine which medication is missing from the patient’s current regimen. <PatientData> Demographics: {'race': 'White', 'gender': 'MALE', 'year of birth': 1961} Visit 1: {'visit': 'Outpatient Visit', 'visit type': 'EHR encounter record', 'start datetime':...
missing_medication_mcq
[ "Estrostep Fe 28 Day Pack", "Amlodipine 5 MG Oral Tablet", "oxaliplatin 5 MG/ML [Eloxatin]", "Penicillin V Potassium 250 MG", "Naproxen sodium 220 MG Oral Tablet" ]
3
D
15516859583237548630missing_medication_mcq
You are an assistant tasked with analyzing medical histories to provide a second opinion on possible future diagnoses. <PatientData> Demographics: {'race': 'White', 'gender': 'MALE', 'year of birth': 1961} Medication 1: {'Drug name': 'Penicillin V Potassium 250 MG', 'Start datetime': '1964-08-01', 'End datetime': '196...
next_diagnosis_mcq
[ "Perennial allergic rhinitis", "Hypertension", "Prediabetes", "Seasonal allergic rhinitis", "Recurrent urinary tract infection" ]
1
B
15516859583237548630next_diagnosis_mcq
You are an assistant tasked with analyzing medical histories to determine which medication is missing from the patient’s current regimen. <PatientData> Demographics: {'race': 'White', 'gender': 'MALE', 'year of birth': 1927} Visit 1: {'visit': 'Outpatient Visit', 'visit type': 'EHR encounter record', 'start datetime':...
missing_medication_mcq
[ "Nexplanon 68 MG Drug Implant", " Amoxicillin 250 MG / Clavulanate 125 MG [Augmentin]", "Etoposide 100 MG Injection", "Camila 28 Day Pack", "Amlodipine 5 MG Oral Tablet" ]
1
B
14120306456501137768missing_medication_mcq
You are an assistant tasked with analyzing medical histories to provide a second opinion on possible future diagnoses. <PatientData> Demographics: {'race': 'White', 'gender': 'MALE', 'year of birth': 1927} </PatientData> Based on the trajectory above, which diagnosis is the patient **most likely** to receive by 1932-0...
next_diagnosis_mcq
[ "Fracture of clavicle", "Lupus erythematosus", "Appendicitis", "Childhood asthma", "Tear of meniscus of knee" ]
2
C
14120306456501137768next_diagnosis_mcq
You are an assistant tasked with analyzing measurement histories to predict the patient's next laboratory or vital sign value. <PatientData> Demographics: {'race': 'White', 'gender': 'MALE', 'year of birth': 1927} Prior Diagnosis 1: {'condition': 'Appendicitis', 'condition status': 'Not Extracted', 'start date': '1932-...
next_measurement_value_mcq
[ "109.0", "87.0", "88.0", "76.0", "123.0" ]
3
D
14120306456501137768next_measurement_value_mcq
You are an assistant tasked with analyzing medical histories to determine which medication is missing from the patient’s current regimen. <PatientData> Demographics: {'race': 'White', 'gender': 'MALE', 'year of birth': 1950} Visit 1: {'visit': 'Outpatient Visit', 'visit type': 'EHR encounter record', 'start datetime':...
missing_medication_mcq
[ "Acetaminophen 160 MG Oral Tablet", "cetirizine hydrochloride 5 MG Oral Tablet", "Seasonique 91 Day Pack", "Captopril 25 MG Oral Tablet", "Amoxicillin 500 MG Oral Tablet" ]
4
E
17596904103438296739missing_medication_mcq
You are an assistant tasked with analyzing medical histories to provide a second opinion on possible future diagnoses. <PatientData> Demographics: {'race': 'White', 'gender': 'MALE', 'year of birth': 1950} Prior Diagnosis 1: {'condition': 'Polyp of colon', 'condition status': 'Not Extracted', 'start date': '2010-03-18...
next_diagnosis_mcq
[ "Sprain of ankle", "Chronic intractable migraine without aura", "Second degree burn", "Proteinuria due to type 2 diabetes mellitus (disorder)", "Atopic dermatitis" ]
2
C
17596904103438296739next_diagnosis_mcq
You are an assistant tasked with analyzing measurement histories to predict the patient's next laboratory or vital sign value. <PatientData> Demographics: {'race': 'White', 'gender': 'MALE', 'year of birth': 1950} Prior Diagnosis 1: {'condition': 'Polyp of colon', 'condition status': 'Not Extracted', 'start date': '201...
next_measurement_value_mcq
[ "102.41", "13.23", "8.84", "103.73", "69.99" ]
3
D
17596904103438296739next_measurement_value_mcq
You are an assistant tasked with analyzing medical histories to determine which medication is missing from the patient’s current regimen. <PatientData> Demographics: {'race': 'Asian', 'gender': 'FEMALE', 'year of birth': 1982} Visit 1: {'visit': 'Outpatient Visit', 'visit type': 'EHR encounter record', 'start datetime...
missing_medication_mcq
[ "Natazia 28 Day Pack", "Mestranol / Norethynodrel [Enovid]", "200 ACTUAT Albuterol 0.09 MG/ACTUAT Metered Dose Inhaler", "Loratadine 5 MG Chewable Tablet", "Fexofenadine hydrochloride 60 MG Oral Tablet" ]
2
C
714998225830555090missing_medication_mcq
You are an assistant tasked with analyzing medical histories to provide a second opinion on possible future diagnoses. <PatientData> Demographics: {'race': 'Asian', 'gender': 'FEMALE', 'year of birth': 1982} Prior Diagnosis 1: {'condition': 'Perennial allergic rhinitis', 'condition status': 'Not Extracted', 'start dat...
next_diagnosis_mcq
[ "Non-small cell lung cancer (disorder)", "Osteoarthritis of knee", "Bullet wound", "Alzheimer's disease (disorder)", "Prediabetes" ]
1
B
714998225830555090next_diagnosis_mcq
You are an assistant tasked with analyzing measurement histories to predict the patient's next laboratory or vital sign value. <PatientData> Demographics: {'race': 'Asian', 'gender': 'FEMALE', 'year of birth': 1982} Prior Diagnosis 1: {'condition': 'Perennial allergic rhinitis', 'condition status': 'Not Extracted', 'st...
next_measurement_value_mcq
[ "32.64", "32.54", "18.71", "21.65", "21.92" ]
0
A
714998225830555090next_measurement_value_mcq
End of preview. Expand in Data Studio

Medical Question Answering Dataset (QA Pairs MVD 10K)

Dataset Description

This dataset contains medical question-answering tasks based on Electronic Health Record (EHR) data. The dataset focuses on three main prediction tasks in clinical settings:

  1. Missing Medication MCQ: Predicting which medication should be added to a patient's current regimen
  2. Next Diagnosis MCQ: Predicting the most likely future diagnosis for a patient
  3. Next Measurement Value MCQ: Predicting future laboratory or vital sign values

Dataset Structure

Data Splits

Split Examples
Train 17,158
Validation 3,754
Test 3,683
Total 24,595

Data Fields

  • prompt: The full question prompt including patient medical history
  • prompt_type: Type of question (missing_medication_mcq, next_diagnosis_mcq, next_measurement_value_mcq)
  • choices: List of multiple choice options (typically 5 options A-E)
  • answer_idx: Index of the correct answer (0-based)
  • completion: The correct answer choice letter (A, B, C, D, or E)
  • id: Unique identifier for each example

Example

{
  "prompt": "You are an assistant tasked with analyzing medical histories to determine which medication is missing from the patient's current regimen....",
  "prompt_type": "missing_medication_mcq",
  "choices": ["Cisplatin 50 MG Injection", "Tacrine 10 MG Oral Capsule", ...],
  "answer_idx": 4,
  "completion": "E",
  "id": "2543984390693637980missing_medication_mcq"
}

Task Types

1. Missing Medication MCQ

Analyzes a patient's medical history including demographics, visits, measurements, procedures, and current medications to predict which medication should be added to their regimen.

2. Next Diagnosis MCQ

Predicts the most likely future diagnosis based on a patient's medical trajectory and history.

3. Next Measurement Value MCQ

Predicts future laboratory values or vital signs based on historical measurement trends.

Patient Data Structure

Each prompt includes structured patient data with:

  • Demographics: Race, gender, year of birth
  • Visit History: Outpatient visits, ER visits with dates
  • Measurements: Height, weight, BMI, blood pressure, lab values with timestamps
  • Procedures: Medical procedures performed with dates
  • Medications: Current and past medications with start/end dates
  • Diagnoses: Prior medical conditions with dates

Usage

from datasets import load_dataset

# Load the dataset
dataset = load_dataset("your_username/qa-pairs-mvd-10k")

# Access different splits
train_data = dataset['train']
val_data = dataset['validation'] 
test_data = dataset['test']

# Example usage
example = train_data[0]
print(f"Question type: {example['prompt_type']}")
print(f"Prompt: {example['prompt'][:200]}...")
print(f"Choices: {example['choices']}")
print(f"Correct answer: {example['completion']}")

Ethical Considerations

This dataset contains synthetic or anonymized medical data. Users should:

  • Ensure compliance with healthcare data regulations (HIPAA, etc.)
  • Use the dataset responsibly for research and educational purposes
  • Not use for actual medical diagnosis without proper validation
  • Consider potential biases in the synthetic data generation process

Citation

If you use this dataset in your research, please cite:

@dataset{qa_pairs_mvd_10k,
  title={Medical Question Answering Dataset (QA Pairs MVD 10K)},
  year={2024},
  url={https://huggingface.co/datasets/your_username/qa-pairs-mvd-10k}
}

License

This dataset is released under the MIT License.

Downloads last month
14