Foundation Models for Clinical Records at Health System Scale