what is an EMR calculation used for ?