Building Smarter EHR Systems with AI-Ready Architecture