adding emr code