Judge rules in favor of Anne Arundel Medical Center cardiac surgery