PRE-PROCESS GENERATE VERIFY SELECT Data Sources: EHR + Notes Section Slicing Sliced Input Discharge Note Base LLMs Llama 3 / PRIMERA Hard Rules Gate NLI Verifier Evolutionary Optimizer Learns objective weights Fitness Scoring Safe BHC / DI Verified Output Medication Err Contradiction Score: 0.41 Score: 0.94