working emr create