Cost of replacing vs modernizing an EMR