emr tmc