text: Figure. Data Flow of Generating Emergency Department (ED) Handoff Summary 
  
  HPI 
  Extract recent HPI 
  EHR data 
  
  Regex 
  processing  Regex 
  processing 
  Transition of 
  care notes  Consult 
  notes 
  Course of treatment 
  
  Progress 
  notes  Procedure 
  notes 
  Salience selection 
  
  LLM 1 
  transformer 
  
  LLM 2 
  transformer 
  Remove duplicates 
  
  Regex 
  processing 
  
  Radiology 
  results 
  Labs 
  
  Get most salient medications and 
  laboratory tests, vitals, consults, and 
  images with pattern-matching rules 
  
  Regex 
  processing 