Optimization of Ambulatory Documentation in the Electronic Health Record