Text this: A Structured Framework for Electronic Health Record Optimization