Legacy EMR modernization cost