FHIR MedRecon
Patients/d374c41d-2c62-4456-f2d0-472e844e3fe7

Julian715 Beatty507

1958-02-13male29yr history150 total medication requests

d374c41d-2c62-4456-f2d0-472e844e3fe7

Active Medications

14

ground truth

Best F1

1.000

across all runs

Mean F1

0.594

all models & strategies

Parse Failures

4

of 20 runs

Ground Truth — Active Medications
14 active
aspirin 81 MG Oral Tablet24 HR metoprolol succinate 50 MG Extended Release Oral Tabletatorvastatin 10 MG Oral Tabletprasugrel 10 MG Oral TabletClopidogrel 75 MG Oral TabletSimvastatin 20 MG Oral Tablet24 HR metoprolol succinate 100 MG Extended Release Oral TabletNitroglycerin 0.4 MG/ACTUAT Mucosal Spraycarvedilol 25 MG Oral TabletFurosemide 40 MG Oral TabletIbuprofen 400 MG Oral Tablet [Ibu]losartan potassium 50 MG Oral Tabletlisinopril 20 MG Oral Tablet24 HR Metformin hydrochloride 500 MG Extended Release Oral Tablet
Results Grid

F1 / Precision / Recall / Inference time per model × strategy

ModelRaw JSONTableNarrativeTimeline
Phi-3.5-mini (3.8B)
Mistral 7B v0.3
BioMistral 7B
Llama 3.1 8B
Llama 3.3 70B

Click a cell to compare that result against ground truth below.

Medication Diff
Model: Llama 3.1 8B
Strategy: Strategy A — Raw FHIR JSON
F1 1.000P 1.000R 1.00011.3s

Ground Truth

14 active
aspirin 81 MG Oral TabletMatched
24 HR metoprolol succinate 50 MG Extended Release Oral TabletMatched
atorvastatin 10 MG Oral TabletMatched
prasugrel 10 MG Oral TabletMatched
Clopidogrel 75 MG Oral TabletMatched
Simvastatin 20 MG Oral TabletMatched
24 HR metoprolol succinate 100 MG Extended Release Oral TabletMatched
Nitroglycerin 0.4 MG/ACTUAT Mucosal SprayMatched
carvedilol 25 MG Oral TabletMatched
Furosemide 40 MG Oral TabletMatched
Ibuprofen 400 MG Oral Tablet [Ibu]Matched
losartan potassium 50 MG Oral TabletMatched
lisinopril 20 MG Oral TabletMatched
24 HR Metformin hydrochloride 500 MG Extended Release Oral TabletMatched

Model Output

14 predicted
24 HR Metformin hydrochloride 500 MG Extended Release Oral TabletCorrect
24 HR metoprolol succinate 100 MG Extended Release Oral TabletCorrect
24 HR metoprolol succinate 50 MG Extended Release Oral TabletCorrect
Clopidogrel 75 MG Oral TabletCorrect
Furosemide 40 MG Oral TabletCorrect
Ibuprofen 400 MG Oral Tablet [Ibu]Correct
Nitroglycerin 0.4 MG/ACTUAT Mucosal SprayCorrect
Simvastatin 20 MG Oral TabletCorrect
aspirin 81 MG Oral TabletCorrect
atorvastatin 10 MG Oral TabletCorrect
carvedilol 25 MG Oral TabletCorrect
lisinopril 20 MG Oral TabletCorrect
losartan potassium 50 MG Oral TabletCorrect
prasugrel 10 MG Oral TabletCorrect
14 matched0 missed0 hallucinatedexact match
Inspect:
[
  "aspirin 81 MG Oral Tablet",
  "24 HR metoprolol succinate 50 MG Extended Release Oral Tablet",
  "atorvastatin 10 MG Oral Tablet",
  "prasugrel 10 MG Oral Tablet",
  "Clopidogrel 75 MG Oral Tablet",
  "Simvastatin 20 MG Oral Tablet",
  "24 HR metoprolol succinate 100 MG Extended Release Oral Tablet",
  "Nitroglycerin 0.4 MG/ACTUAT Mucosal Spray",
  "carvedilol 25 MG Oral Tablet",
  "Furosemide 40 MG Oral Tablet",
  "Ibuprofen 400 MG Oral Tablet [Ibu]",
  "losartan potassium 50 MG Oral Tablet",
  "lisinopril 20 MG Oral Tablet",
  "24 HR Metformin hydrochloride 500 MG Extended Release Oral Tablet"
]