Dataset Viewer
Auto-converted to Parquet Duplicate
prompt
stringlengths
448
59.2k
prompt_type
stringclasses
3 values
choices
listlengths
5
5
answer_idx
int64
0
4
completion
stringclasses
5 values
id
stringlengths
33
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': 'White', 'gender': 'MALE', 'year of birth': 1957} Visit 1: {'visit': 'Outpatient Visit', 'visit type': 'EHR encounter record', 'start datetime':...
missing_medication_mcq
[ "Cisplatin 50 MG Injection", "Tacrine 10 MG Oral Capsule", "PACLitaxel 100 MG Injection", "Donepezil hydrochloride 23 MG [Aricept]", "Penicillin V Potassium 500 MG" ]
4
E
2543984390693637980missing_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': 1957} Prior Diagnosis 1: {'condition': 'Hypertension', 'condition status': 'Not Extracted', 'start date': '1976-06-13',...
next_diagnosis_mcq
[ "Chronic sinusitis (disorder)", "Laceration of hand", "Hypertension", "Protracted diarrhea", "Viral sinusitis (disorder)" ]
4
E
2543984390693637980next_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': 1957} Prior Diagnosis 1: {'condition': 'Hypertension', 'condition status': 'Not Extracted', 'start date': '1976-...
next_measurement_value_mcq
[ "60.0", "60.0", "60.0", "60.0", "60.0" ]
1
B
2543984390693637980next_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': None, 'gender': 'FEMALE', 'year of birth': 1961} Visit 1: {'visit': 'Outpatient Visit', 'visit type': 'EHR encounter record', 'start datetime': ...
missing_medication_mcq
[ "Donepezil hydrochloride 23 MG [Aricept]", "oxaliplatin 5 MG/ML [Eloxatin]", "Dextromethorphan Hydrobromide 1 MG/ML", "Implanon 68 MG Drug Implant", "Penicillin V Potassium 500 MG" ]
4
E
4446776882987986927missing_medication_mcq
You are an assistant tasked with analyzing medical histories to provide a second opinion on possible future diagnoses. <PatientData> Demographics: {'race': None, 'gender': 'FEMALE', 'year of birth': 1961} Prior Diagnosis 1: {'condition': 'Chronic sinusitis (disorder)', 'condition status': 'Not Extracted', 'start date'...
next_diagnosis_mcq
[ "Injury of medial collateral ligament of knee", "Fracture subluxation of wrist", "Acute bronchitis (disorder)", "Chronic obstructive bronchitis (disorder)", "Viral sinusitis (disorder)" ]
2
C
4446776882987986927next_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': None, 'gender': 'FEMALE', 'year of birth': 1961} Prior Diagnosis 1: {'condition': 'Chronic sinusitis (disorder)', 'condition status': 'Not Extracted', 'star...
next_measurement_value_mcq
[ "82.0", "79.0", "74.0", "84.0", "116.0" ]
0
A
4446776882987986927next_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': 1995} Visit 1: {'visit': 'Outpatient Visit', 'visit type': 'EHR encounter record', 'start datetime...
missing_medication_mcq
[ "Allopurinol 100 MG [Zyloprim]", "cetirizine hydrochloride 10 MG Oral Tablet", "Trinessa 28 Day Pack", "pregabalin 100 MG [Lyrica]", "Acetaminophen 160 MG" ]
4
E
10685538415795066762missing_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': 1995} Prior Diagnosis 1: {'condition': 'Viral sinusitis (disorder)', 'condition status': 'Not Extracted', 'start date...
next_diagnosis_mcq
[ "Fracture of rib", "Acute bronchitis (disorder)", "Proliferative diabetic retinopathy due to type II diabetes mellitus (disorder)", "Non-small cell lung cancer (disorder)", "History of amputation of foot (situation)" ]
1
B
10685538415795066762next_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': 1995} Prior Diagnosis 1: {'condition': 'Viral sinusitis (disorder)', 'condition status': 'Not Extracted', 'sta...
next_measurement_value_mcq
[ "100.0", "170.0", "132.0", "133.0", "120.0" ]
1
B
10685538415795066762next_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': None, 'gender': 'FEMALE', 'year of birth': 2011} Visit 1: {'visit': 'Outpatient Visit', 'visit type': 'EHR encounter record', 'start datetime': ...
missing_medication_mcq
[ "Hydrocortisone 10 MG/ML Topical Cream", "Donepezil hydrochloride 10 MG / Memantine hydrochloride 28 MG [Namzaric]", "1 ML Epinephrine 1 MG/ML Prefilled Syringe", "Atomoxetine 100 MG [Strattera]", "Acetaminophen 160 MG" ]
4
E
17326282356622381620missing_medication_mcq
You are an assistant tasked with analyzing medical histories to provide a second opinion on possible future diagnoses. <PatientData> Demographics: {'race': None, 'gender': 'FEMALE', 'year of birth': 2011} Prior Diagnosis 1: {'condition': 'Acute allergic reaction', 'condition status': 'Not Extracted', 'start date': '20...
next_diagnosis_mcq
[ "Acute bronchitis (disorder)", "Localized primary osteoarthritis of the hand", "Concussion with no loss of consciousness", "Fracture of rib", "Viral sinusitis (disorder)" ]
0
A
17326282356622381620next_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': None, 'gender': 'FEMALE', 'year of birth': 2011} Prior Diagnosis 1: {'condition': 'Acute allergic reaction', 'condition status': 'Not Extracted', 'start dat...
next_measurement_value_mcq
[ "121.0", "182.0", "123.0", "137.0", "132.0" ]
4
E
17326282356622381620next_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': 1973} Visit 1: {'visit': 'Outpatient Visit', 'visit type': 'EHR encounter record', 'start datetime':...
missing_medication_mcq
[ "Captopril 25 MG Oral Tablet", "canagliflozin 100 MG Oral Tablet", "Donepezil hydrochloride 23 MG [Aricept]", "Acetaminophen 160 MG", "Chlorpheniramine 2 MG Chewable Tablet" ]
3
D
5373072905628700207missing_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': 1973} Visit 1: {'visit': 'Outpatient Visit', 'visit type': 'EHR encounter record', 'start datetime': '2013-04-25', 'end...
next_diagnosis_mcq
[ "Perennial allergic rhinitis with seasonal variation", "Cystitis", "Pulmonary emphysema (disorder)", "Acute bronchitis (disorder)", "Whiplash injury to neck" ]
3
D
5373072905628700207next_diagnosis_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
11